${function() {
const variantData = data.variant || {"id":"81e5ff30-3378-479b-9aab-d9464632f849","product_id":"0680302a-dd03-4dff-a71d-0340bdf77ebe","title":"navy-S","weight_unit":"kg","inventory_quantity":0,"sku":"662303241679-navy-S","barcode":"","position":7,"option1":"navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcca19d55e313a59f4024157b82e9402.jpeg","path":"fcca19d55e313a59f4024157b82e9402.jpeg","width":800,"height":800,"alt":"New style thin cotton and linen wide-leg trousers","aspect_ratio":1},"wholesale_price":[{"price":37.45,"min_quantity":1}],"weight":"0.3","compare_at_price":"48","price":"37.45","retail_price":"48","available":true,"url":"\/products\/new-style-thin-cotton-and-linen-wide-leg-trousers?variant=81e5ff30-3378-479b-9aab-d9464632f849","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.