${function() {
const variantData = data.variant || {"id":"da7b7418-e383-4a71-b076-19582fb8c5f6","product_id":"d733d60e-06ab-45a0-a688-f2e2fb35f26a","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-230821-09-WS0001937L-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f50c1403bb2bdebae61873c0b867616.jpeg","path":"6f50c1403bb2bdebae61873c0b867616.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/maui-strong-casual-sweatshirt-07gy?variant=da7b7418-e383-4a71-b076-19582fb8c5f6","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.