Low Stock Urgency Badge — Real Inventory, Real Urgency
Odoo's eCommerce shows "Out of Stock" when it's too late — but says nothing while stock is running low, which is exactly when urgency sells. This module adds an eye-catching "Only X left in stock!" badge on product pages, driven by your real inventory quantity. No fake countdowns, no made-up numbers — just honest scarcity that converts.
Real Stock Numbers
The badge reads your live on-hand quantity — always accurate, never fake urgency.
Global Default
One website-wide threshold in Settings covers all storable products at once.
Per-Product Override
Fine-tune the threshold on individual products when they need different rules.
Smart Hiding
Auto-hidden for services, healthy stock, and out-of-stock items — no clutter.
Key Features
- "Only X left in stock!" badge right next to the Add to Cart / Buy Now button
- Website-wide default threshold — set once in Website Settings
- Per-product threshold override on the product form
- Uses real on-hand quantity — updates automatically as stock moves
- Never shows on service products or products with healthy stock
- Never shows fake numbers — compliant with EU & US consumer protection rules
- Zero JavaScript — fast, server-rendered, works with any theme
Screenshots
How It Works
Set your default threshold in Website → Configuration → Settings → Low Stock Urgency Message (e.g. 5). From then on, any storable product whose available quantity drops to 5 or below shows the urgency badge automatically — and it disappears the moment stock is replenished. Need a different threshold for a specific product? Set it directly on the product form.
Support
For support or customization requests, contact us at magentodeveloper1993@gmail.com
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• eCommerce (website_sale) • Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 79 |
| Technical Name |
tr_low_stock_urgency |
| License | OPL-1 |
| Website | https://www.technicalrajni.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module