${function() {
const variantData = data.variant || {"id":"64bf8307-680b-4341-b8ff-8c317b889f39","product_id":"1399a00d-bebd-4305-a3ce-851b518175fb","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230526-E02-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e79e6066e667568d956e427e92b48dd.jpg","path":"2e79e6066e667568d956e427e92b48dd.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/color-block-printing-and-dyeing-collision-color-short-sleeved-t-shirt-female-fashion-versatile-outside-wear-street-style-tops?variant=64bf8307-680b-4341-b8ff-8c317b889f39","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.