${function() {
const variantData = data.variant || {"id":"70fd4151-6496-4b7b-9d0f-bc7957ec3eae","product_id":"8a94cc66-f7a8-4637-92ca-0aa97fdc9dc7","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-230827-A08-WS0001LKW2-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c39e64b4d7488f04c304ace5c10d7b3a.jpeg","path":"c39e64b4d7488f04c304ace5c10d7b3a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"26.99","price":"26.99","retail_price":"26.99","available":true,"url":"\/products\/maui-strong-casual-sweatshirt-6zbc?variant=70fd4151-6496-4b7b-9d0f-bc7957ec3eae","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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.