+ All Categories
Home > Documents > Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock...

Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock...

Date post: 16-Aug-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
20
Custom Stock Status - Magento 2 USER MANUAL www.mageants.com [email protected] Page | 1
Transcript
Page 1: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Custom Stock Status - Magento 2

USER MANUAL

www.mageants.com [email protected] Page | 1

Page 2: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Table Of Contents

Preface.....................................................................................3Installation Guide.......................................…............................4Configuration............................................................................5Front end Samples..................................................…..............14

www.mageants.com [email protected] Page | 2

Page 3: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Preface

Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default Magento stock status with precise and understandable stock statuses and custom message about product availability.

- Custom stock status display in all product type

- Create multiple custom stock statuses

- Upload special icons for stock statuses

- Add statuses to products automatically or manually

- Show out of stock options of configurable items

- Display quantity based stock statuses

- User Friendly and flexible configuration.

- Compatible with Most of the Browser.

www.mageants.com [email protected] Page | 3

Page 4: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Installation :-

There are two ways of installing extension in magento2.1) Using COMMAND LINE.2) Manually Install extension.

Option 1: Magento 2 install extension using COMMAND LINE (Recommended)

Step 1: Download the extension and unzip it.

Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.

Step 3: Disable the cache under System -> Cache Management.

Step 4: Enter the following at the command line: php bin/magento setup:upgrade and php bin/magento setup:static-content:deploy

Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Stores -> Configuration -> Custom stock status, the

module will be displayed in the admin panel.

Option 2: Magento 2 install extension manually

Step 1: Download the extension and unzip it.

Step 2: Upload it to code directory in your magento installation’s app directory If code directory does not exists then create.

Step 3: Disable the cache under System -> Cache Management Edit app/etc/config.php file and add one line code ‘Mageants_CustomStockStatus’ => 1

www.mageants.com [email protected] Page | 4

Page 5: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Step 4: Enter the following at the command line: php bin/magento setup:upgrade and php bin/magento setup:static-content:deploy

Step 5: Disable the cache under System -> Cache Management

Step 6: Once you complete above steps log out and log in back to the admin panel and switch to Stores -> Configuration -> custom stock status, the

module will be displayed in the admin panel.

www.mageants.com [email protected] Page | 5

Page 6: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Add Custom Stock Status :-

To create new custom stock statuses :-

Go to Admin Panel → Stores → Attributes → Product → Select mageants_custom_stock_status

- In properties section Manage Options (values of your attribute) section

- Create the options for the custom stock status label.- To display current product quantity in particular stock

status, use {qty} variable, for example: Only {qty} left in stock!

- Use variable like :- {qty} , {special_price} , {day-after-tomorrow} and {tomorrow}.

www.mageants.com [email protected] Page | 6

Page 7: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Upload icons for Custom Stock Status :- To upload the icons for statuses:-

- Select mageants_custom_stock_status. - Go to Manage Option Icon section - Choose icons for custom stock statuses.

www.mageants.com [email protected] Page | 7

Page 8: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Rules for quantity ranges :-

Add quantity rules :-

Go to Stores → Attributes → Product and select the attribute mageants_custom_stock_rule.

In properties section, in the Manage Options (values of your attribute) section, create one rule for each productgroup, for which you will use different levels of stock.

Once you create the rules, go to Manage Quantity Range and specify ranges for each of these rules.

To enable the stock status rules :-

Go to Admin Panel → Stores → Configuration → Custom Stock Status and set to Yes the Use Activate rules for Quantity Range Status field.

www.mageants.com [email protected] Page | 8

Page 9: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Manage Quantity Ranges :-

- If you would like the statuses to be updated automatically, based on how many items of a product are left in the inventory, please create quantity ranges and assign the necessary statuses to the ranges.

- You can also use Stock Status Rule column. With its help, you can specify different quantity levels for the same statuses for different groups of products.

- Use backorder rules to automatically assign particular stock statuses to the products.

- If you choose to use range based stock statuses when editing a product, the stock status will change automatically once the product quantity changes.

www.mageants.com [email protected] Page | 9

Page 10: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Apply quantity-based statuses :-

Go to Admin Panel → Catalog → Products. Select a product.

Custom Stock Status - select the custom stock status for the product at the General section.

Custom Stock Status Rule - select which quantity rule should apply to this product.

Use Quantity Ranges Based Stock Status - set to yes or no.

Custom Stock Status Settings :-

Go to Stores → Configuration → Mageants → Custom Stock Status, to Custom Stock Status settings Section.

www.mageants.com [email protected] Page | 10

Page 11: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Hide Default Stock Status -

- Set to Yes - To Hide default stock status (in stock\out of stock).- Set to No - To display both status default and custom stock

status.

Display Only Custom Stock Status Icon - If set yes, display onlycustom status icon.

Display Quantity Ranges Based Statuses - If set yes, display custom stock status quantity range wise.

Use Activate rules for Quantity Range Status - If set yes, display custom stock status quantity rules range wise.

Display Custom Stock Status Only 'Out Of Stock' Product - If set yes, display custom stock status only out of stock product..

Change Default Configurable Product Status – If set yes, display custom stock status in configurable product.

Display Out of Stock Configurable Product Attributes – If set yes, display out of stock product in product drop-down option with custom status.

Enable `Back In Stock` Product Alert for Out of Stock Configurable - If set yes, display back in stock alert in Configurable out of stock product.

www.mageants.com [email protected] Page | 11

Page 12: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

www.mageants.com [email protected] Page | 12

Page 13: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Display Settings :-

Choose to show custom stock statuses on:-

- Product list page - Shopping cart - Order Confirmation Email.

www.mageants.com [email protected] Page | 13

Page 14: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Front-end Samples :-

Custom stock status on product pages

www.mageants.com [email protected] Page | 14

Page 15: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Frontend

Custom stock status for configurable products

www.mageants.com [email protected] Page | 15

Page 16: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Custom stock status on the shopping cart page

www.mageants.com [email protected] Page | 16

Page 17: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Custom stock status on category page

www.mageants.com [email protected] Page | 17

Page 18: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Custom stock status on Front-End Order page

www.mageants.com [email protected] Page | 18

Page 19: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Custom stock status on Back-End Order page

www.mageants.com [email protected] Page | 19

Page 20: Custom Stock Status - Magento 2 · Custom Stock Status extension provide to display custom stock status on product list , product view and cart page.it’s allows replacing default

Thank you!

Should you have any questions or feature suggestions, please contact us at:http://mageants.com/contact -us.html

Your feedback is absolutely welcome!

www.mageants.com [email protected] Page | 20


Recommended