Blind box
${function() {
const variantData = data.variant || {"id":"e8274eb6-4eef-4d93-8bce-1862cf62229b","product_id":"ce64d95f-588c-434b-9974-f628e2a0380a","title":"popmart","weight_unit":"kg","inventory_quantity":7,"sku":"","barcode":"","position":1,"option1":"popmart","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/27f54196bf46c7be9c33f80fe6f5a87a.jpg","path":"27f54196bf46c7be9c33f80fe6f5a87a.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.9","retail_price":"0","available":true,"url":"\/products\/blind-box?variant=e8274eb6-4eef-4d93-8bce-1862cf62229b","available_quantity":7,"options":[{"name":"modelo","value":"popmart"}],"off_ratio":0,"flashsale_info":[],"sales":35};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
(Tax included)
`;
}()}
${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":"e8274eb6-4eef-4d93-8bce-1862cf62229b","product_id":"ce64d95f-588c-434b-9974-f628e2a0380a","title":"popmart","weight_unit":"kg","inventory_quantity":7,"sku":"","barcode":"","position":1,"option1":"popmart","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/27f54196bf46c7be9c33f80fe6f5a87a.jpg","path":"27f54196bf46c7be9c33f80fe6f5a87a.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.9","retail_price":"0","available":true,"url":"\/products\/blind-box?variant=e8274eb6-4eef-4d93-8bce-1862cf62229b","available_quantity":7,"options":[{"name":"modelo","value":"popmart"}],"off_ratio":0,"flashsale_info":[],"sales":35};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}