${function() {
const variantData = data.variant || {"id":"0a5cf0ca-2c74-4dd1-bbc0-55769e7b9670","product_id":"5dfb636b-a2a3-4ae0-b5e6-ee604e34a441","title":"red-S","weight_unit":"kg","inventory_quantity":0,"sku":"662206201710-red-S","barcode":"","position":17,"option1":"red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f440be4804e5e03361e2e10e64179da.jpeg","path":"4f440be4804e5e03361e2e10e64179da.jpeg","width":750,"height":750,"alt":"Wide-Leg Cotton and Linen Pocket Jumpsuit","aspect_ratio":1},"wholesale_price":[{"price":34.65,"min_quantity":1}],"weight":"0","compare_at_price":"60.54","price":"34.65","retail_price":"60.54","available":true,"url":"\/products\/wide-leg-cotton-and-linen-pocket-jumpsuit?variant=0a5cf0ca-2c74-4dd1-bbc0-55769e7b9670","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"S"}],"off_ratio":43,"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.