${function() {
const variantData = data.variant || {"id":"f2c2e71a-5357-4ccd-bfda-d6dfb2c6d01f","product_id":"bb5fab81-291a-4a1e-bef5-19a4954f0976","title":"Black-S","weight_unit":"g","inventory_quantity":99977,"sku":"101646530001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2de065221546762f2d7ec3c23ffaf50.jpeg","path":"e2de065221546762f2d7ec3c23ffaf50.jpeg","width":800,"height":800,"alt":"Skull Printed Men's Black T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"250","compare_at_price":"30.98","price":"17.98","retail_price":"30.98","available":true,"url":"\/products\/skull-printed-mens-black-t-shirt?variant=f2c2e71a-5357-4ccd-bfda-d6dfb2c6d01f","available_quantity":99977,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":417};
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":"f2c2e71a-5357-4ccd-bfda-d6dfb2c6d01f","product_id":"bb5fab81-291a-4a1e-bef5-19a4954f0976","title":"Black-S","weight_unit":"g","inventory_quantity":99977,"sku":"101646530001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2de065221546762f2d7ec3c23ffaf50.jpeg","path":"e2de065221546762f2d7ec3c23ffaf50.jpeg","width":800,"height":800,"alt":"Skull Printed Men's Black T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"250","compare_at_price":"30.98","price":"17.98","retail_price":"30.98","available":true,"url":"\/products\/skull-printed-mens-black-t-shirt?variant=f2c2e71a-5357-4ccd-bfda-d6dfb2c6d01f","available_quantity":99977,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":417};
return `
`
}()}