When a new order is made, the administrators receives an email with the order details. It’s ok.
I’d like to edit this notification template to display the information if the products are in inventory or if I would have to manufacture them (or some).
I wonder, if it is not possible, then would it be possible to have the inventory qty information on the orders page inside admin area? I mean, after clicking on a specific order.
i have a similar desire of showing a line item value in order confirmation emails based on inventory state at a location. The only way I’ve come up with is to use Shopify flow and an inventory-change trigger to update the value of a variant metafield containing an integer of current stock value at a location. Was wondering if you came up with a way using less moving parts.
We are looking the same, I can now see there is a variable called line.current_quantity which I thought would show the inventory quantity, but it doesn’t.
Ha, @jaircuevajr@amanda-91 I finally found a way to do this. Use this variable {{ line.variant.inventory_quantity }} to get the inventory stock, and then substract the {{line.quantity}}. So this should get what you need {{ line.variant.inventory_quantity - line.quantity }}