${function() {
const variantData = data.variant || {"id":"60094fdc-55bc-4102-b05e-5a20155c770c","product_id":"d36c3779-6023-40ca-a44f-6b8404538b9c","title":"S-grey","weight_unit":"kg","inventory_quantity":1000,"sku":"240410-36-S-grey","barcode":"","position":17,"option1":"S","option2":"grey","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/504441ca1932cbea1d6bc60bd489c820.jpeg","path":"504441ca1932cbea1d6bc60bd489c820.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/hug-monster-pride-rainbow-print-t-shirt5f06396f-f583-44e9-bf5a-351e84bb4d2f?variant=60094fdc-55bc-4102-b05e-5a20155c770c","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"grey"}],"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.