Magento 2 Custom Stock Status

The Documentation

After downloading the package, please proceed with the following steps:

Step 1:

Please unzip the archive.

Step 2:

Disable cache at System -> Cache Management.

Step 3:

Unload the contents of the module package to the Magento root folder. This will not over write the existing Magento files, only the new contents will be added.

Step 4:

Using SSH, go to Magento root folder and run command below:

1. Run command to update database : php bin/magento setup:upgrade

2. Run command to deploy : php bin/magento setup:static-content:deploy

Step 5:

Refresh your admin user access rights: log out from your store admin and then login back. Next, please Enable Cache.

1. General Configuration

Go to the CMSIDEAS -> Custom Stock Status -> Settings or Stores -> Settings -> Configuration -> CMS IDEAS EXTENSIONS -> Custom Stock Status

You should configure information to the fields, then click the "Save Config" button to save your work.

- Enable tab:

- Settings tab:

Display when Out Of Stock? -
Set to "Yes" to show stock status when products get out of stock

Expected Date Format - Allow you to set date format to show expected date

Pre-order Date Format - Allow you to set date format to show pre-order date

Hide Expired Expected Dates? -  When set to "Yes", allow to hide all expired expected dates

Show Stock Info Link - When set to "Yes", allow to the link to specific CMS page showing stock information

Stock Info Link Text - Enter text to link the stock information CMS page

CMS Page - Choose page for URL of the stock information CMS page

Show On Catalog Page? - When set to "Yes", allow show stock information on category listing page

- Shipping Options tab:

- Configuration for each product type:

You can configure for the frontend display about custom stock message for each product type in the tabs: Simple Products, Configurable Products, Bundle Products, Grouped Products and Virtual Products

2. Display in frontend

- Display on the category page

- Displayed on the product details page