${function() {
const variantData = data.variant || {"id":"ff5b4f4f-e3aa-4b24-b4cf-30e5d802a338","product_id":"bf4a025f-da45-4df7-83fa-e14b0977fbed","title":"Apricot-M","weight_unit":"kg","inventory_quantity":994,"sku":"13325934-Apricot-M","barcode":"","position":1,"option1":"Apricot","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b078dfb2f6514d945ed8622958fd79a9.png","path":"b078dfb2f6514d945ed8622958fd79a9.png","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.81,"min_quantity":1}],"weight":"0","compare_at_price":"25.81","price":"25.81","retail_price":"25.81","available":true,"url":"\/products\/casual-style-art-series-geometric-color-block-element-lapel-short-sleeved-printed-shirt-top-13325934?variant=ff5b4f4f-e3aa-4b24-b4cf-30e5d802a338","available_quantity":994,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":9};
const saveType = "amount";
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.