${function() {
const variantData = data.variant || {"id":"4a39b85c-7916-40df-b60a-ea0e5766e478","product_id":"e084ef5d-c670-4924-a841-7b6eca895758","title":"coffee-L","weight_unit":"kg","inventory_quantity":0,"sku":"662209022040-coffee-L","barcode":"","position":1,"option1":"coffee","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/423cf7238bee45194820b89dc3411192.jpeg","path":"423cf7238bee45194820b89dc3411192.jpeg","width":693,"height":928,"alt":"V-neck drawstring trousers set","aspect_ratio":0.7467672413793104},"wholesale_price":[{"price":50.69,"min_quantity":1}],"weight":"0","compare_at_price":"61.82","price":"50.69","retail_price":"61.82","available":true,"url":"\/products\/v-neck-drawstring-trousers-set?variant=4a39b85c-7916-40df-b60a-ea0e5766e478","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"name":"size","value":"L"}],"off_ratio":18,"flashsale_info":[],"sales":0};
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.