Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let _isp_interval = null;
- var __isp_options = {
- isp_serp_callback: function() {
- $jquery_isp('.isp_product_image_wrapper a.isp_product_image_href').each(function() {
- let product_handle = $jquery_isp(this).attr("href").split("/products/")[1];
- $jquery_isp(this).attr("data-product",product_handle);
- $jquery_isp(this).addClass("zensl-collection-manual");
- });
- window.addEventListener("load",function () {
- waitForZENITHIFY();
- });
- }
- };
- function waitForZENITHIFY() {
- if(_isp_interval === null){
- _isp_interval = setInterval(function () {
- if (typeof ZENITHIFY !== 'undefined') {
- ZENITHIFY.smartLabels.jQuery = ZENITHIFY.jQuery;
- ZENITHIFY.smartLabels.displayLabelOnCollection();
- clearInterval(_isp_interval);
- }
- },1000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement