${function() {
const variantData = data.variant || {"id":"a4eeb68d-5286-49fa-91f1-63d6f676f9ad","product_id":"726beb06-57ab-416c-b35a-3c15985f423f","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209272783-green-S","barcode":"","position":5,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d4231a977b2a66954db1e7d433b96db.jpeg","path":"0d4231a977b2a66954db1e7d433b96db.jpeg","width":800,"height":1000,"alt":"Contrasting shawl -colored knitted cardigan sweater jacket","aspect_ratio":0.8},"wholesale_price":[{"price":33.25,"min_quantity":1}],"weight":"0.5","compare_at_price":"61.57","price":"33.25","retail_price":"61.57","available":true,"url":"\/products\/contrasting-shawl-colored-knitted-cardigan-sweater-jacket?variant=a4eeb68d-5286-49fa-91f1-63d6f676f9ad","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"S"}],"off_ratio":46,"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.