${function() {
const variantData = data.variant || {"id":"e09d10de-5806-4ccb-8ecb-06a78fc6b439","product_id":"0e10e2dd-3c56-410b-ab83-05b27388da3f","title":"Red-black-M","weight_unit":"kg","inventory_quantity":997,"sku":"13078719-Red-black-M","barcode":"","position":1,"option1":"Red-black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6db50ff5f53fbf5d26e07f24cc26fb68.jpeg","path":"6db50ff5f53fbf5d26e07f24cc26fb68.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"26.98","price":"26.98","retail_price":"26.98","available":true,"url":"\/products\/vacation-leisure-geometric-color-matching-pattern-hawaiian-style-printed-shirt-top-13078719-variant-55117?variant=e09d10de-5806-4ccb-8ecb-06a78fc6b439","available_quantity":997,"options":[{"name":"Color","value":"Red-black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.