${function() {
const variantData = data.variant || {"id":"1b5dbe3a-ffc4-4abd-8005-2e2eb68d96ce","product_id":"f5ba18ab-7ed3-4b00-b47a-8b7d0f8bbe8c","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-230921-24-WT0002XDVM-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd0e904f2dccbb5db147279778e6a945.jpeg","path":"fd0e904f2dccbb5db147279778e6a945.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/world-famous-painting-girl-cat-with-pearl-earring-creative-design-t-shirt?variant=1b5dbe3a-ffc4-4abd-8005-2e2eb68d96ce","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.