Saving custom meta automatically when an order is placed?
-
I’m currently using a pickup plugin for WooCommerce called Local Pickup Plus and am hoping to be able to tap into the pickup date in Zapier.
The pickup date is stored as a shipping line item so it doesn’t get pulled over into Zapier. Zapier only seems to be pulling over the order item meta.
So my goal here is to make it so whenever an order is placed it copies the shipping item value and stores it as a custom order item meta that can then be used as a Zapier trigger.
I know that I can call “$order-get_items(‘shipping’)” to get access to this information and I know that the value I need is is _pickup_date but I am not sure the best way to consistently make sure this happens every time the order is placed (processing).
Any tips/tricks for this? Thank you so much!
- The topic ‘Saving custom meta automatically when an order is placed?’ is closed to new replies.