[Resuelto] Directory Site – Have a user pay to upgrade their account and show more info
This support ticket is created hace 5 años, 5 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
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?
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]
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.