${function() {
const variantData = data.variant || {"id":"8de575a5-24d5-4226-a9fe-7514d05d9bbb","product_id":"59a4e26f-4b74-4248-95df-8297a15b7539","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230619-E11-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d63095acc71d82b148af7cd1f60949f.jpg","path":"5d63095acc71d82b148af7cd1f60949f.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/spring-and-autumn-new-comfortable-casual-plaid-long-flared-sleeve-long-sleeved-loose-type-medium-length-dress-dress?variant=8de575a5-24d5-4226-a9fe-7514d05d9bbb","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.