${function() {
const variantData = data.variant || {"id":"58ac1ad9-9546-46cd-a98b-6933ed785347","product_id":"77680945-34f8-44be-8a4d-75ee908405b4","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"20230616-E05-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0db72cf80f17d39a7cbb016f03b2a267.jpg","path":"0db72cf80f17d39a7cbb016f03b2a267.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/spring-and-autumn-womens-casual-loose-type-pullover-shirt-collar-insert-sleeve-top-striped-long-sleeved-temperament-elegant-shirt?variant=58ac1ad9-9546-46cd-a98b-6933ed785347","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.