${function() {
const variantData = data.variant || {"id":"94d9c257-e5f1-4f9c-a58d-c2c60a58f2e1","product_id":"ed9c376d-3572-4d9c-a9f8-e3c87e9bf540","title":"hemp-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428468-hemp-S","barcode":"","position":6,"option1":"hemp","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/514ddd98c609ee49354d153ab645ebd3.jpeg","path":"514ddd98c609ee49354d153ab645ebd3.jpeg","width":800,"height":1000,"alt":"Summer cotton linen thin loose dress","aspect_ratio":0.8},"wholesale_price":[{"price":41.59,"min_quantity":1}],"weight":"0.4","compare_at_price":"50","price":"41.59","retail_price":"50","available":true,"url":"\/products\/summer-cotton-linen-thin-loose-dress-n07j?variant=94d9c257-e5f1-4f9c-a58d-c2c60a58f2e1","available_quantity":999999999,"options":[{"name":"color","value":"hemp"},{"name":"size","value":"S"}],"off_ratio":17,"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.