How to retrieve wc-localpickup from order – PHP
-
Hey there,
I am not really familiar with PHP and thus not quite sure how to recall or call variables from orders. Basically, I just want to “call” or “retrieve” the name of the location from the local pickup from an order via PHP.
Is it something like this: “$order->get_location_of_pickup”?
(My main idea is to add an automated private notice to the order about the location when the customer chose local-pickup.)
It would be amazing, if you can help me out or show me where I can read about the information of how to retrieve the location of the wc-local-pickup!
Best,
schorliee
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to retrieve wc-localpickup from order – PHP’ is closed to new replies.