${function() {
const variantData = data.variant || {"id":"6ce0d7b6-130e-453e-bcec-0c1bf118e3f5","product_id":"a5f63fe7-5938-481e-92b5-6a66bd370b3e","title":"blue-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21050807-blue-s","barcode":"","position":3,"option1":"blue","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/514addf85367300525a93ebe47df9bc6.jpeg","path":"514addf85367300525a93ebe47df9bc6.jpeg","width":700,"height":1233,"alt":"Sexy Back Knit Mini Dress","aspect_ratio":0.5677210056772101},"wholesale_price":[{"price":28.08,"min_quantity":1}],"weight":"0","compare_at_price":"48.41","price":"28.08","retail_price":"48.41","available":true,"url":"\/products\/sexy-back-knit-mini-dress?variant=6ce0d7b6-130e-453e-bcec-0c1bf118e3f5","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"s"}],"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.