${function() {
const variantData = data.variant || {"id":"8457572d-f1e1-48f0-9c1c-c3d1605dc78f","product_id":"52f8218a-6229-4dec-b973-cdc7b8a9727b","title":"orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230506778-orange-S","barcode":"","position":6,"option1":"orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ab7cd699b54b625fdff579668b0e870.jpeg","path":"1ab7cd699b54b625fdff579668b0e870.jpeg","width":800,"height":800,"alt":"Women's retro print all-match literary T-shirt","aspect_ratio":1},"wholesale_price":[{"price":34.52,"min_quantity":1}],"weight":"0.3","compare_at_price":"44","price":"34.52","retail_price":"44","available":true,"url":"\/products\/womens-retro-print-all-match-literary-t-shirt?variant=8457572d-f1e1-48f0-9c1c-c3d1605dc78f","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"name":"size","value":"S"}],"off_ratio":22,"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.