Skip Navigation

[Resolved] Adding a cart system to a custom post type

This thread is resolved. Here is a description of the problem and solution.

Problem:

Is there a separate cart functionality in Toolset that I could use to pass the property ID to the form?

Solution:

There isn't such a built-in cart feature within Toolset plugins.

I think Woocommerce plugin is best approach for this, for example:

1) You can setup each property as a product post of Woocommerce plugin, add custom fields to post type "product"
https://toolset.com/documentation/user-guides/using-custom-fields/

2) User will be able to add multiple products(properties) into the cart

3) And you can format the single product post and archive page with Woocommerce plugin:

Relevant Documentation:

https://toolset.com/documentation/user-guides/#woocommerce-views

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

Last updated by collinC-2 6 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#653615

Hi, we're using WP Types to list out properties our client visitor might be interested in buying. Here's an example of what one looks like: hidden link. The form is a GravityForm and the submitted information is stored so if you go to another property, the personal information is auto added to the next form. The only thing unique in the form is the property ID (ex. TX-CP28). Our client has asked that we create a cart system for this. Visitors would add multiple properties they're interested and then fill out their personal information once. I know that WP Types integrates with Woocommerce but I don't think that's the right approach for this. Is there a separate cart functionality in WP Types that I could use to pass the property ID to the form? Please let me know if I'm missing something. I'm happy to provide more information on my issue if you need it.

Thanks,

Collin Condray
Director of Technology
BlueZooCreative.com

#654801

Dear Collin,

There isn't such a built-in cart feature within Toolset plugins.

Yes, I think Woocommerce plugin is best approach for this, for example:

1) You can setup each property as a product post of Woocommerce plugin, add custom fields to post type "product"
https://toolset.com/documentation/user-guides/using-custom-fields/

2) User will be able to add multiple products(properties) into the cart

3) And you can format the single product post and archive page with Woocommerce plugin:
https://toolset.com/documentation/user-guides/#woocommerce-views

#673526

OK, we'll give that a try and see if it works. Thanks!