Skip Navigation

[Resolved] Transition between limited posts and purchasing the full post

This support ticket is created 6 years, 1 month 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by Luo Yang 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1139554

I am trying to:
sell an artists information to other members to book them in for an appearance/concert.

Link to a page where the issue can be seen:
hidden link

I expected to see:
once user has registered, they view available artists > click relevant artist to view minimal information > click "BOOK 'EM" button > return a page with a form for the booker to fill in including a calendar and a "PAY NOW" button to go through to PayPal on completion of the paypal transaction they are then diverted back to obtain and view the Full information of the artist, this information is visible for only 24 hours.

Instead, I got:
view available artists > click relevant artist to view minimal information > click "BOOK 'EM" button > I go through to a blank page with a submit button.

What I need to see is:
user clicks "Book 'Em" > leaves all details and calendar date for appearance goes to submit and diverted to paypal > pays full amount and on completion of payment is diverted back to page with a full copy of the artists information to read for 24hours before it is hidden again.
PLEASE NOTE:
the product is the artist and all the details of an artist are inputted by the actual artist (including the price) via an artist submit form (Drop Down from main menu on website) that person must also be registered on the site to complete the artist submit form.

I am totally lost and confused by it all. any help is greatly appreciated.
Regards
Michael

#1140240

Hello,

Thanks for the details, I can login your website, and see the problem you mentioned above.
In your case, you just need to follow our document to setup your Toolset form:
https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/

For example,
1) I suggest you start with a simple product:
hidden link
"Stock status" choose "In Stork"

2) Edit the post form "Create Artist Order":
hidden link
option "After visitors submit this form" choose "Go to checkout page"

3) Choose option "Always this product, regardless of form inputs:" "Artist order"

4) in section "Content", you can get the artist post ID with shortcode:
[wpv-search-term param="parent_artist_id"]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term
and display the artist post title like this:
Artist post title: [wpv-post-title item='[wpv-search-term param="parent_artist_id"]']
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/

After user click the "BOOK 'EM" button, it will pass URL parameter "parent_artist_id" to target page, see it here in your website:
hidden link

#1140560

Can I leave this open please for the next couple of days to allow me sufficient time to engage what is needed?

#1140626

I sort of understanding what has been done here but the actual price of the Artist booking is not being pulled into the form and it is not directing to the PayPal payment gateway to take the necessary funds from the booking person and then there is no redirection to the actual full conscript of the artist just purchased?

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/use-custom-field-value-as-product-price-when-checkout/

#1140760

For the new question "the actual price of the Artist booking is not being pulled into the form ... ", please check the answer in new thread :
https://toolset.com/forums/topic/use-custom-field-value-as-product-price-when-checkout/

#1143897

Thank you for the reply, and am grateful for the time you took to answer.
The reason I bought toolset was because it said you did not need to know php? but I am finding more and more that I do need to learn this!
In relation to your last 2 points on here -

"After user click the "BOOK 'EM" button, it will pass URL parameter "parent_artist_id" to target page, see it here in your website:
hidden link"
This is not the case it leads to a blank page.
The code required to pull in the price is confusing to me to, I am not sure what needs to change for me for it to work 🙁
The site has moved to another server please contact me if you wish to gain further access

#1144791

I assume you are going to use custom field "Price per gig" as the actual price when use submits the form.

Can you confirm it?

If it is, the field "Price per gig" is setup in post type "Artist", it is not price of Woocommerce product post, you will need to setup a price value into for the product post, here:
hidden link
option "Regular price"

More help:
https://woocommerce.com/posts/woocommerce-pricing/

For the field "Price per gig" to product price there isn't such a built-in feature within Toolset form plugin, so it needs custom codes, see my answer in this thread:
https://toolset.com/forums/topic/use-custom-field-value-as-product-price-when-checkout/

Please update above thread if you need assistance to setup the custom codes.