${function() {
const variantData = data.variant || {"id":"507d5c9e-4b3e-4b2e-8b87-da09f7f52f2b","product_id":"da2729e5-0d63-455b-9cfd-65dd0a1374ee","title":"gray-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1524578831917637634","barcode":"","position":1,"option1":"gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03d9e406e18f05642ecfebc6c4f057e5.png","path":"03d9e406e18f05642ecfebc6c4f057e5.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.61,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.61","retail_price":"0","available":true,"url":"\/products\/wide-neck-pocket-beach-t-shirt?variant=507d5c9e-4b3e-4b2e-8b87-da09f7f52f2b","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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":"507d5c9e-4b3e-4b2e-8b87-da09f7f52f2b","product_id":"da2729e5-0d63-455b-9cfd-65dd0a1374ee","title":"gray-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1524578831917637634","barcode":"","position":1,"option1":"gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03d9e406e18f05642ecfebc6c4f057e5.png","path":"03d9e406e18f05642ecfebc6c4f057e5.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.61,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.61","retail_price":"0","available":true,"url":"\/products\/wide-neck-pocket-beach-t-shirt?variant=507d5c9e-4b3e-4b2e-8b87-da09f7f52f2b","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}