${function() {
const variantData = data.variant || {"id":"01278ec3-dd80-42d2-9fbf-292c91c3c202","product_id":"cf565295-76c5-4442-b083-97970f44f2c4","title":"camel-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109101075-camel-L","barcode":"","position":5,"option1":"camel","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ce7032d5a7fb88d26baa38b70be31a4.jpeg","path":"8ce7032d5a7fb88d26baa38b70be31a4.jpeg","width":750,"height":750,"alt":"Temperament Double-Sided Jacquard Sweater Two-Piece Set","aspect_ratio":1},"wholesale_price":[{"price":59.96,"min_quantity":1}],"weight":"0","compare_at_price":"73.12","price":"59.96","retail_price":"73.12","available":true,"url":"\/products\/temperament-double-sided-jacquard-sweater-two-piece-suit?variant=01278ec3-dd80-42d2-9fbf-292c91c3c202","available_quantity":999999999,"options":[{"name":"color","value":"camel"},{"name":"size","value":"L"}],"off_ratio":18,"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.