${function() {
const variantData = data.variant || {"id":"cb4ad196-054b-4447-935b-8809e44ce51f","product_id":"96d03c16-3f6d-4c52-a952-59988a6a30a9","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230612-E09-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5144e3d30a0696c17b859dfaea813d4c.jpg","path":"5144e3d30a0696c17b859dfaea813d4c.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/the-new-temperament-commuter-fashion-digital-geometric-printing-pattern-v-neck-loose-type-short-sleeved-t-shirt-female?variant=cb4ad196-054b-4447-935b-8809e44ce51f","available_quantity":999999999,"options":[{"name":"Color","value":"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.