Everything you need to set up Aluleth Wishlist & Compare, the plugin that adds a heart and a compare button to every product of your WooCommerce, FluentCart or Aluleth Commerce shop: wishlists for guests and customers, sharing, price drop and back in stock emails, and a comparison table. Want to see it first? Open the live demo and its demo admin.
Contents
- Requirements
- Installation
- Licence and updates
- The buttons
- The wishlist page
- Guests
- Several lists
- Sharing a list
- Price drop and back in stock emails
- Comparison
- A counter in your header
- Statistics
- Aluleth Commerce Pro
- Page caching
- Privacy
- For developers
- Languages
- Uninstalling
- Troubleshooting
Requirements
- WordPress 6.5 or newer and PHP 7.4 or newer.
- WooCommerce, FluentCart or Aluleth Commerce. The same settings work for the three, and several can be active on one site.
Installation
- In WordPress, open Plugins › Add New › Upload Plugin and choose the zip.
- Activate the plugin. A Wishlist page and a Compare products page are created for you, with the [aluleth_wishlist] and [aluleth_compare] shortcodes.
- Open Wishlist › Settings to choose what you want, then look at your shop: the hearts and compare buttons are already on the products.
Licence and updates
Open Wishlist › Licence, paste the licence key from your Market account and click Activate. Updates then come to your Plugins screen like any other plugin. The three Annual licences (single site, 5 sites, unlimited sites) include one year of updates and support; after that the plugin keeps working and you renew only if you want new versions. The three Lifetime licences (single site, 5 sites, unlimited sites) have no end date. To move a licence to another site, click “Deactivate on this site” on the old site first.
The buttons
The heart (wishlist) and the compare button appear on product cards (shop, categories, product grids and blocks) and on product pages. They use the places your store already has, in classic and block themes, so they follow your theme.
- Turn them off per place in Wishlist › Settings › Buttons: on product cards, on product pages.
- Put them anywhere else with the shortcode [aluleth_wishlist_button id=”123″] (the id of the product; inside a product page the id can be left out).
- A product page with options (size, colour…) saves the variation chosen by the customer.
The wishlist page
The page shows every saved product with its price now, a “Price dropped (was X)” badge when it got cheaper since it was saved, its stock, a private note the customer can write (size, colour, for whom…), and buttons to add one product or the whole list to the cart, move a product to another list or remove it. Products that need options are opened on their own page instead of being added from the list.
The page is filled after it loads, so it can be cached like the rest of the shop. To use another page, choose it in Wishlist › Settings › Pages and put the [aluleth_wishlist] shortcode on it.
Guests
With “Visitors without an account can keep a wishlist” on (the default), a guest gets a list on that browser, kept for the number of days you choose after the last change (30 by default). When the guest signs in or creates an account, the list joins the account and follows the customer on every device. Turn the setting off to ask visitors to sign in first.
To stop a script from creating lists, a connection can start at most 20 new guest lists an hour.
Several lists
Turn on “Customers can make several lists with their own names” to give customers tabs: My wishlist plus lists such as Birthday ideas or For later. They can create, rename and delete lists (the main list stays), and move products between them. It is off by default, for shops that only need one list.
Sharing a list
With sharing on, customers tick “Share this list with a link” and copy the link. The person who opens it sees the products of that list with their prices and “Add to cart” buttons, under the title “Shared wishlist” (or the list’s own name). They never see the customer’s name, email or notes. “New link” makes a new address and stops the old one.
Price drop and back in stock emails
Turn on “Offer signed-in customers an email when a saved product drops in price or is back in stock” and set the smallest price drop that counts (5% by default). Customers then switch the emails on for each list on their wishlist page. A daily task sends at most one email a day per customer, with up to 20 products and a link to stop the emails. Emails are sent by WordPress, like your other shop emails, so no outside service is needed; use an SMTP plugin if your site’s emails tend to land in spam.
Comparison
The compare button adds the product to a bar at the bottom of the screen. From there customers open the comparison page, a table with one column per product. Choose in the settings how many products can be compared at once (4 by default, 6 at most) and which rows to show: image, price, rating, availability, SKU, attributes, weight, dimensions, short description and the add to cart button.
“Show only the differences” hides the rows where every product is the same. The products to compare stay in the visitor’s browser; the comparison page has its own address with the products in it, so it can be bookmarked, shared and cached.
A counter in your header
Put [aluleth_wishlist_count] in your header, menu or a widget: it shows a heart with the number of saved products and links to the wishlist page.
Statistics
Wishlist › Statistics shows how many products are saved, how many were saved in the last 30 days, how many customers and guests have a list, how many lists are shared and how many have emails on, and the products wished most. It tells you what people want before they buy: good candidates for a promotion or a restock.
Aluleth Commerce Pro
With Aluleth Commerce Pro, Wishlist & Compare also appears in Commerce › Settings › Modules. Turning the module off removes the buttons and pages from the Commerce shop only, without deactivating the plugin for WooCommerce or FluentCart.
Page caching
Every visitor gets the same HTML, so page cache plugins and hosts can cache your shop as usual. The script asks for the visitor’s saved products after the page is shown, and only for visitors who saved something or are signed in. The script and the style load only on pages with a button.
Privacy
- A guest is known by a random code in a cookie; the database only keeps a hash of it.
- The products to compare stay in the browser.
- The wishlists are included in WordPress’s personal data export and erasure tools (Tools › Export Personal Data and Erase Personal Data).
- A suggested text is added to Settings › Privacy for your privacy policy.
For developers
Shortcodes:
- [aluleth_wishlist]: the wishlist page.
- [aluleth_compare]: the comparison page.
- [aluleth_wishlist_button id=”123″]: the buttons of one product (optional store=”woocommerce”, “fluentcart” or “aluleth-commerce” when several stores are active).
- [aluleth_wishlist_count]: the counter.
Hooks:
alwl_item_added(action): a product was saved; receives the list id, the store and the product id.alwl_capability(filter): the capability that sees the Wishlist screens (manage_options by default).alwl_can_save_settings(filter): return false to make the settings read-only.alwl_guests_per_hour(filter): new guest lists allowed per connection and per hour (20).alwl_merge_guest(filter): return false to keep a guest list apart when someone signs in (for example a shared demo account).
Colours follow your theme. Change them with CSS variables, for example:
:root {
--alwl-accent: #d6336c; /* hearts and badges */
--alwl-bg: #fff; /* dark themes: their background */
--alwl-fg: #1d1d1f; /* dark themes: their text colour */
}
Languages
English, French, Spanish and Filipino are included. The plugin follows the language of your site; other languages can be added with Loco Translate or a .po file in wp-content/languages/plugins/.
Uninstalling
Deactivating keeps everything. Deleting the plugin removes its data only if “Delete the lists and the settings when the plugin is deleted” is ticked in the settings; then the tables, the settings and the pages the plugin created (moved to the trash) are removed. Pages you made yourself are never touched.
Troubleshooting
- No hearts on the products: check that the buttons are on in Wishlist › Settings › Buttons. Some themes rebuild product cards in their own way: then use the [aluleth_wishlist_button] shortcode in the card template or a block.
- Hearts do not stay filled after a click: a cache or security plugin may block admin-ajax.php for visitors; allow it for the
alwl_actions. - The wishlist page is empty: make sure the page chosen in Wishlist › Settings › Pages contains the [aluleth_wishlist] shortcode.
- No emails: the emails are off until you turn them on in the settings, and customers must turn them on for their list. Check that WordPress can send email (an SMTP plugin helps) and that WP-Cron runs.
- Licence refused: each licence works on the number of sites it was bought for; deactivate it on the old site first. Local and staging sites (for example ending in .test or .local) do not count.