${function() {
const variantData = data.variant || {"id":"59379192-bc4e-4772-9c90-d4b3ca25d1e2","product_id":"8693abc5-6a6f-4657-a652-c6166cfbe981","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221028935-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc5d177aede5a4bba099a39232f84856.jpeg","path":"fc5d177aede5a4bba099a39232f84856.jpeg","width":1642,"height":1642,"alt":"Santa Claus Casual Loose Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.65","compare_at_price":"69.34","price":"25.99","retail_price":"69.34","available":true,"url":"\/products\/santa-claus-casual-loose-sweatshirt?variant=59379192-bc4e-4772-9c90-d4b3ca25d1e2","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":63,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.