${function() {
const variantData = data.variant || {"id":"1f956ed1-7208-47ae-852e-4c87a3102397","product_id":"15ba3400-da06-4382-942f-2126a6841b49","title":"\u7ea2\u8272-12inch","weight_unit":"kg","inventory_quantity":0,"sku":"-\u7ea2\u8272-12inch-A0021974","barcode":"","position":1,"option1":"\u7ea2\u8272","option2":"12inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42153ecfcaa60517fdbf1fa1425e4b28.jpeg","path":"42153ecfcaa60517fdbf1fa1425e4b28.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1,"min_quantity":1}],"weight":"1","compare_at_price":"1","price":"1","retail_price":"1","available":true,"url":"\/products\/\u5382\u5bb6\u76f4\u4f9b-\u751f\u65e5\u6d3e\u5bf9\u88c5\u9970\u5e03\u7f6e\u7528\u54c1-\u7279\u5927\u53f7\u5f69\u8679\u94dd\u819c\u6c14\u7403-93-59cm?variant=1f956ed1-7208-47ae-852e-4c87a3102397","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"\u7ea2\u8272"},{"name":"\u5927\u5c0f","value":"12inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
颜色
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
大小
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Weight : 1kg
Inventory : 999999999
${function(){
const variantData = data.variant || {"id":"1f956ed1-7208-47ae-852e-4c87a3102397","product_id":"15ba3400-da06-4382-942f-2126a6841b49","title":"\u7ea2\u8272-12inch","weight_unit":"kg","inventory_quantity":0,"sku":"-\u7ea2\u8272-12inch-A0021974","barcode":"","position":1,"option1":"\u7ea2\u8272","option2":"12inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42153ecfcaa60517fdbf1fa1425e4b28.jpeg","path":"42153ecfcaa60517fdbf1fa1425e4b28.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1,"min_quantity":1}],"weight":"1","compare_at_price":"1","price":"1","retail_price":"1","available":true,"url":"\/products\/\u5382\u5bb6\u76f4\u4f9b-\u751f\u65e5\u6d3e\u5bf9\u88c5\u9970\u5e03\u7f6e\u7528\u54c1-\u7279\u5927\u53f7\u5f69\u8679\u94dd\u819c\u6c14\u7403-93-59cm?variant=1f956ed1-7208-47ae-852e-4c87a3102397","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"\u7ea2\u8272"},{"name":"\u5927\u5c0f","value":"12inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Inventory : ${variantData && variantData.available_quantity}
`
}()}