OpenCart 2.3–4.1 extension

Supreme Out-of-Stock Handler

Decide what a product page does when the product is sold out, instead of leaving a dead Add to Cart button. A product is sold out when its quantity is 0 or less.

$20
Supreme Out-of-Stock Handler — overview

What it does

  • Four behaviours: a sold out notice with the button turned off; the notice plus similar products that are in stock; a redirect to the product's category page; or the shop's own not found page (404).
  • One default for the whole shop, plus up to 50 rules for one category (sub categories included) or one product. A rule for a product beats a rule for a category; a rule can also be set to leave a product alone.
  • Similar products are taken from the categories of the sold out product, in stock only, 1 to 8 of them, with picture, name and price.
  • A sold out product cannot be added to the cart by a direct request either: the shopper is sent to the product page.
  • Notice text of your own (plain text, 120 characters) and an accent colour. The storefront texts are in a language file you can copy and translate. Status switch.

What it does not do

  • It only handles the product page and the add to cart request. Category pages, search results and listings still show the product as the shop does.
  • Rules for one product use the product number (product_id), there is no product search box.
  • A sold out product is judged by its quantity only, not by the shop's stock status text.

Tested

Installed and used through the real admin installer on OpenCart 2.3.0.2, 3.0.5.1, 4.0.2.3 and 4.1.0.4 (62 to 68 checks each, 0 failures): saving and cleaning settings and rules, the notice, similar products, redirect, 404, category, sub category and product rules, the add to cart request, status off, uninstall and reinstall. The notice, disabled button and similar products were also tried in a real browser on 3.0 and 4.1.

Note

Screenshots are not included yet.

Screenshots

Supreme Out-of-Stock Handler — Admin settings part 1
Admin settings part 1
Supreme Out-of-Stock Handler — Backend settings
Backend settings

More modules

You May Also Need.

Supreme Handling Fees and Surcharges

Add extra lines at checkout by rule: a cash on delivery fee, a small order fee, a remote area fee, packaging for one category, a card payment fee. Each fee is a fixed amount and/or a percentage of the sub-total, with an optional cap, taxable or not. No monthly fee, no outside service, no core files changed.

Supreme Marketplace Sync

Keeps your Amazon and Flipkart stock (and, if you want, prices) the same as in your OpenCart shop, and brings their orders into OpenCart. For Meesho, which has no public seller API, it makes a stock and price sheet. OpenCart is the master.

Supreme Age and Consent Confirmation

Ask shoppers to tick a sentence before checkout when the cart holds a chosen product or any product of a chosen category: "I am 18 or older", "I have read the safety notice", "I accept the special terms". The checkout stays closed until every sentence is ticked. No monthly fee, no outside service, no core files changed.

See all OpenCart modules