${function() {
const variantData = data.variant || {"id":"4edd57a8-76cc-45cd-acc8-fa8138cf266f","title":"Purple-S23 Ultra-Without Loop","weight_unit":"kg","inventory_quantity":1000,"sku":"STN-22101901-Purple-S23 Ultra-Without Loop","barcode":"","position":1,"option1":"Purple","option2":"S23 Ultra","option3":"Without Loop","note":"","image":{"src":"\/\/img.staticdj.com\/de9d3c2c14153e04894a0c8b6c610bb6.jpg","path":"de9d3c2c14153e04894a0c8b6c610bb6.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\/2022-new-fashion-plating-french-bulldog-secret-stand-electroplated-soft-case-for-samsung?variant=4edd57a8-76cc-45cd-acc8-fa8138cf266f","available_quantity":999999999,"options":[{"name":"COLOR","value":"Purple"},{"name":"SAMSUNG SIZE","value":"S23 Ultra"},{"name":"STYLE","value":"Without Loop"}],"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}
`
}()}