Skip Navigation

[Resolved] Use custom field value as product price when checkout

This support ticket is created 6 years, 2 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
- 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 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1140759

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?

#1140811

Hi,

This is expected result, the Woocommerce plugin setup product price in single product post, please edit it here:
hidden link
there is an option "Regular price", here you can setup the product price.

As I understand, if you are going to use custom field "Price per gig" of post type "artist" as the product price, there isn't such kind of feature within Toolset form plugin.

It needs custom codes, for example you try with Woocommerce filter hook woocommerce_before_calculate_totals, see similar thread here:
https://toolset.com/forums/topic/form-work-only-on-my-pc/#post-1132566

More help:
hidden link