${function() {
const variantData = data.variant || {"id":"87c40e8b-c10d-4eac-9dc5-d23f33324e4b","product_id":"c9156394-8d16-46fd-ba87-c677da1d4b0f","title":"Rose red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230522-E12-Rose red-S","barcode":"","position":1,"option1":"Rose red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/204d5a97961de0103e62ece4e0783f14.jpg","path":"204d5a97961de0103e62ece4e0783f14.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/fashion-female-shirt-spring-and-summer-new-elegant-solid-color-round-neck-long-sleeved-ties-straight-type-satin-female-blouse?variant=87c40e8b-c10d-4eac-9dc5-d23f33324e4b","available_quantity":999999999,"options":[{"name":"Color","value":"Rose red"},{"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.