${function() {
const variantData = data.variant || {"id":"b921a533-59cf-4213-b6c7-5b69645a2725","product_id":"3658f147-3f0d-4b4a-b70c-a848666711aa","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231213-12-DW01105G42-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d896e0b7e9685803f8e4181d92abb1e4.jpeg","path":"d896e0b7e9685803f8e4181d92abb1e4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/womens-st-patricks-day-gift-shamrock-four-leaf-clover-print-design-maxi-dress-n8j5?variant=b921a533-59cf-4213-b6c7-5b69645a2725","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"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.