${function() {
const variantData = data.variant || {"id":"04f6480e-91ef-4528-9c9c-3f9f0104ef07","product_id":"5706431e-487e-44ab-ac17-43e36439f456","title":"Purple-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230608-E02-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f49111a5b895c57d7bbff81d031db6b2.jpg","path":"f49111a5b895c57d7bbff81d031db6b2.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/temperament-commuter-fashion-womens-hot-v-neck-lace-lace-five-part-sleeve-print-elegant-wind-high-waist-dress?variant=04f6480e-91ef-4528-9c9c-3f9f0104ef07","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":0,"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.