${function() {
const variantData = data.variant || {"id":"f33c4440-6566-4f47-8bbd-f245a87b4ba1","product_id":"a28a74df-de48-4e8d-be2c-e48fa12008cd","title":"apricot-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428446-apricot-S","barcode":"","position":11,"option1":"apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be12e15371f863cd13d547b1386e2cee.jpeg","path":"be12e15371f863cd13d547b1386e2cee.jpeg","width":800,"height":800,"alt":"Artistic pleated cotton and linen twill skirt","aspect_ratio":1},"wholesale_price":[{"price":45.72,"min_quantity":1}],"weight":"0.3","compare_at_price":"50","price":"45.72","retail_price":"50","available":true,"url":"\/products\/artistic-pleated-cotton-and-linen-twill-skirt?variant=f33c4440-6566-4f47-8bbd-f245a87b4ba1","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"szie","value":"S"}],"off_ratio":9,"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.