Adding a summed Cost per item to Admin orders page

Solved

Adding a summed Cost per item to Admin orders page

WicksBathCo
Visitor
3 0 1

I'm interested in adding a summed total of the Cost per item from the given products in an order when I look at individual orders within the Orders admin page within Shopify. I don't want this summed total to be visible to customers, just to us on the Admin order page. Is there a way to do this? Thanks!

Accepted Solutions (2)

PaulNewton
Shopify Partner
7201 637 1497

This is an accepted solution.

Hi @WicksBathCo you could use an automation app like shopify-flow or mechanic to either add a tag, update a metafield, or an attribute / note_attributes.

 

If you need this type of automation then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Kalen_Jordan
Shopify Partner
758 34 135

This is an accepted solution.

You can set up a flow that triggers when the order is created, then you'll probably need a short run code step to calculate the total cost per item for all of the line items, and then you'd want to save that as an order metafield to the order.

View solution in original post

Replies 2 (2)

PaulNewton
Shopify Partner
7201 637 1497

This is an accepted solution.

Hi @WicksBathCo you could use an automation app like shopify-flow or mechanic to either add a tag, update a metafield, or an attribute / note_attributes.

 

If you need this type of automation then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


Kalen_Jordan
Shopify Partner
758 34 135

This is an accepted solution.

You can set up a flow that triggers when the order is created, then you'll probably need a short run code step to calculate the total cost per item for all of the line items, and then you'd want to save that as an order metafield to the order.