${function() {
const variantData = data.variant || {"id":"8be3cbc0-5d41-495e-8405-39733fd7039c","product_id":"ed913b32-c566-4100-bffc-e340aa04b982","title":"Rose-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230519-E01-Rose-S","barcode":"","position":1,"option1":"Rose","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/131ec7c1a401425533635810744471ca.jpg","path":"131ec7c1a401425533635810744471ca.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/spring-and-summer-new-fashion-multi-color-lantern-sleeves-v-neck-dress-solid-color-casual-party-high-waist-a-line-dress-short-sleeved?variant=8be3cbc0-5d41-495e-8405-39733fd7039c","available_quantity":999999999,"options":[{"name":"Color","value":"Rose"},{"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.