${function() {
const variantData = data.variant || {"id":"01cdbfa5-dc9e-404f-b2e2-b0964520e691","title":"Pink-For A73 5G-Case","weight_unit":"kg","inventory_quantity":990,"sku":"stn23021703139","barcode":"","position":1,"option1":"Pink","option2":"For A73 5G","option3":"Case","note":"","image":{"src":"\/\/img.staticdj.com\/b4daeb849db3cdf3486fa21b0ea963a1.jpg","path":"b4daeb849db3cdf3486fa21b0ea963a1.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"13.99","retail_price":"19.99","available":true,"url":"\/products\/a-series-rabbit-stand-case?variant=01cdbfa5-dc9e-404f-b2e2-b0964520e691","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Model","value":"For A73 5G"},{"name":"Style","value":"Case"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Over $39 Get Free Shipping
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}