Hello @saowp
The selected store is saved to the order as a custom field, so you can even create an admin to edit this data or you can use the form for Custom fields added by WordPress to the product custom post type (and others)
Hope it helps you to solve your doubt.
Let me know if you need anything else.
Regards.
Thread Starter
Shrik
(@saowp)
Thanks for your quick reply, @keylorcr ! Unfortunately, it is not very clear. As an admin, on the “Edit order” screen, I can see the “Pickup store” listed under the Billing address and phone. However, when I click on the edit icon next to Billing, I can edit any of the Billing fields, but not the Pickup store.
You are right @saowp, this is not an editable option via WooCommerce. What I sad was that you need to add this edition custom, programmatically.
As a tip, you can remove the action woocommerce_admin_order_data_after_billing_address added to wps-admin.php in the plugin, so you could add this option as a dropdown. Then, if it is changed, you saved the new value to the custom field _shipping_pickup_stores, maybe using this action woocommerce_order_edit_product
Let me know if it works for you
Regard
Thread Starter
Shrik
(@saowp)
@keylorcr I am wary of modifying a published plugin. Is there a chance you could consider this feature for a future update to your plugin?
@saowp
I think you could work on this plugin as a contributor, but I’m not sure how to do that.
But, you can send me an email to [email protected] and then we would talk about your idea.
Hope your contact
Regards