Skip Navigation

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

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.

This topic contains 4 replies, has 3 voices.

Last updated by susanT-4 2 years, 5 months ago.

Assigned support staff: Minesh.

Author
Posts
#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

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

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: English (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