Wish lists
A wish list lets a shopper save products they’re not ready to buy. In TitanCart it’s built in: a heart on every product card and product page, a Wishlist section inside My Account, a page you can place anywhere with a shortcode, and — since 0.2.83 — a list that works before the shopper has an account, kept in their browser and folded into their account when they sign in. Nothing to install; it’s on by default.
Edition note: Wish lists are part of TitanCart Lite and TitanCart Pro alike. Pro stores can add Wishlist+ on top for several named lists, gift registries, price-drop and back-in-stock e-mails and richer sharing; this article covers the built-in list.
1. Turning it on and its settings
Open Extensions and find the Wish List card under Built-in Extensions. It ships enabled; the card’s switch turns the whole feature on or off, and the gear icon on the card opens its settings:
- Allow guest wish lists — on by default. Lets visitors who aren’t signed in save items (section 3). Off, the heart asks them to log in.
- Maximum items per wish list — 50 by default; 0 means no limit. When a list is full the heart answers Your wish list is full (50 items). Remove something to add more.
- Show wishlist icon in header, Show heart button on product cards, Show wishlist button on product detail page — these three switches do not take effect in this version. The heart, the product-page button and the header icon follow the card’s main switch: all on while Wish List is enabled, all gone when it’s disabled.
Switching the card off removes every heart and button, makes the wishlist shortcode render nothing, and sends /my-account/wishlist/ back to the account dashboard. Saved lists are kept (guest lists included — their 30-day clean-up pauses while the card is off), so switching it back on restores them.
2. What shoppers see
On product cards in the shop, categories and search results, and on each product page, a heart (labelled Wishlist on the product page) saves the product; a filled heart means it’s already saved and clicking again removes it. A short toast confirms each action — Saved to wishlist! or Removed from wishlist. — and on each page the hearts of the shopper’s twenty most recently saved products show as filled (older saves are still on the list, their hearts just start empty). In TitanCart’s standard storefront header a heart icon links to the list, the footer has a Wishlist link, and My Account gains a Wishlist entry; a theme may place these differently.
The list itself lives at /my-account/wishlist/. Each saved product shows its image, a Sale badge with the old and new price when it’s on promotion, a trash icon to remove it, and an Add to Cart button that puts one of it in the cart without removing it from the list. A product that has since been disabled or sold out shows Unavailable instead. An empty list says Your wishlist is empty. with a Browse Products button.
- Buying a product does not remove it from the list; the shopper removes it themselves.
- A product with options (size, colour) can’t be added to the cart from the list, because no option has been chosen: the shopper is told to choose the options on the product page. Saving such a product to the list works normally.
- There is one list per customer; Wishlist+ is the way to offer several.
3. Guest wish lists
With Allow guest wish lists on, a visitor who isn’t signed in can use the heart like anyone else. Their list is tied to the same browser cookie as their cart, which lasts 30 days, and their wishlist page carries a notice: Your wishlist is saved in this browser for 30 days. Log in or create an account to keep it on every device. Only a save creates a list; browsing never does.
When that visitor signs in, their guest items are merged into their account’s list: anything already there is skipped, the rest is appended in the order it was saved, and the guest list is deleted. If the merge would exceed Maximum items per wish list, the items beyond the limit are dropped. Creating an account through the storefront registration form, or the Save your details for next time card after a guest checkout, counts — both sign the new customer in, so the merge happens there too (unless your store holds new accounts for approval, in which case it happens at their first sign-in). Two cases do not merge immediately:
- Google / Facebook sign-in uses a different mechanism and doesn’t trigger the merge. The items stay against the browser cookie and merge the next time that person signs in with e-mail and password from the same browser.
- Another browser or device, or cleared cookies — the list only exists in the browser that made it. After 30 days without a new item it is removed for good.
A guest who checks out without an account keeps their list: TitanCart carries it across to the fresh session it starts after an order. Guest saves are rate-limited (60 an hour per address) to keep bots from filling your database.
Wishlist+ stores: if Wishlist+ is active with its own Guest wishlists switch on, Wishlist+ handles guest saving and the built-in guest list stays out of the way. Turn its guest switch off to use the built-in one instead — the two never run at once.
With Allow guest wish lists off, a guest who clicks a heart sees Please log in to save items to your wishlist. and is taken to the login page; /my-account/wishlist/ shows the sign-in panel.
4. A wishlist page of your own, and sharing
Besides the account section, the shortcode [titancart_wishlist] renders the list on any page you create (see Storefront pages & shortcodes). It shows the same products with In Stock / Out of Stock labels, the date each was added, Add to Cart (or Currently Unavailable) and Remove, twenty to a page, with a link back to My Account; its layout is plainer than the account section and prices show without a currency symbol. Guests see their guest list here with the same 30-day notice.
This page is also where sharing lives. A signed-in customer sees Share your wishlist: with a link and a Copy button; anyone who opens that link sees Name’s Wishlist, read-only, with a View Product button on each item (the first fifty items). The link is made the first time the customer opens the page, is unguessable, and keeps working for as long as the list exists; there is no switch on the page to withdraw it. Guests can’t share — the account section has no share box either.
Create the page before you promise sharing. The share link always points to
/wishlist/?tc_wishlist=…on your site, and TitanCart does not create a page at that address — the Wishlist row under Storefront → Pages is the account section, served without a WordPress page. For the link to work, publish a page whose slug is exactly wishlist containing[titancart_wishlist]. Every store running Wishlist+ already has it, and some stores set up with older versions do too — check Pages in WordPress for a published page at that slug before creating one. Without it the link opens your site’s “page not found”. One more thing to know: a share link with a wrong or outdated key doesn’t show an error — the visitor sees their own list on that page, usually empty.
5. Privacy
A customer’s wish list is personal data: when the GDPR extension’s self-service options are on, the Download my data export on their account page includes it, and deleting the account — by the customer or by you — removes it with the rest of their profile (see GDPR & cookie consent). Guest lists hold no name or address, only product ids against a cookie, and are purged after 30 days of inactivity.
What wish lists do — and don’t
Note: The built-in wish list is deliberately simple: one list per shopper, saved in TitanCart’s own tables, with sharing by link. There is no admin report of what’s been saved or how often, no e-mail when a saved item drops in price or returns to stock, and no automatic clean-up after a purchase. Wishlist+ adds the alerts, multiple lists and registries.
Troubleshooting
- There are no hearts on my products. The Wish List card under Extensions is switched off; the three display switches in its settings don’t control the hearts.
- Visitors are sent to the login page when they click a heart. Allow guest wish lists is off in the Wish List settings.
- “Your wish list is full.” The shopper has reached Maximum items per wish list. Raise it, or set it to 0 for no limit.
- A customer’s saved items disappeared when they created an account. They signed in with Google or Facebook, used a different browser, or cleared cookies (section 3). Items saved as a guest merge at the next e-mail-and-password sign-in from the browser that holds them — for up to 30 days.
- The share link gives “page not found”. There is no page at
/wishlist/. Publish one with the slug wishlist and the[titancart_wishlist]shortcode (section 4). - Someone opened a shared link and saw an empty list, or a log-in prompt. The key in the link was wrong or incomplete, so the page treated them as an ordinary visitor and showed their own (empty) list, or asked them to log in when guest lists are off. Ask the owner to copy the link again from the wishlist page.
- “Add to Cart” on the list says to choose options. That product has options; it has to be added from its own page.
See also
- Setting up Wishlist+ — multiple lists, gift registries, price and stock alerts (Pro).
- Storefront pages & shortcodes — where
[titancart_wishlist]can go and how the Pages screen works. - Managing customers — the account side of your shoppers.
- GDPR & cookie consent — exports, erasure and the cookies TitanCart sets.
- Products overview — the catalogue the hearts sit on.