${function() {
const variantData = data.variant || {"id":"df40a971-e50d-4742-94ef-139e56a3b8e5","product_id":"2aaa3509-d009-4c40-8532-79fdd2946e6f","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221024638-white-one size","barcode":"","position":3,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa5f9a7bc8e9106ac5685360a413f9cc.jpeg","path":"fa5f9a7bc8e9106ac5685360a413f9cc.jpeg","width":800,"height":800,"alt":"Two Wear Half Zip Large Lapel Soft Waxy Sweater","aspect_ratio":1},"wholesale_price":[{"price":52.36,"min_quantity":1}],"weight":"0.6","compare_at_price":"60.66","price":"52.36","retail_price":"60.66","available":true,"url":"\/products\/two-wear-half-zip-large-lapel-soft-waxy-sweater?variant=df40a971-e50d-4742-94ef-139e56a3b8e5","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"one size"}],"off_ratio":14,"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.