${function() {
const variantData = data.variant || {"id":"2893861c-b988-4eeb-8f3d-89c0eec17eea","product_id":"f0727c59-d534-4361-a46a-e2bc857ab558","title":"White-S","weight_unit":"g","inventory_quantity":825,"sku":"101073280001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce447a001a33c4dbdf8deddc6121f6d8.jpeg","path":"ce447a001a33c4dbdf8deddc6121f6d8.jpeg","width":800,"height":800,"alt":"Leisurely Pumpkin Printed Casual Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"16.98","retail_price":"21.98","available":true,"url":"\/products\/leisurely-pumpkin-printed-casual-mens-t-shirt?variant=2893861c-b988-4eeb-8f3d-89c0eec17eea","available_quantity":825,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":4};
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":"2893861c-b988-4eeb-8f3d-89c0eec17eea","product_id":"f0727c59-d534-4361-a46a-e2bc857ab558","title":"White-S","weight_unit":"g","inventory_quantity":825,"sku":"101073280001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce447a001a33c4dbdf8deddc6121f6d8.jpeg","path":"ce447a001a33c4dbdf8deddc6121f6d8.jpeg","width":800,"height":800,"alt":"Leisurely Pumpkin Printed Casual Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"16.98","retail_price":"21.98","available":true,"url":"\/products\/leisurely-pumpkin-printed-casual-mens-t-shirt?variant=2893861c-b988-4eeb-8f3d-89c0eec17eea","available_quantity":825,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":4};
return `
`
}()}