${function() {
const variantData = data.variant || {"id":"a1e5771c-f38e-4978-87f1-e862f0191891","product_id":"901c315a-d25c-4750-b0d1-b6fb0fefdb01","title":"navy-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66230508829-navy-one size","barcode":"","position":1,"option1":"navy","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f92799dd1bfc943a0935be0171131e8.jpeg","path":"7f92799dd1bfc943a0935be0171131e8.jpeg","width":1078,"height":1186,"alt":"New Japanese printed loose small fresh skirt","aspect_ratio":0.9089376053962901},"wholesale_price":[{"price":64.29,"min_quantity":1}],"weight":"0.25","compare_at_price":"70","price":"64.29","retail_price":"70","available":true,"url":"\/products\/new-japanese-printed-loose-small-fresh-skirt?variant=a1e5771c-f38e-4978-87f1-e862f0191891","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"one size"}],"off_ratio":8,"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.