${function() {
const variantData = data.variant || {"id":"5152f227-4b66-48bc-8e14-d2c422295dd9","product_id":"ce820c64-eddb-4342-9120-b6adfd36ccb3","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230609-E03-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5718af6dd703cea73c6b25a9f40921c6.jpg","path":"5718af6dd703cea73c6b25a9f40921c6.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\/printed-shirt-female-spring-and-summer-v-neck-loose-temperament-commuter-regular-sleeve-long-sleeve-elegant-wind-blouse?variant=5152f227-4b66-48bc-8e14-d2c422295dd9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.