${function() {
const variantData = data.variant || {"id":"eb04880d-a958-4adb-996d-6f970dd8f853","product_id":"9762ac46-4677-442e-bfdf-619a4ee0b487","title":"Pink","weight_unit":"kg","inventory_quantity":1000,"sku":"EC40715-C009","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5614decb8d8da8872ec4a88e8a3eb4f1.jpeg","path":"5614decb8d8da8872ec4a88e8a3eb4f1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"7.99","retail_price":"0","available":true,"url":"\/products\/2-in-1-silicone-charger-protector?variant=eb04880d-a958-4adb-996d-6f970dd8f853","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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}
`
}()}
Product was out of stock.
Product is unavailable.