${function() {
const variantData = data.variant || {"id":"ee5eab31-fff0-4be9-b947-905eeab4c188","product_id":"11ce597f-dc50-4d41-b1a4-2944171cc7d2","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66662209022043-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f5c862f7e7849ccc49ca2230cdb2e636.jpeg","path":"f5c862f7e7849ccc49ca2230cdb2e636.jpeg","width":800,"height":1000,"alt":"High-neck fashion casual two-piece set","aspect_ratio":0.8},"wholesale_price":[{"price":35.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"42.11","price":"35.79","retail_price":"42.11","available":true,"url":"\/products\/high-neck-fashion-casual-two-piece-set?variant=ee5eab31-fff0-4be9-b947-905eeab4c188","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"2XL"}],"off_ratio":15,"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.