Great Seo site for sale
-
Regular price
-
$ 50.00
-
Sale price
-
$ 50.00
-
Regular price
-
$ 100.00
Sale
Sold Out
`;
for (let promotion of response.data.promotions) {
var label_class = "sf_promo-label-clickable",
svg_icon = "";
if(promotion.prerequisite_subtotal_range != null || promotion.prerequisite_to_entitlement_quantity_ratio == null) {
label_class = "sf_promo-label-unclickable";
}else{
total_addon_discount += 1
svg_icon = `
`;
}
promotion_tag_html +=
`
${promotion.title.replace('&', '&').replace('>','>').replace('${svg_icon}
`;
}
}
if(total_addon_discount > 1 && !load_more){
promo_section.classList.add('sf_promo-container-height-opacity','sf_promo-container-white-gradient')
view_more_btn.classList.remove("hide");
}else{
promo_section.classList.remove('sf_promo-container-height-opacity','sf_promo-container-white-gradient')
view_more_btn.classList.add("hide");
}
if(response.data.page_count > param.page) {
view_more_tag_btn.classList.remove("hide");
promo_btn.classList.remove("hide");
}else{
view_more_tag_btn.classList.add("hide");
promo_btn.classList.add("hide");
}
document.getElementById("sf_promo-tag-label").innerHTML = promotion_tag_label_html;
document.getElementById("sf_promo-tag").innerHTML += promotion_tag_html;
view_more_tag_btn.classList.remove("sf_promo-is-loading");
promo_btn.classList.remove("btn--loading");
promoVariantDetailInitial()
page_value = isNaN(page_value) ? 0 : page_value;
page_value++;
param.page = page_value;
},
error: function(xhr){
}
});
}
var is_show_product_page = "1"
if(is_show_product_page){
getPromotionList();
}