${function() {
const variantData = data.variant || {"id":"86e6b2a7-077f-460d-a9ac-bffcd2e05134","product_id":"bd558ec3-e01f-454d-9d8e-042c75ecd121","title":"pink-M","weight_unit":"kg","inventory_quantity":1000,"sku":"X099A-240510-02-AC5WZG4VJB-pink-M","barcode":"","position":11,"option1":"pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29b2f29eadd62b7b5856d362ae1b8a2e.jpeg","path":"29b2f29eadd62b7b5856d362ae1b8a2e.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"300","compare_at_price":"26.99","price":"26.99","retail_price":"26.99","available":true,"url":"\/products\/mens-ethnic-style-loose-flared-long-sleeve-t-shirt?variant=86e6b2a7-077f-460d-a9ac-bffcd2e05134","available_quantity":999999999,"options":[{"name":"Color","value":"pink"},{"name":"Size","value":"M"}],"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.