${function() {
const variantData = data.variant || {"id":"1158dfe2-4cbb-4a1b-be4a-a36f2a7f2250","product_id":"94684dab-24df-41d4-b2fe-301ad0dd1dfb","title":"camel-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221018238-camel-one size","barcode":"","position":1,"option1":"camel","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cff1c67acfe4b58d53ef56312e73469.jpeg","path":"8cff1c67acfe4b58d53ef56312e73469.jpeg","width":800,"height":800,"alt":"V-Neck Slit Belt Soft Waxy Sweater Jacket Vest","aspect_ratio":1},"wholesale_price":[{"price":67.85,"min_quantity":1}],"weight":"0.5","compare_at_price":"125.65","price":"67.85","retail_price":"125.65","available":true,"url":"\/products\/v-neck-slit-belt-soft-waxy-sweater-jacket-vest?variant=1158dfe2-4cbb-4a1b-be4a-a36f2a7f2250","available_quantity":999999999,"options":[{"name":"color","value":"camel"},{"name":"size","value":"one size"}],"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.