OpenCart has the option to show an out-of-stock of warning but will depend on several things:

out-of-stock-option opencart15-options-outofstock-options2

  • Is the quantity for the item 0 in all of the product sections? (Data and Option tabs)
  • Is the Out-of-Stock warning enabled in the Option section of the OpenCart 1.5?
  • Is the Out-of-Stock warning set to be displayed as per the Out of Stock Status option the

    Note that the screenshots to the left indicate where stock has been zeroed in order to show the out-of-stock warning on the product page

    The following tutorial will walk you through the process of setting the show out-of-stock warning on the Product page. 

How to Enable the Show Out-of-Stock Warning in OpenCart 1.5

  1. Login to the Administration Dashboard as an Administrator
  2. Hover over the menu bar where it says SYSTEM and then click on SETTINGS in the drop-down menu
  3. Select the STORE that you wish to edit and then click on EDIT on the far right to proceed
  4. Click on the TAB that says OPTION, then scroll down until you see the option labeled SHOW OUT-OF-STOCK WARNING as shown below:

    opencart-options-out-of-stock-warning

  5. Select YES to enable the option and NO to disable it. 
  6. Click on the blue SAVE button in the top right hand corner of the screen to save your selection

The Show-out-of Stock warning is an option that requires a few things to occur in concert before the warning is actually displayed.  When it is displayed on the store front it will appear as below:

opencart15-options-outofstockresult

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Comments

n/a Points
2014-05-02 10:45 am

how to automatic remove out of stock product from website?

Staff
9,258 Points
2014-05-02 11:05 am
Hello Liyana,

Thank you for your comment. Since there is no "built-in" option for automatically removing out of stock products, the easiest way would be to use an extension such as the Hide Remove Out of Stock/No Stock Products from Category.

They also provide a coding solution on the official OpenCart forum here.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.