${function() {
const variantData = data.variant || {"id":"91b6c0a7-31d0-4490-aee1-82b24768298b","product_id":"3742b3ad-1a33-4721-bf31-e764fc18ce48","title":"navy-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428445-navy-S","barcode":"","position":11,"option1":"navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9dacf17d52c5e6b2322d713347e80378.jpeg","path":"9dacf17d52c5e6b2322d713347e80378.jpeg","width":800,"height":800,"alt":"Mori tie cropped harem pants","aspect_ratio":1},"wholesale_price":[{"price":35.69,"min_quantity":1}],"weight":"0.3","compare_at_price":"46","price":"35.69","retail_price":"46","available":true,"url":"\/products\/mori-tie-cropped-harem-pants?variant=91b6c0a7-31d0-4490-aee1-82b24768298b","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"S"}],"off_ratio":22,"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.