Install extension in magento 2

How to enable module in magento 2 Suppose that I want to enable module called “Ashsmith_Blog” 1.Open terminal(Command Prompt) or SSH. 2.Goto Root Directory of magento by cd command 3.Type following command to enable module bin/magento module:enable Ashsmith_Blog 4. To properly enable module run following command next bin/magento setup:upgrade 5.Thats All.See video demonstration

Read more

Magento 2 Validation Rules List

Here is list of validations classes rules supported by magento 2. You just need to add css class for the rule to apply. min_text_length max_text_length max-words min-words range-words letters-with-basic-punc alphanumeric letters-only no-whitespace zip-range integer vinUS dateITA dateNL time time12h phoneUS phoneUK mobileUK stripped-min-length email2 url2 credit-card-types ipv4 ipv6 pattern validate-no-html-tags validate-select validate-no-empty validate-alphanum-with-spaces validate-data validate-street validate-phoneStrict validate-phoneLax validate-fax validate-email validate-emailSender

Read more

Magento 2 Add Coupon Code

Here is how to create Coupon Code. For example you want to set “10%” off on whole cart when total of cart 200 or more 1.Login to admin panel of magento2. 2.Goto “MARKETING” in left panel and then click “Cart Price Rule” and Click “Add New Rule” 3.Click on “Rule Information” and set Rulename,Coupon,Coupon code and other required information. 4.If

Read more

Magento 2 Change default store view web site name

Here is how you can change defualt store view name,Web site name 1.Login to your magento2 admin panel. 2.Click on Stores on left panel 3.Click on “All Stores” 4.To change “Default Store View” name click on third column “Default Store View” and Change Name field and save. 5.To Change “Main Website Store” click on Second column of Stores set name

Read more

Magento2 how to reindex

Here is how to reindex magento 2 from command line.You can not reindex from admin web. Goto command Line (SSH or Terminal) Goto Root directory of your magento 2 installation To reindex all magento 2 index fire following commandphp bin/magento indexer:reindex   To reindex specific indexing use following catalog_category_product catalog_product_category catalog_product_price catalog_product_attribute cataloginventory_stock catalogrule_rule catalogrule_product catalogsearch_fulltext For specific re-indexing for

Read more