Need help with mail to myself (stock-situation)

Solved

Need help with mail to myself (stock-situation)

RunnsSommen
Tourist
7 0 0

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.

Accepted Solution (1)
PaulMartin
Shopify Partner
597 59 144

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.

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ

View solution in original post

Replies 4 (4)

PaulMartin
Shopify Partner
597 59 144

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.

PaulMartin_0-1728301332000.png

PaulMartin_1-1728301616996.png

 

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
RunnsSommen
Tourist
7 0 0

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. 

PaulMartin
Shopify Partner
597 59 144

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.

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
PaulMartin
Shopify Partner
597 59 144

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.

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ