${function() {
const variantData = data.variant || {"id":"36020bf7-1e51-4937-a607-24e7039d52a8","product_id":"480167f4-36ac-46fc-bc0f-22208a05ac22","title":"Blue-L","weight_unit":"kg","inventory_quantity":994,"sku":"211019935-Blue-L","barcode":"","position":1,"option1":"Blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40bba7b92e5129e4f86cb0558fc9e30d.png","path":"40bba7b92e5129e4f86cb0558fc9e30d.png","width":1200,"height":1200,"alt":"Cardigan Long-sleeved Top Loose Trousers Two-Piece Suit","aspect_ratio":1},"wholesale_price":[{"price":43.03,"min_quantity":1}],"weight":"0.45","compare_at_price":"51.84","price":"43.03","retail_price":"51.84","available":true,"url":"\/products\/cardigan-long-sleeved-top-loose-trousers-two-piece-suit?variant=36020bf7-1e51-4937-a607-24e7039d52a8","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"L"}],"off_ratio":17,"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.