${function() {
const variantData = data.variant || {"id":"b443cce4-b304-4731-a163-faca63449db4","product_id":"2b112c55-236c-4584-99b5-c537c21d79cc","title":"brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209212655-brown-S","barcode":"","position":1,"option1":"brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1bfa4144bef83643bd2f8e7e9a596455.jpeg","path":"1bfa4144bef83643bd2f8e7e9a596455.jpeg","width":750,"height":750,"alt":"women's casual strappy trousers","aspect_ratio":1},"wholesale_price":[{"price":32.35,"min_quantity":1}],"weight":"0.25","compare_at_price":"64.7","price":"32.35","retail_price":"64.7","available":true,"url":"\/products\/womens-casual-strappy-trousers?variant=b443cce4-b304-4731-a163-faca63449db4","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"S"}],"off_ratio":50,"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.