${function() {
const variantData = data.variant || {"id":"ad1e9bd3-71d9-4215-9524-e2646c128a6e","product_id":"61a115e5-7e9e-4ed8-b2e1-1c0782b39b21","title":"White-S","weight_unit":"g","inventory_quantity":987,"sku":"102032070001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d14b0e066ad84972139f641ff1926f75.jpeg","path":"d14b0e066ad84972139f641ff1926f75.jpeg","width":2000,"height":2000,"alt":"Bundled Game Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/bundled-game-printed-mens-t-shirt-o34a?variant=ad1e9bd3-71d9-4215-9524-e2646c128a6e","available_quantity":987,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":138};
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":"ad1e9bd3-71d9-4215-9524-e2646c128a6e","product_id":"61a115e5-7e9e-4ed8-b2e1-1c0782b39b21","title":"White-S","weight_unit":"g","inventory_quantity":987,"sku":"102032070001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d14b0e066ad84972139f641ff1926f75.jpeg","path":"d14b0e066ad84972139f641ff1926f75.jpeg","width":2000,"height":2000,"alt":"Bundled Game Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/bundled-game-printed-mens-t-shirt-o34a?variant=ad1e9bd3-71d9-4215-9524-e2646c128a6e","available_quantity":987,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":138};
return `
`
}()}