${function() {
const variantData = data.variant || {"id":"1307306a-da52-42c6-919a-3f37c9334e09","product_id":"8a5f76e0-4b38-48a0-9a9e-9b1d3b081d40","title":"apricot-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662209192552-apricot-one size","barcode":"","position":2,"option1":"apricot","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/03cf1501cdeafe679d29014d4c918aa6.jpeg","path":"03cf1501cdeafe679d29014d4c918aa6.jpeg","width":750,"height":750,"alt":"Twist Knit Wide Leg Casual Straight Trousers","aspect_ratio":1},"wholesale_price":[{"price":39.25,"min_quantity":1}],"weight":"0.5","compare_at_price":"47.18","price":"39.25","retail_price":"47.18","available":true,"url":"\/products\/twist-knit-wide-leg-casual-straight-trousers-a87m?variant=1307306a-da52-42c6-919a-3f37c9334e09","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"one size"}],"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.