All things Shopify and commerce
Hi
Need help with the email that is sent to myself when an order is placed.
We dropship but also have some goods in stock and have to see in the order email if the product is to be ordered home or if it is in stock.
Stock balance can be shown on all products as long as you can see if the product that was purchased is out of stock or was in stock so you know if you can send it directly or should order it home.
Thanks for all the help.
Solved! Go to the solution
This is an accepted solution.
Hmmm. Would you be able to share your current template's code? You can send me an email if you prefer it being private.
Hi Runns,
In your Shopify store settings, you can find the email template that is used to send you (the owner or staff) an email when an order is placed. Settings > Notifications > Staff notifications > New order. This email template's code can be edited in any way you want. You can use the liquid variable: line.current_quantity to show your item's stock level after being deducted by the quantity of the order placed for said item.
Thanks, i have looked at the code and i think i have to use {{ line.variant.inventory_quantity - line.quantity }} but i cant get it to work, can you help me to set it up? i can pay of course.
Hi sorry for the late reply. My notifications weren't working properly. I'll get back to you in a few mins, no need for payment btw.
This is an accepted solution.
Hmmm. Would you be able to share your current template's code? You can send me an email if you prefer it being private.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025