${function() {
const variantData = data.variant || {"id":"9831bdeb-db0e-40d2-9a77-161deb4ae89c","product_id":"ba88b783-8bad-45c7-a11d-0b54067dec74","title":"White-5XL","weight_unit":"g","inventory_quantity":1000,"sku":"102147210016","barcode":"","position":9,"option1":"White","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62603eefaae330c6e1a981dd9d655296.jpeg","path":"62603eefaae330c6e1a981dd9d655296.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.98","retail_price":"0","available":true,"url":"\/products\/win-the-war-that-you-tell-nobody-about-printed-mens-t-shirt?variant=9831bdeb-db0e-40d2-9a77-161deb4ae89c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"5XL"}],"off_ratio":0,"flashsale_info":[],"sales":4};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
people are viewing this right now
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"9831bdeb-db0e-40d2-9a77-161deb4ae89c","product_id":"ba88b783-8bad-45c7-a11d-0b54067dec74","title":"White-5XL","weight_unit":"g","inventory_quantity":1000,"sku":"102147210016","barcode":"","position":9,"option1":"White","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62603eefaae330c6e1a981dd9d655296.jpeg","path":"62603eefaae330c6e1a981dd9d655296.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.98","retail_price":"0","available":true,"url":"\/products\/win-the-war-that-you-tell-nobody-about-printed-mens-t-shirt?variant=9831bdeb-db0e-40d2-9a77-161deb4ae89c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"5XL"}],"off_ratio":0,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}