1. What this module does
The module shows a short list of products under the cart lines that customers may add to their order: bestsellers, new arrivals, products from the categories already in the cart or accessories of the cart products. When free delivery is only a few euros away, it can show products that close the gap instead, under a title such as "Add €8.40 more for free delivery".
Works with PrestaShop 1.7.8, 8.x and 9.x (PHP 7.2.5 or newer), with the Classic and Hummingbird themes and with multistore.
2. Installation
- Download the module from My account → Order history at addonspresta.com.
- In your Back Office, open Modules → Module Manager and click Upload a module.
- Drop the
ap_cartcrosssell_v1.0.0.zipfile and wait for the confirmation. - Click Configure on the module card.
On PrestaShop 1.7 and 8 with shell access, you can also unpack the zip into modules/ and run
php bin/console prestashop:module install ap_cartcrosssell from the shop folder.
Right after the installation the section is on and shows 3 bestsellers of the whole catalog; the free delivery mode is off.
3. How it works
The section appears on the cart page, below the cart lines. The products use the miniatures of your theme, so they look like the products in your categories. With Hummingbird the miniatures have an add-to-cart button. The Classic theme has no such button on its miniatures: customers click the product and add it from the product page.
Which products can appear. A product is suggested only when all of these are true:
- it is active in the shop, visible "Everywhere" or "Catalog only", and available for order;
- it is in a category that the customer's groups may see (a visitor who is not logged in counts as the Visitor group, as in your category pages);
- it is not already in the cart and not on your list of excluded products;
- it is in stock: with stock management on, its quantity is above 0 (all combinations together); products that can be ordered when out of stock come in only when you switch them on. With stock management off, every product counts as available;
- it matches the source, the categories, the brands and the prices you set in Product selection.
Prices. Every price the module compares is the price the customer pays for one unit of the default combination: with tax, after specific prices and catalog price rules. You enter prices in your default currency; customers who pay in another currency get them converted.
Free delivery. When the free delivery mode is on, the module works out what the cart lacks for free delivery, the same way PrestaShop decides about free shipping: the threshold minus the cart total with taxes and discounts, without shipping. A missing amount exists only when the cart has products, is not made of virtual products only, has no cart rule giving free shipping and is below a threshold greater than 0. While an amount is missing, the section shows products that help reach it, with the free delivery title. Once the threshold is reached, or when no product matches, the section shows the regular list or nothing, as you choose.
Example: free delivery starts at €50.00 and the cart holds €41.60, so €8.40 is missing. With Products that cover the missing amount alone, cheapest first, the section shows products from €8.40 up, starting with the cheapest, for example a €9.90 mug: one of them is enough for free delivery. With Products that fit into the missing amount, it shows products up to €8.40, for example €4.50 socks or a €7.90 notebook, in the order you chose. The title reads "Add €8.40 more for free delivery".
Live refresh. When a customer changes a quantity or removes a product on the cart page, the section reloads without reloading the page: a product just added leaves the list, and the missing amount and the title follow the cart.
Shop settings the module follows. Stock management and catalog mode (Shop Parameters → Product Settings): in catalog mode the section is not shown. The free shipping threshold (Shipping → Preferences → Free shipping starts at), when you use it. The categories each customer group may see.
The module stores only its settings, per shop. It does not change PrestaShop tables, sets no cookies and does not connect to addonspresta.com or any other server. Nothing is cached: the list is worked out for each cart.
4. Features and settings
Open Modules → Module Manager → Cart Cross-Selling → Configure. The Help box at the top links this manual and the module page at addonspresta.com in the language of your Back Office, gives our support address and shows the installed version. Below it are three panels, each with its own Save button.
Cart section
Show the section
Turns the section on or off in the storefront without uninstalling the module.
Title
The heading above the products, for each language, up to 128 characters. It is required in the default language while the section is on; a language left empty uses the title of the default language. After the installation it reads "You might also like".
Number of products
From 1 to 12; 3 by default. Three fill one row on a computer, two on a phone. Fewer products appear when fewer match your rules.
Show with an empty cart
Shows the section on the page of an empty cart too — useful with bestsellers or new arrivals, to invite customers back to shopping. When products come from the categories or the accessories of the cart, an empty cart has nothing to start from and the section stays empty.
Product selection
The panel reminds you of the base rule: only active products available for order that are in stock, in a category the customer may see and not already in the cart.
Products from
- The whole catalog — any product of the shop.
- The categories of the products in the cart — products of the default categories of the cart products.
- The accessories of the products in the cart — the products you link to a product on its product page ("Related product" on PrestaShop 1.7 and 8, "Related products" on 9).
Order
- Bestsellers first — by the number of units sold that PrestaShop records; products without sales follow, newest first.
- Newest first — by the date the product was added to the shop.
- Random, new on every visit — a different selection each time the page loads.
- Cheapest first and Most expensive first — by the price the customer pays.
Only from these categories
Tick categories to suggest only their products; leave everything unticked for all categories. This limit applies on top of Products from: with "The categories of the products in the cart", a product must match both.
Include subcategories
On: a ticked category also brings the products of every category below it. Off: only products assigned directly to the ticked categories.
Only these brands
Choose one or more brands (hold Ctrl, or Cmd on a Mac, to choose several). None chosen: all brands. Without brands in your catalog the list is empty and the setting has no effect.
Minimum price / Maximum price
The price with tax after discounts, in the default currency. Empty or 0 means no limit. The maximum must not be lower than the minimum. You can write decimals with a dot or a comma, for example 9.90.
Only discounted products
Only products the customer gets cheaper thanks to a specific price or a catalog price rule.
Also products orderable when out of stock
Off: only products with stock. On: also products without stock that accept orders, either set so on the product or following the shop's Allow ordering of out-of-stock products. With stock management off in PrestaShop every product counts as available and this setting has no effect.
Never show these products
Product IDs from Catalog → Products, separated by commas, for example 12, 7, 31 (spaces and semicolons work too), up to 200 IDs. An ID stays on the list even if the product is deleted later.
Free delivery
While the cart is below the free shipping threshold, the section shows products that help reach it, with its own title. The rules of the product selection still apply to these products.
Free delivery mode
- Off — the section always shows the regular list.
- Products that cover the missing amount alone, cheapest first — products whose price is at least the missing amount (and within your minimum and maximum price): one of them is enough for free delivery.
- Products that fit into the missing amount — products whose price is at most the missing amount (and within your price limits), in the order you chose: small additions that do not overshoot.
Threshold
- From PrestaShop (Shipping > Preferences) — uses the "Free shipping starts at" amount; the option shows the current value or "not set".
- Own amount — use it only when free delivery comes from carrier ranges or a cart rule.
If you save with the free delivery mode on and no PrestaShop threshold, a warning reminds you to set one.
Own threshold
The order total with tax and discounts, without shipping, in the default currency. Required, and greater than 0, when Threshold is Own amount and the free delivery mode is on.
Title while free delivery is missing
The heading of the free delivery list, for each language, up to 128 characters. {amount} is replaced with the
missing amount in the customer's currency. It is required in the default language while the section and the free
delivery mode are on. After the installation it reads "Add {amount} more for free delivery".
When free delivery is reached or no product fits
- Show the regular list with the regular title — the section falls back to the list of the product selection.
- Hide the section — nothing is shown until an amount is missing and a product matches.
5. Multistore
Settings are saved for the shop or shop group selected in the Back Office header. Select All shops to set the same values everywhere, or a single shop to give it its own products, titles and free delivery rules. In the All shops or group context only an employee who manages every shop of that context can save. Each shop suggests only its own active products and follows its own threshold. One licence covers every shop of the installation.
6. Uninstall
Module Manager → Cart Cross-Selling → Uninstall removes all the module's settings and titles. To keep them, use Disable instead.
7. FAQ and troubleshooting
The section does not appear in the cart. Check that Show the section is on and that catalog mode is off. On an empty cart the section needs Show with an empty cart and a source other than the categories or accessories of the cart. With Hide the section it appears only while free delivery is missing. Then check that at least one product matches your rules, and clear the cache in Advanced Parameters → Performance.
A product I expected does not appear. Check, in this order: it has stock (or is orderable when out of stock with that setting on); it is active, visible "Everywhere" or "Catalog only" and available for order; one of its categories is open to the customer's group (Customers → Groups settings of the category); it is not already in the cart; its ID is not in Never show these products; it matches the categories, brands, minimum and maximum price and Only discounted products. Finally, the list stops at Number of products.
A customer added a product from the free delivery list, but still pays for shipping. With a percentage cart rule in the cart, "cover the missing amount" is approximate: the rule also lowers the price of the added product, so the total may stay a little below the threshold. The section then shows the new, smaller missing amount. Make sure the module's threshold is the amount at which your shipping really becomes free.
After saving I see a warning that no free shipping threshold is set. The free delivery mode uses the PrestaShop threshold, but Shipping → Preferences → Free shipping starts at is empty. Set the amount there, or choose Own amount and enter it in Own threshold. Until then no amount is missing, so the section shows the regular list, or nothing with Hide the section.
Some customers see prices without tax. Which price do the filters use? Always the price with tax, after discounts — also for a customer group whose Price display method is set to tax excluded. PrestaShop compares the free shipping threshold with the total with tax, so the module does the same. Set the minimum and maximum price with tax in mind.
In multistore, bestsellers of one shop include products sold in another. PrestaShop keeps one sales counter per product for all shops together, so Bestsellers first follows the sales of every shop. Choose another order or limit the categories for a shop that should differ.
Bestsellers first shows the newest products. Your shop has no recorded sales yet for those products: products without sales are ordered newest first.
The products have no add-to-cart button. The section uses your theme's miniatures. The Classic theme has no button on them: customers open the product and add it there. Hummingbird shows the button.
A text is still in English in my shop. The titles are settings: fill them in for each language in Cart section and Free delivery. At installation they are saved in English, Polish, French, German, Spanish and Italian, and in English for other languages. The other texts of the module are translated in International → Translations → Installed modules translations.
Can I change how the section looks?
Yes, from your theme, so your changes survive updates: the README.md file in the module zip, section
"Customising", lists the template sections and CSS classes you can change.
8. Updates and support
Updates are free for life: download new versions from My account → Order history at addonspresta.com and upload them like a new module. Your settings are kept.
Support is included for 12 months from your order: write to mail@addonspresta.com or use the contact form at addonspresta.com (Monday to Friday, 10:00–16:00 CET; we usually answer within 2 business days). Please include your PrestaShop version, the module version and the steps that lead to the problem.