${function() {
const variantData = data.variant || {"id":"beba73e0-c7a5-4333-8f63-a824cd0e42a0","product_id":"73d31bd4-446a-4755-a28d-dfd1191db4dd","title":"black-m","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21041502-black-m","barcode":"","position":3,"option1":"black","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a4d14f602619870891483e68be55c2b.jpg","path":"7a4d14f602619870891483e68be55c2b.jpg","width":600,"height":750,"alt":"Elegant Pleated Dress","aspect_ratio":0.8},"wholesale_price":[{"price":40.34,"min_quantity":1}],"weight":"0","compare_at_price":"69","price":"40.34","retail_price":"69","available":true,"url":"\/products\/elegant-pleated-dress?variant=beba73e0-c7a5-4333-8f63-a824cd0e42a0","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"m"}],"off_ratio":42,"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.