${function() {
const variantData = data.variant || {"id":"1e702b59-aaf9-4a7b-b9a4-7dc6aa08adf8","product_id":"edcafbf3-2eff-4ee1-b7a3-07c524e99c8b","title":"Black-One Size","weight_unit":"kg","inventory_quantity":74452,"sku":"221027876-Black-One Size","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb3a374a3f2c566272d7f594234224a3.jpeg","path":"fb3a374a3f2c566272d7f594234224a3.jpeg","width":800,"height":800,"alt":"Irregular Shirt Stitching Elegant Cardigan","aspect_ratio":1},"wholesale_price":[{"price":46.26,"min_quantity":1}],"weight":"0.45","compare_at_price":"87.28","price":"46.26","retail_price":"87.28","available":true,"url":"\/products\/irregular-shirt-stitching-elegant-cardigan?variant=1e702b59-aaf9-4a7b-b9a4-7dc6aa08adf8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":47,"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.