${function() {
const variantData = data.variant || {"id":"bb88cf6f-e98e-4d07-8da4-7564e25666c5","product_id":"7af97e8d-416c-4417-b685-57dac600801d","title":"Apricot-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230614-E08-Apricot-S","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74222517a6509738419b32242f07ed35.jpg","path":"74222517a6509738419b32242f07ed35.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\/spring-and-autumn-new-womens-solid-color-round-neck-knitted-dress-fashion-casual-commuter-open-dress-female?variant=bb88cf6f-e98e-4d07-8da4-7564e25666c5","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"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.