${function() {
const variantData = data.variant || {"id":"72ab93ed-7b81-4d90-a910-470428a0d4f2","product_id":"aa246486-7539-4636-9007-162bc3aeaeed","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230607-E04-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2fbef2130f024a2348092fba01d5204.jpg","path":"d2fbef2130f024a2348092fba01d5204.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.99","retail_price":"0","available":true,"url":"\/products\/summer-new-womens-solid-color-long-sleeved-v-neck-cross-button-casual-wind-comfortable-commuter-long-dress-dress-dress?variant=72ab93ed-7b81-4d90-a910-470428a0d4f2","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"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.