${function() {
const variantData = data.variant || {"id":"54761f6d-ab8f-4cbc-a26c-cf7e6ee7dd3e","product_id":"7efc3b4b-85db-4480-8d34-fcd2c65262a1","title":"\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2","weight_unit":"kg","inventory_quantity":100,"sku":"-\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2-A0024977","barcode":"","position":1,"option1":"\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/290c6009ddba0c03987c3244a4f04c01.jpeg","path":"290c6009ddba0c03987c3244a4f04c01.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"4.99","price":"4.99","retail_price":"4.99","available":true,"url":"\/products\/\u751f\u65e5\u86cb\u7cd5\u97f3\u4e50\u706f\u5149\u7acb\u4f53\u8d3a\u5361\u7eb8\u96d5\u521b\u610f\u793c\u7269\u8282\u65e5\u795d\u798f\u7559\u8a00\u5361\u7247\u5916\u8d38\u6279\u53d1?variant=54761f6d-ab8f-4cbc-a26c-cf7e6ee7dd3e","available_quantity":999999999,"options":[{"name":"\u5c3a\u5bf8","value":"\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2"}],"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.04kg
Inventory : 999999999
${function(){
const variantData = data.variant || {"id":"54761f6d-ab8f-4cbc-a26c-cf7e6ee7dd3e","product_id":"7efc3b4b-85db-4480-8d34-fcd2c65262a1","title":"\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2","weight_unit":"kg","inventory_quantity":100,"sku":"-\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2-A0024977","barcode":"","position":1,"option1":"\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/290c6009ddba0c03987c3244a4f04c01.jpeg","path":"290c6009ddba0c03987c3244a4f04c01.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"4.99","price":"4.99","retail_price":"4.99","available":true,"url":"\/products\/\u751f\u65e5\u86cb\u7cd5\u97f3\u4e50\u706f\u5149\u7acb\u4f53\u8d3a\u5361\u7eb8\u96d5\u521b\u610f\u793c\u7269\u8282\u65e5\u795d\u798f\u7559\u8a00\u5361\u7247\u5916\u8d38\u6279\u53d1?variant=54761f6d-ab8f-4cbc-a26c-cf7e6ee7dd3e","available_quantity":999999999,"options":[{"name":"\u5c3a\u5bf8","value":"\u97f3\u4e50\u5f69\u8272\u86cb\u7cd5-\u7ea2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Inventory : ${variantData && variantData.available_quantity}
`
}()}