${function() {
const variantData = data.variant || {"id":"c242dbf8-8c32-4f79-abfb-4b3f1cfe7d69","product_id":"36f19609-3c2e-40f1-842a-1bf919d6a302","title":"\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01","weight_unit":"kg","inventory_quantity":100,"sku":"-\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01-A0025015","barcode":"","position":1,"option1":"\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1351f7a63d01fe796a04df79ef5448c.jpeg","path":"d1351f7a63d01fe796a04df79ef5448c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.03","compare_at_price":"4.99","price":"4.99","retail_price":"4.99","available":true,"url":"\/products\/\u751f\u65e5\u8d3a\u5361\u7acb\u4f53\u86cb\u7cd5\u5361\u72473d\u97e9\u56fd\u521b\u610f\u793c\u54c1\u793c\u7269\u590d\u53e4\u795d\u798f\u624b\u5de5\u5c0f\u5361\u7247\u5546\u52a1?variant=c242dbf8-8c32-4f79-abfb-4b3f1cfe7d69","available_quantity":999999999,"options":[{"name":"\u5c3a\u5bf8","value":"\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01"}],"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.03kg
Inventory : 999999999
${function(){
const variantData = data.variant || {"id":"c242dbf8-8c32-4f79-abfb-4b3f1cfe7d69","product_id":"36f19609-3c2e-40f1-842a-1bf919d6a302","title":"\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01","weight_unit":"kg","inventory_quantity":100,"sku":"-\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01-A0025015","barcode":"","position":1,"option1":"\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1351f7a63d01fe796a04df79ef5448c.jpeg","path":"d1351f7a63d01fe796a04df79ef5448c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.03","compare_at_price":"4.99","price":"4.99","retail_price":"4.99","available":true,"url":"\/products\/\u751f\u65e5\u8d3a\u5361\u7acb\u4f53\u86cb\u7cd5\u5361\u72473d\u97e9\u56fd\u521b\u610f\u793c\u54c1\u793c\u7269\u590d\u53e4\u795d\u798f\u624b\u5de5\u5c0f\u5361\u7247\u5546\u52a1?variant=c242dbf8-8c32-4f79-abfb-4b3f1cfe7d69","available_quantity":999999999,"options":[{"name":"\u5c3a\u5bf8","value":"\u5f69\u8272\u86cb\u7cd5\u7ea2\u5c01"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Inventory : ${variantData && variantData.available_quantity}
`
}()}