${function() {
const variantData = data.variant || {"id":"4d718d09-007d-4d4b-b546-23da55622a33","product_id":"3e6292b7-aaee-47c8-ac66-65d63879552f","title":"White-F","weight_unit":"kg","inventory_quantity":1917,"sku":"2209282828-White-F","barcode":"","position":1,"option1":"White","option2":"F","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/674db41b680c346a68cabee58f885e13.jpeg","path":"674db41b680c346a68cabee58f885e13.jpeg","width":1440,"height":1920,"alt":"Chic Solid Color Short Vest","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"31.65","price":"18.99","retail_price":"31.65","available":true,"url":"\/products\/chic-solid-color-short-vest?variant=4d718d09-007d-4d4b-b546-23da55622a33","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"F"}],"off_ratio":40,"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.