${function() {
const variantData = data.variant || {"id":"e4e2280e-2e83-4bfa-9568-cc7310a9265c","product_id":"20932e99-41f7-48f2-96ef-75e1cff0cb8a","title":"Black-S","weight_unit":"g","inventory_quantity":99996,"sku":"101680540001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b28ca2853b54f8fa0e1fb50dfd8dc0ad.jpeg","path":"b28ca2853b54f8fa0e1fb50dfd8dc0ad.jpeg","width":800,"height":800,"alt":"Sometimes You Win Sometimes You Learn Printed 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\/sometimes-you-win-sometimes-you-learn-printed-t-shirt?variant=e4e2280e-2e83-4bfa-9568-cc7310a9265c","available_quantity":99996,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":36};
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":"e4e2280e-2e83-4bfa-9568-cc7310a9265c","product_id":"20932e99-41f7-48f2-96ef-75e1cff0cb8a","title":"Black-S","weight_unit":"g","inventory_quantity":99996,"sku":"101680540001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b28ca2853b54f8fa0e1fb50dfd8dc0ad.jpeg","path":"b28ca2853b54f8fa0e1fb50dfd8dc0ad.jpeg","width":800,"height":800,"alt":"Sometimes You Win Sometimes You Learn Printed 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\/sometimes-you-win-sometimes-you-learn-printed-t-shirt?variant=e4e2280e-2e83-4bfa-9568-cc7310a9265c","available_quantity":99996,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":36};
return `
`
}()}