Hello,
The Website I created gives someone a Quotation on the worth of their second-hand iPhone.
hidden link
Please click through and see the result.
I used Gravity Forms to Capture and calculate the Information and then to give the "anonymous user" a Quote.
Will it be possible to then give the user an option to list this information as a classified on my website to sell?
Thus the information they gave me becomes a Woocommerce product.
Sort off a "one click" create the product and the user needs to create an account.
Thanks in advance,
Hermann
I used Gravity Forms to Capture and calculate the Information and then to give the "anonymous user" a Quote.
That means, Gravity Forms is dealing with the where, how and when to store that Data, and I do not know how it's done.
Anyway, you can get that data somehow (as example with PHP) and then render it or update other Post Fields with this Data.
If that data is in normal, simple Post Fields (they do not need to be created with Types) you could even display them using the wpv-post-field ShortCode.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-field
I hope that helps!
What I can do is to send the data captured with Gravity Forms to "Merge Tags"
Is it maybe possible to use "merge Tags" to Create a Classifieds Post with Toolset?
Thx
Hermann
What is "Merge Tags" exactly?
How can it help you in this situation?
As said, you can create Posts as usual, if you use CRED or the Backend, it does not really make a difference.
What you need is a method to capture the data, and for that, you need Custom PHP.
You need some place where that data exists, a Custom Field, an URL Parameter, a $_POST value, anything where the value "lives".
Then, you can easily pass that value to the New Post, as example to a Post Field.
You can use save_post() if you work in the Backend, or if you use CRED; you can use a cred_save_data() hook.
Both will allow you to fire your Custom PHP function at the moment of saving the post:
https://codex.wordpress.org/Plugin_API/Action_Reference/save_post
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
How you get the Data, and where you put it (update_post_meta() most likely), depends on where you stored it previously and is subject to custom coding.
Thank you.