September 5, 2021 at 1:03 pm #65372
I am using wsform pro with WooCommerce Addon and am wondering why there is no submission data in my submissions after a product has been purchased, where a form is assigned to.
September 5, 2021 at 11:53 pm #65488
Do you have a ‘Save Submission’ action added to your form?
Also another thing to look at is ensuring your actions are running for the correct order statuses:
If you require additional support, please send an export of your form to our support team here:
… we’ll be happy to look into this further for you.
September 6, 2021 at 2:55 am #65492
Yes, there is a “Save Submission” action added by default to the form.
See screenshot here: https://www.dropbox.com/s/xogk1gv8b0yu8uv/form-submissions1.png?dl=0
I would like to get the actions running for the correct order status, but I don’t understand how I can set this up.. I read the mentioned article, but I still don’t understand where this should be set.
The article says that I would choose the corresponding woocommerce order statuses that will trigger the action. I would like form submission to be triggered. But in form submissions action there is no woocommerce order status option, that I could choose from.
Hm its a bit confusing, because I would also like to see woocommerce infos with the submission: order id and billing firstname, billing lastname, billing emailaddress.
I sent a form export file via support contact form provided 🙂
Any help appreciated.
- This reply was modified 3 weeks ago by Saskia Lund.
September 6, 2021 at 9:53 am #65526
I’ve responded to you via the support ticket system.
Many thanks for sending your form across to us.
September 6, 2021 at 9:58 am #65527
I was being stupid 😀
I set up the form correctly, but didn’t test another order after I did that. And thought it wasn’t working, because it didn’t before I checked the enable Run Wsform actions checkbox in Woo tab of form settings.
Today I placed another test order and everything worked as expected: submission is visible!
Only question left is:
how can I also add the billing firstname, billing lastname, billing email address, billing company and order id in the submission record?
September 6, 2021 at 10:11 am #65530
The submissions data does not include the order billing address etc. Ideally you should export from WooCommerce and not use WS Form as your source of data for submitted data. However, if you do export the data to a CSV file in WS Form we do include some WooCommerce data such as the order ID.
As the extension extends WooCommerce, you should continue to use WooCommerce as your main source of data. It is intended to add cart and order meta data which you will find when you view orders in WooCommerce itself.
September 6, 2021 at 10:31 am #65531
Hej again Mark,
thanks for your input!
The goal is the following:
I want to register a custom post type called “teams” with some custom taxonomies (f.e. type of race: running, walking, kids;)
Each team post has some custom fields:
1. teamcaptain (is billing first name and billing last name),
2. depending on the number of team members a set or rows with fields for team members first and lastnames, their gender, age, race time taken (will be added dynamically after the race) and if needed t-shirt sizes.
3. race type assigned via taxonomy
4. a custom field with order id
5. a custom field with company name if given
Now, when the order status is set to complete (or anything else like a custom status: paid or so), another action is supposed to push the form entries to the rest endpoint of the teams post type and the teams are automatically created.
outside the scope of wsforms:
Of course I must build a php API to set up the number of team members and ordered finisher shirts according to the submission records.
Then I will build another php method, that will extend the woocommerce my account page so that the customer can access their registered teams in their my account area in a separate tab. Here they should be able to edit their teams’ members names and shirt sizes, age and gender.
From what I read in wsforms documentation it should be possible to get this done with given actions feature, right?
September 6, 2021 at 10:42 am #65532
P.S.: there is a small bug that I noticed in submissions view:
I deleted a submission record, but there is still shown 1 submission in forms drop down menu on submissions view page, but the Trash button is not visible here, so it is not possible to empty the trashed record.
I manage to empty trash this way:
I went to form edit, clicked submissions, et voilá, trash link was visible now. I was able to permanently delete the trashed record this way.
But as mentioned, when you go to the regular submissions view, trash button does not come up – also not after selecting the form.
September 6, 2021 at 10:54 am #65533
When you access a form that only has trashed items you simply click the ‘Trash’ filter at the top of the page to view the trashed entries. This is by design.
September 6, 2021 at 10:58 am #65535
You could use our post management add-on to create the post. You can map various WooCommerce fields to that post meta data, you’ll find those here:
You should be able to use those in the custom mapping section of the post management action.
You may wish to consider using a custom fields plugin such as ACF to help access / store custom meta data for a post type. Here is a tutorial that explains how to do that:
- You must be logged in to reply to this topic.