${function() {
const variantData = data.variant || {"id":"62b91f84-fb57-403d-936b-7d4d93b98195","product_id":"6b43c379-0e0f-4871-8080-f129070353dd","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209272765-black-S","barcode":"","position":7,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b27f66df36f2e618ec21d4a064170a4.jpeg","path":"0b27f66df36f2e618ec21d4a064170a4.jpeg","width":800,"height":1000,"alt":"New high -necked grid platycs shawl sweater jacket","aspect_ratio":0.8},"wholesale_price":[{"price":34.69,"min_quantity":1}],"weight":"0.5","compare_at_price":"63.07","price":"34.69","retail_price":"63.07","available":true,"url":"\/products\/new-high-necked-grid-platycs-shawl-sweater-jacket?variant=62b91f84-fb57-403d-936b-7d4d93b98195","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":45,"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.