SHARE
TWEET

Untitled

a guest Apr 24th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. var __isp_options = {
  3.     isp_serp_callback: function() {
  4.         $jquery_isp('.isp_grid_product').each(function(index) {  
  5.             var price = ISP_PRODUCTS[parseInt($(this).attr("product_id"))].p;
  6.             var priceCompare = ISP_PRODUCTS[parseInt($(this).attr("product_id"))].p_c;
  7.             if (priceCompare != "") {
  8.                 if (price < priceCompare) {
  9.                     $jquery_isp(this).find('.isp_product_price').attr('data-currency-usd', '');
  10.                     $jquery_isp(this).find('.isp_product_price').text('Add to Cart for Price');
  11.                 }
  12.             }
  13.         });
  14.     }
  15. }
  16. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top