Probably a wrong approach, but couldn't find a better solution:
- I have a view creating a list of Woocommerce orders.
- On every list item there is a button, which open a modal window and pass the order id value.
On the modal window I can use
<input type="text" name="orderId" id="orderId" value="" />
to display the order id.
I need to insert in the modal a Cred form, to edit some order's parameters.
How can I use the previous "orderId" value to edit the proper order?
Tried
[cred_form form='local-payment' post='orderId']
but it doesn't work.
Any help is really appreciated.
Thanks.
Hi,
Thank you for contacting us and I'd be happy to assist.
I'm afraid, I'm not exactly sure how you're able to get the value of the current order in the view using 'orderId'.
Can you please share temporary admin login details along with the link to the page with this view?
I'll be in a better position to suggest some workaround, accordingly.
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
regards,
Waqar
We took another approach and simply open a new page, instead of the modal window.
Thanks.