${function() {
const variantData = data.variant || {"id":"bf37ae02-7113-450d-ada3-3cc88640dd7d","product_id":"ef39e74a-8ebf-46e6-ae89-8e041bf3e6f2","title":"navy-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66230508824-navy-one size","barcode":"","position":2,"option1":"navy","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9daf04dca2b860e92e1696bb8f09cc41.jpeg","path":"9daf04dca2b860e92e1696bb8f09cc41.jpeg","width":800,"height":800,"alt":"Cotton Linen Vertical Stripe Casual Skirt","aspect_ratio":1},"wholesale_price":[{"price":46.75,"min_quantity":1}],"weight":"0.3","compare_at_price":"54","price":"46.75","retail_price":"54","available":true,"url":"\/products\/cotton-linen-vertical-stripe-casual-skirt?variant=bf37ae02-7113-450d-ada3-3cc88640dd7d","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"one size"}],"off_ratio":13,"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.