${function() {
const variantData = data.variant || {"id":"744871cd-776a-435f-b623-618797bb3f59","product_id":"ef39e74a-8ebf-46e6-ae89-8e041bf3e6f2","title":"khaki-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66230508824-khaki-one size","barcode":"","position":1,"option1":"khaki","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b391fc6ed4116f8fa7e4ff1be78ad402.jpeg","path":"b391fc6ed4116f8fa7e4ff1be78ad402.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=744871cd-776a-435f-b623-618797bb3f59","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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.