${function() {
const variantData = data.variant || {"id":"2136e777-2507-473f-9e8f-2a195b13f077","product_id":"ab6848cf-4eab-4a0d-b5e2-bb89c1d53c22","title":"orange-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221027895-orange-one size","barcode":"","position":1,"option1":"orange","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2ec19b396b0065cf0c5cb329f1ce4ada.jpeg","path":"2ec19b396b0065cf0c5cb329f1ce4ada.jpeg","width":800,"height":800,"alt":"Gentle wind twist V-neck sweater","aspect_ratio":1},"wholesale_price":[{"price":48.96,"min_quantity":1}],"weight":"0.5","compare_at_price":"81.6","price":"48.96","retail_price":"81.6","available":true,"url":"\/products\/gentle-wind-twist-v-neck-sweater?variant=2136e777-2507-473f-9e8f-2a195b13f077","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"name":"size","value":"one size"}],"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.