Product Margin Field in Order Printer to Print Margin slip for Vendor

1 0 0


I need help to configure order printer to print margin which is part of the product, I didnt find margin in liquid variable list!

I was using this code to print it as alternate as margin attribute is mot in the list but this is not working

{{ product.margin}}


See this screenshot this field is there which we can configure for product margin and use it in slip to print margin slip but unfortunately this is not part of liquid variable list



This is the legend to see list of variable available: "View the Liquid variable list" in Order Printer app.

See margin is not being picked in code as there is no such variable named "margin" available, hence my query is what is the name of variable or how can we add margin variable in code if its not there at all

Replies 0 (0)