${function() {
const variantData = data.variant || {"id":"1be2e3dc-7335-4ffe-9dfd-9c27e15b9ae3","product_id":"6b43c379-0e0f-4871-8080-f129070353dd","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209272765-green-S","barcode":"","position":4,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d6abcbf22d6729397189a1366d040205.jpeg","path":"d6abcbf22d6729397189a1366d040205.jpeg","width":1340,"height":1785,"alt":"New high -necked grid platycs shawl sweater jacket","aspect_ratio":0.7507002801120448},"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=1be2e3dc-7335-4ffe-9dfd-9c27e15b9ae3","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"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.