${function() {
const variantData = data.variant || {"id":"20daf729-ae36-4174-9cd9-a2d385fe351e","product_id":"92995876-25dc-4412-b57b-96ba22ad6cf9","title":"White-S","weight_unit":"g","inventory_quantity":653,"sku":"101315360001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2b1e7f00afa7cf3be0ac8604a47d1f9.jpeg","path":"e2b1e7f00afa7cf3be0ac8604a47d1f9.jpeg","width":800,"height":800,"alt":"Skeleton Letters Printed Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"25.48","price":"16.98","retail_price":"25.48","available":true,"url":"\/products\/skeleton-letters-printed-mens-t-shirt?variant=20daf729-ae36-4174-9cd9-a2d385fe351e","available_quantity":653,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":15};
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":"20daf729-ae36-4174-9cd9-a2d385fe351e","product_id":"92995876-25dc-4412-b57b-96ba22ad6cf9","title":"White-S","weight_unit":"g","inventory_quantity":653,"sku":"101315360001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2b1e7f00afa7cf3be0ac8604a47d1f9.jpeg","path":"e2b1e7f00afa7cf3be0ac8604a47d1f9.jpeg","width":800,"height":800,"alt":"Skeleton Letters Printed Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"25.48","price":"16.98","retail_price":"25.48","available":true,"url":"\/products\/skeleton-letters-printed-mens-t-shirt?variant=20daf729-ae36-4174-9cd9-a2d385fe351e","available_quantity":653,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":15};
return `
`
}()}