Skip Navigation

[Resuelto] Directory Site – Have a user pay to upgrade their account and show more info

This support ticket is created hace 4 años, 10 meses. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 respuestas, has 3 mensajes.

Last updated by susanT-4 hace 4 años, 10 meses.

Assisted by: Minesh.

Autor
Mensajes
#1261685

When a user submits a front end form, it creates a CPT page. I am styling this with a Content Template. This is all working as expected

How do I create an upgraded version of that same page, same template, with more fields for the user to fill out when they make a purchase to upgrade their listing?

#1261835

Hello,

I assume we are talking about the same problem as your another thread:
https://toolset.com/forums/topic/best-way-to-have-a-directory-site-have-upgraded-profiles-with-extra-fields/

Did you tried the answer in above thread? Does it work for you?

I can provide more details for it, for example:
1) You can create a Toolset form for editing the CPT post, in this form display those extra fields.
2) After user created the new CPT post, redirect him to the new CPT post,
3) Use content template to design single CPT post
4) In this content template, display the Edit form link of step 1, see the document:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
You can also use [wpv-conditional] shortcode to check if current user is the post author, and display the edit form, for example:

[wpv-conditional if="( '[wpv-current-user info="login"]' eq '[wpv-post-author format="meta" meta="user_login"]' ) "]
 Display the edit form link here ...
[/wpv-conditional]

More help:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/using-shortcodes-in-conditions/
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-user

#1262447

I'm sorry, but again, that is not my issue. I already have all of that set up.

Please assume all of that above is working. The next step is to have a user be able to pay to upgrade their post to allow more fields to show/be filled in.

#1264063

Minesh
Supporter

Languages: Inglés (English )

Timezone: Asia/Kolkata (GMT+05:30)

Luo is on vacation. This is Minesh here and I'll take care of this ticket. Hope this is ok.

Do you mean once user is created it should be redirected for payment?

Have you checked the Toolset Forms commerce?
=> https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/

#1264401

I got this resolved through a different ticket

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.