${function() {
const variantData = data.variant || {"id":"68369be7-164a-4966-a0df-864a1b27fe40","product_id":"d20a0299-6b07-4e16-aed9-d9c6aa19996a","title":"Khaki-30","weight_unit":"kg","inventory_quantity":500,"sku":" PM12-Khaki-30","barcode":"","position":1,"option1":"Khaki","option2":"30","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5759a9afa0b3a1c0d5c523908b85071a.jpeg","path":"5759a9afa0b3a1c0d5c523908b85071a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/mens-cotton-high-quality-solid-color-classic-business-casual-pants-trousers?variant=68369be7-164a-4966-a0df-864a1b27fe40","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"30"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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":"68369be7-164a-4966-a0df-864a1b27fe40","product_id":"d20a0299-6b07-4e16-aed9-d9c6aa19996a","title":"Khaki-30","weight_unit":"kg","inventory_quantity":500,"sku":" PM12-Khaki-30","barcode":"","position":1,"option1":"Khaki","option2":"30","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5759a9afa0b3a1c0d5c523908b85071a.jpeg","path":"5759a9afa0b3a1c0d5c523908b85071a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/mens-cotton-high-quality-solid-color-classic-business-casual-pants-trousers?variant=68369be7-164a-4966-a0df-864a1b27fe40","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"30"}],"off_ratio":0,"flashsale_info":[],"sales":6};
return `
`
}()}