${function() {
const variantData = data.variant || {"id":"387e9829-19b7-43e1-822e-04d7c1b5cb84","product_id":"b256e7da-6703-4917-b8ac-22a9646159fe","title":"White-S","weight_unit":"g","inventory_quantity":99999,"sku":"101658160001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9bb5fbcb5db19356c9616136e7d056bc.jpeg","path":"9bb5fbcb5db19356c9616136e7d056bc.jpeg","width":800,"height":800,"alt":"Greed Kills Printed Casual Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"228","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/greed-kills-printed-casual-mens-t-shirt?variant=387e9829-19b7-43e1-822e-04d7c1b5cb84","available_quantity":99999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
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":"387e9829-19b7-43e1-822e-04d7c1b5cb84","product_id":"b256e7da-6703-4917-b8ac-22a9646159fe","title":"White-S","weight_unit":"g","inventory_quantity":99999,"sku":"101658160001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9bb5fbcb5db19356c9616136e7d056bc.jpeg","path":"9bb5fbcb5db19356c9616136e7d056bc.jpeg","width":800,"height":800,"alt":"Greed Kills Printed Casual Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"228","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/greed-kills-printed-casual-mens-t-shirt?variant=387e9829-19b7-43e1-822e-04d7c1b5cb84","available_quantity":99999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
return `
`
}()}