Select a retailer  

'),o.forEach(o=>{console.log(o),console.log("retailer_name",o.retailer_name),str=o.retailer_name.replace(/[^a-z0-9\s]/gi,"").replace(/[_\s]/g,"-");var e="Buy Now";o.button_name&&(e=o.button_name),$(".howtobuylis").append(`\n
\n
\n
\n
\n \n
\n
\n ${e}\n
\n
\n
\n
\n `)}))},error:function(o,e){console.log("currency error")}});var data1=fetch("/graphql",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:"Bearer "+token},body:JSON.stringify({query:`\n query productById{\n site {\n product(entityId: ${pid}) {\n id\n sku\n entityId\n name\n defaultImage {\n url(width: 320)\n }\n }\n }\n}\n\n`})}).then(o=>o.json()).then(o=>{var e=o.data.site.product.defaultImage.url,t=o.data.site.product.sku;$(".product-class-popup").children().hide(),$(".product-class-popup").html(`
`),$(".add-to-cart-btn-popup").attr("data-product-main",t),console.log("image",e),console.log("sku",t)});function getUrlParameter(o){var e,t,n=window.location.search.substring(1).split("&");for(t=0;t