Skip Navigation

[Resolved] wishlist – a cart for products with no price

This support ticket is created 4 years 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)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Luo Yang 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1833755

Tell us what you are trying to do? Use toolset post type to add to a saved list, a wish list, or shopping cart.

Is there any documentation that you are following? Couldn't find anything

Is there a similar example that we can see? A simple text-link "Add to Wishlist" and a View Wishlist, to see all in wishlist.

What is the link to your site?
This page has Mouldings as a custom post type.
hidden link

#1834193

Hello,

Please elaborate the questions with more details, what kind of "saved list, a wish list, or shopping cart" do you want?
I assume we are talking about this case:
1) A custom post type "wish list"
2) You are going to let your website users to create their own "wish list" from WordPress front-end.

If it is, you can try Toolset Forms plugin, see our document:
https://toolset.com/course-lesson/front-end-forms-for-adding-content/

#1835903

Thank you for requesting clarification.

I'm looking for a way for website visitors to add multiple products (Mouldings post type) to a temporarily saved list, which can display a single-page that displays all products added to that list.

I said wish list, because it's like Amazon.com wish list - a place to add products for future purchase/use, but in this case there isn't a cart checkout.

#1836041

I assume you are going to do this:
- Connect one "wish list" post with multiple "Product" posts
- one "Product" posts can connect with multiple "wish list" post

It needs to setup many-to-many relationship between "wish list" and "Product" posts:
https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/

In single "Product" post, you can setup relationship form to connect the "Product" post with user's own "wish list" post:
https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/

#1836839

Does your solution require users to log in as site users? Will a user's list be visible to public visitors? Once a user adds products to the wishlist, how would they print this to the screen? Thank you!

#1838357

Q1) Does your solution require users to log in as site users?
Yes, it requires users to log in as site users, and they need to create their own "wishlist" posts.

Q2) Will a user's list be visible to public visitors?
Yes, you can setup "wishlist" post type be visible to public visitors:
https://toolset.com/course-lesson/creating-a-custom-post-type/

Q3) Once a user adds products to the wishlist, how would they print this to the screen?
After user connect products to the wishlist, in single "product" post, you can display all related "wishlist" by following our document:
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items