${function() {
const variantData = data.variant || {"id":"3dfd7041-669c-4edd-b813-3204966c1f8a","product_id":"6e02c01f-e703-4a78-a8f3-c933de168f2a","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66210915394-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f9e5723d81dbf7c9d18501f27094c7b3.jpeg","path":"f9e5723d81dbf7c9d18501f27094c7b3.jpeg","width":800,"height":800,"alt":"Pure Color Casual Sweater","aspect_ratio":1},"wholesale_price":[{"price":35.45,"min_quantity":1}],"weight":"0","compare_at_price":"41.17","price":"35.45","retail_price":"41.17","available":true,"url":"\/products\/pure-color-casual-sweater?variant=3dfd7041-669c-4edd-b813-3204966c1f8a","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"2XL"}],"off_ratio":14,"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.