Disable Add To Cart When Out Of Stock



Supports



Title
Disable Add To Cart When Out Of Stock - OpenCart 2.x + 3.x + 4.x

Short Description
Prevent customers from adding out-of-stock products to cart. This module automatically disables the Add to Cart button everywhere and replaces it with a custom message like "Out of Stock". Multi-language supported with flexible options to hide price or disable button.

Demo
Admin: Admin > Extension > Module
Category Page
Search Page
Product Details Page

Key Features
• Disable Add to Cart Button when product is out of stock.
• Custom Button Text – Show "Out of Stock" or your own message (multi-language supported).
• Works Everywhere – Home, Category, Specials, Search, Manufacturer, Modules, and Product Detail pages.
• Hide Price Option – Yes/No setting to hide product price if out of stock.
• Disable Add to Cart Option – Yes/No setting for complete control.
• Seamless Integration – OCMOD based, no core file changes.

Compatibility
• OpenCart 2.X + 3.X + 4.X
• Supports PHP 5.6 – 8.3
• Tested with default theme & Journal 3
• No core file changes
• Built using OpenCart coding standards
• Lightweight and performance-friendly
• Multi-language & Multi-store supported

Installation Steps
• Upload the extension via Extensions - Installer
• Install module from admin - extension - module

Support & Updates
• Free installation and free support
• Response time: within 24 hours
• Support all theme journal2, journal3, pavo, foster template
• Note : Extension license valid for single domain only

Why Choose This Module?
• Improves Shopping Experience – Customers won’t waste time trying to buy unavailable products.
• Avoids Customer Frustration – Clear “Out of Stock” message instead of checkout errors.
• Flexible & Customizable – Set button text per language and control visibility of prices.
• Professional Storefront – Clean UI with transparent product availability.
• Easy to Install & Manage – No coding, works instantly with OpenCart default and popular themes.

Images & Screenshots View all screenshots
• Product Detail Page – Add to Cart replaced by “Out of Stock” button.




• Category Page – Product grid showing “Out of Stock” instead of Add to Cart.


• Admin Settings – Options to set custom text, hide price, enable/disable feature.





Price
$25.00

  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included

Rating

Compatibility
2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.0.1, 2.3.0.2, 3.0.0.0, 3.0.1.0, 3.0.1.1, 3.0.1.2, 3.0.1.3, 3.0.2.0, 4.x.x.x, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8, 4.0.0.0, 4.0.1.0, 4.0.1.1, 3.x.x.x, 4.0.2.0, 4.0.2.1, 4.0.2.2, 4.0.2.3, 3.0.3.9, 3.0.4.0, 4.1.0.0, 4.1.0.1, 4.1.0.2, 4.1.0.3, 3.0.4.1, 3.0.5.0

Last Update
4 May 2026

Created
30 Jun 2018
76 Sales
5 Comments
OpencartTools
OpencartTools
Member since: 2 Feb 2015

View all extensions Get Support