${function() {
const variantData = data.variant || {"id":"bf2467e1-081d-4460-b874-2730738585a3","product_id":"6878f0f7-c84c-491b-8b0e-9e7a552ef437","title":"black-orange","weight_unit":"kg","inventory_quantity":0,"sku":"SLRD7G9D-0001","barcode":"","position":1,"option1":"black-orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e82e89177ef446b97f3c5922729da75d.jpeg","path":"e82e89177ef446b97f3c5922729da75d.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"34.99","retail_price":"43.99","available":true,"url":"\/products\/3d-surround-sound-open-ows-bluetooth-headset?variant=bf2467e1-081d-4460-b874-2730738585a3","available_quantity":999999999,"options":[{"name":"3D Surround Sound Open OWS Bluetooth Headset","value":"black-orange"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"bf2467e1-081d-4460-b874-2730738585a3","product_id":"6878f0f7-c84c-491b-8b0e-9e7a552ef437","title":"black-orange","weight_unit":"kg","inventory_quantity":0,"sku":"SLRD7G9D-0001","barcode":"","position":1,"option1":"black-orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e82e89177ef446b97f3c5922729da75d.jpeg","path":"e82e89177ef446b97f3c5922729da75d.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"34.99","retail_price":"43.99","available":true,"url":"\/products\/3d-surround-sound-open-ows-bluetooth-headset?variant=bf2467e1-081d-4460-b874-2730738585a3","available_quantity":999999999,"options":[{"name":"3D Surround Sound Open OWS Bluetooth Headset","value":"black-orange"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}