${function() {
const variantData = data.variant || {"id":"03f8fdad-011b-4b60-a644-a905053ed48e","product_id":"7199fc1c-b22f-4cd0-abc2-1dcad9d582cc","title":"green-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662206101426-green-2XL","barcode":"","position":1,"option1":"green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ec7c388623950c1f9144e302002dc52.jpeg","path":"8ec7c388623950c1f9144e302002dc52.jpeg","width":800,"height":800,"alt":"Double color-block fashion casual suit","aspect_ratio":1},"wholesale_price":[{"price":34.15,"min_quantity":1}],"weight":"0","compare_at_price":"58.88","price":"34.15","retail_price":"58.88","available":true,"url":"\/products\/double-color-block-fashion-casual-suit?variant=03f8fdad-011b-4b60-a644-a905053ed48e","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"2XL"}],"off_ratio":42,"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.