${function() {
const variantData = data.variant || {"id":"94872f56-77d7-4270-86f5-062b54c79717","product_id":"0fd23b40-aa0c-4186-9abf-1f538cd8c347","title":"Green-75 ft","weight_unit":"kg","inventory_quantity":100,"sku":"75 ft-37048519","barcode":"","position":1,"option1":"Green","option2":"75 ft","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/747481c0928e7f7c0b17122e1e4679b5.jpeg","path":"747481c0928e7f7c0b17122e1e4679b5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41,"min_quantity":1}],"weight":"3.5","compare_at_price":"51","price":"41","retail_price":"51","available":true,"url":"\/products\/garden-hose-flexible-water-hose?variant=94872f56-77d7-4270-86f5-062b54c79717","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"Green"},{"name":"Size","value":"75 ft"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"94872f56-77d7-4270-86f5-062b54c79717","product_id":"0fd23b40-aa0c-4186-9abf-1f538cd8c347","title":"Green-75 ft","weight_unit":"kg","inventory_quantity":100,"sku":"75 ft-37048519","barcode":"","position":1,"option1":"Green","option2":"75 ft","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/747481c0928e7f7c0b17122e1e4679b5.jpeg","path":"747481c0928e7f7c0b17122e1e4679b5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41,"min_quantity":1}],"weight":"3.5","compare_at_price":"51","price":"41","retail_price":"51","available":true,"url":"\/products\/garden-hose-flexible-water-hose?variant=94872f56-77d7-4270-86f5-062b54c79717","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"Green"},{"name":"Size","value":"75 ft"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
`
}()}