${function() {
const variantData = data.variant || {"id":"344db305-5773-4df5-807a-5d7b97b9fd72","product_id":"700c2665-c018-41c9-8302-d20a2a5badf3","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin66220408929-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7e18a2e4f40132b04a3578e26fd047f6.jpeg","path":"7e18a2e4f40132b04a3578e26fd047f6.jpeg","width":800,"height":1000,"alt":"Simple Back Design Dress","aspect_ratio":0.8},"wholesale_price":[{"price":31.66,"min_quantity":1}],"weight":"0","compare_at_price":"36.81","price":"31.66","retail_price":"36.81","available":true,"url":"\/products\/simple-back-design-dress-gu5w?variant=344db305-5773-4df5-807a-5d7b97b9fd72","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.