${function() {
const variantData = data.variant || {"id":"242da9a1-2a04-41e3-b2c1-81547b1e7ab6","product_id":"aad6dfca-f447-4697-976d-122e5ee85b78","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101662170001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fb3699e36a6f15b9075922e470df18a.jpeg","path":"1fb3699e36a6f15b9075922e470df18a.jpeg","width":800,"height":800,"alt":"Under The Mask Print Casual T-shirt - ","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\/under-the-mask-print-casual-t-shirt?variant=242da9a1-2a04-41e3-b2c1-81547b1e7ab6","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":13};
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":"242da9a1-2a04-41e3-b2c1-81547b1e7ab6","product_id":"aad6dfca-f447-4697-976d-122e5ee85b78","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101662170001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1fb3699e36a6f15b9075922e470df18a.jpeg","path":"1fb3699e36a6f15b9075922e470df18a.jpeg","width":800,"height":800,"alt":"Under The Mask Print Casual T-shirt - ","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\/under-the-mask-print-casual-t-shirt?variant=242da9a1-2a04-41e3-b2c1-81547b1e7ab6","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":13};
return `
`
}()}