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.