Zhihua Diamond box
${function() {
const variantData = data.variant || {"id":"a5befa4f-6c58-4be6-867a-ad163b555ff1","product_id":"fb5dd08e-7ed1-493b-a6fc-17de3cdc57c8","title":"one","weight_unit":"kg","inventory_quantity":21,"sku":"","barcode":"","position":1,"option1":"one","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6dbf80de39c80329fd99e63a602f490d.jpg","path":"6dbf80de39c80329fd99e63a602f490d.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/zhihua-diamond-box?variant=a5befa4f-6c58-4be6-867a-ad163b555ff1","available_quantity":21,"options":[{"name":"OP diamond blind box","value":"one"}],"off_ratio":0,"flashsale_info":[],"sales":10};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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":"a5befa4f-6c58-4be6-867a-ad163b555ff1","product_id":"fb5dd08e-7ed1-493b-a6fc-17de3cdc57c8","title":"one","weight_unit":"kg","inventory_quantity":21,"sku":"","barcode":"","position":1,"option1":"one","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6dbf80de39c80329fd99e63a602f490d.jpg","path":"6dbf80de39c80329fd99e63a602f490d.jpg","width":3024,"height":4032,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/zhihua-diamond-box?variant=a5befa4f-6c58-4be6-867a-ad163b555ff1","available_quantity":21,"options":[{"name":"OP diamond blind box","value":"one"}],"off_ratio":0,"flashsale_info":[],"sales":10};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}