Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var __isp_options = {
- isp_serp_callback: function() {
- $jquery_isp('.isp_grid_product').each(function(index) {
- var price = ISP_PRODUCTS[parseInt($(this).attr("product_id"))].p;
- var priceCompare = ISP_PRODUCTS[parseInt($(this).attr("product_id"))].p_c;
- if (priceCompare != "") {
- if (price < priceCompare) {
- $jquery_isp(this).find('.isp_product_price').attr('data-currency-usd', '');
- $jquery_isp(this).find('.isp_product_price').text('Add to Cart for Price');
- }
- }
- });
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement