${function() {
const variantData = data.variant || {"id":"b52e2975-d215-41da-8f95-28d2991b45f5","product_id":"a97906a0-bbe1-4d14-ac49-a195e124969f","title":"MULTICOLOR-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ICJ102312C01-S","barcode":"","position":1,"option1":"MULTICOLOR","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1ab78285d19ced2320373665d5aba20.jpeg","path":"e1ab78285d19ced2320373665d5aba20.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\/funny-halloween-ghost-mushroom-black-cat-art-print-casual-t-shirt?variant=b52e2975-d215-41da-8f95-28d2991b45f5","available_quantity":999999999,"options":[{"name":"COLOR","value":"MULTICOLOR"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.