${function() {
const variantData = data.variant || {"id":"6d9a590b-2941-4cae-a187-7380f80e4624","product_id":"e416df02-865a-45ed-be1b-ba37a2ccfd12","title":"\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS","weight_unit":"kg","inventory_quantity":999486,"sku":"-\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS-A0021303","barcode":"","position":13,"option1":"\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d145688b116a38395f9eaa1d0293fc93.jpeg","path":"d145688b116a38395f9eaa1d0293fc93.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":0.14,"min_quantity":1}],"weight":"0.1","compare_at_price":"0.14","price":"0.14","retail_price":"0.14","available":true,"url":"\/products\/football-party-theme-pack?variant=6d9a590b-2941-4cae-a187-7380f80e4624","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS"}],"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}
`
}()}
Weight : 0.1kg
Inventory : 999999999
${function(){
const variantData = data.variant || {"id":"6d9a590b-2941-4cae-a187-7380f80e4624","product_id":"e416df02-865a-45ed-be1b-ba37a2ccfd12","title":"\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS","weight_unit":"kg","inventory_quantity":999486,"sku":"-\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS-A0021303","barcode":"","position":13,"option1":"\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d145688b116a38395f9eaa1d0293fc93.jpeg","path":"d145688b116a38395f9eaa1d0293fc93.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":0.14,"min_quantity":1}],"weight":"0.1","compare_at_price":"0.14","price":"0.14","retail_price":"0.14","available":true,"url":"\/products\/football-party-theme-pack?variant=6d9a590b-2941-4cae-a187-7380f80e4624","available_quantity":999999999,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272\u6761\u7eb9\u7eb8\u5438\u7ba110PCS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Inventory : ${variantData && variantData.available_quantity}
`
}()}