OpenCart 2.3–4.1 extension

Supreme Cart Drawer

A cart that slides in from the side the moment a shopper adds a product, so they never leave the page they were on. They change quantities, remove items, apply a coupon, see how close they are to free shipping and add a suggested product with one click, then go to checkout. It works with your theme's normal Add to Cart button; there is nothing to place in a layout.

$20
Supreme Cart Drawer — overview

For OpenCart 2.3, 3.0, 4.0 and 4.1

What the shopper sees

  • The drawer opens after Add to Cart (any add that goes through the shop's own add-to-cart address), and from the cart button in the header if you want that.
  • Every line with picture, name, options, plus / minus quantity buttons and a box to type a quantity, a remove button, line total, and the shop's own totals (sub-total, coupon, taxes, shipping, total) exactly as the cart page would show them.
  • Free-shipping progress bar: "Add $X more for FREE shipping", turning to "You have unlocked FREE shipping!" at the value you set. Shown only when the cart needs shipping.
  • Coupon box that uses the shop's own coupon rules and messages. The applied coupon and its discount show in the totals and can be removed.
  • One-click upsells: the related products of what is in the cart, then what other customers bought in the same orders (from your own order history), then a list of product numbers you choose. Products already in the cart, disabled, out of stock, or with a required option are never offered.
  • Closes with the X button, a click on the dimmed page or the Esc key. Focus moves into the drawer and back, the page does not scroll behind it, and the header cart count follows every change.

Settings

  • Open after add to cart, open from the header cart button, hide on cart and checkout pages.
  • Side (left or right), width 320 to 560 pixels (never wider than the window), accent colour, dim the page, product pictures on or off.
  • Free shipping value (0 hides the bar), coupon box on or off, upsells on or off, use related products, use what other customers bought with them, extra product numbers (up to 20), number of upsells (1 to 6).
  • All storefront wording is in one language file; copy it into another language folder and translate the right-hand side.

Safe by design

  • It never changes the shop's own cart, checkout or coupon code. Quantity changes use the shop's cart library; coupons are applied by the shop's own coupon address.
  • A visitor can only change their own cart. A quantity must be a whole number from 0 to 9999, a cart key must exist in that visitor's cart, and changes need a form post.
  • Product names and option text are escaped before they are shown. Admin settings are checked on save and need the Modify permission.
  • No database tables. Uninstall removes its settings and events.

Notes

  • Tested on stock demo shops with a standard theme and a custom theme, in a real browser engine. A heavily customised theme may need a small CSS change for the colours and fonts.
  • The header cart button is found as the first button inside the element with the id "cart" or "header-cart". A theme without either keeps its own cart dropdown; the drawer still opens after Add to Cart.
  • The quantity buttons change one line at a time and do not check stock on their own: the cart page and checkout still do their normal stock checks.
  • Products with required options (size, colour) are not offered as one-click upsells, because the shopper has to choose first.
  • Gift vouchers in the cart are listed but cannot be edited in the drawer.

Screenshots

Supreme Cart Drawer — Storefront drawer
Storefront drawer
Supreme Cart Drawer — Admin settings part 1
Admin settings part 1
Supreme Cart Drawer — Admin settings part 2
Admin settings part 2

More modules

You May Also Need.

Supreme AI Shopping Assistant

A chat button for your shop. Visitors ask about products, delivery and returns and get a short answer based on YOUR catalogue and YOUR policy text, using your own OpenAI or Anthropic API key. Anything the assistant cannot answer is handed to a real person on WhatsApp or e-mail.

Supreme Advanced Product Filter

Let shoppers narrow a category, brand or search page to exactly what they want, without leaving the page. A filter panel appears next to the products, the list updates as soon as a choice is ticked, and every choice shows how many products are behind it.

See all OpenCart modules