Skip Navigation

[Resolved] Will Toolset be able to help me with this?

This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by Beda 7 years, 3 months ago.

Assisted by: Beda.

Author
Posts
#553346

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

#553386

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!

#554384
ts.PNG

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

#555028

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.