Magento 2 admin session time settings

How to increase admin session timeout in magento 2 1.Login to admin panel. 2.Click on Stores 3.Click on Configuration 4.Select Advance Tab and click on Admin 5.Click on Security Tab 6.Set value in “Admin Session Lifetime (seconds)” 7.Click on “Save Config” 8.Thats All See bellow video demonstration for more info.

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 set number of products per page

Here is how to change number of products per page in magento2. For example you want to set “10” products per page. 1.Login to admin panel of magento2. 2.Goto “STORES” in left panel and then click “Configuration” 3.Click on “CATALOG” and in sub item click “Catalog” 4.Click “Storefront” 5.Set “Products per Page on Grid Allowed Values” to new value like

Read more

Magento 2 Change Grid View To List View Or List View To Grid View Permanently

Here is how to change Magento2 Products Grid View to List View Permanently. 1.Login to admin panel of magento2. 2.Goto “STORES” in left panel and then click “Configuration” 3.Click on “CATALOG” and in sub item click “Catalog” 4.Click “Storefront” 5.Select List Mode to “List (default) / Grid” 6.Click “Save Config” 7.If it is ask for clear cache the goto “SYSTEM”

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

Ubuntu magento cron setup

Check whether crontab is installed or not ? –> you can check same by fire command to command line crontab -e if you see result of crontab -e command then it is working otherwise you have to install cron service. –> If cron service is not installed you can install it by command sudo apt-get install cron Now we need

Read more

xcopy equivalent ubuntu – linux find command between date

Xcopy is windows command, using xcopy you can find files between date.Using xcopy you can coppy move files with physical paths to destination. In ubuntu(Linux) you can find files equivalent to xcopy using find command.In find command you have to pass source directory , from date, upto date and destination.This will simply copy files to given destination directory that is

Read more

jquery show hide element

There is many way to show hide elements using jQuery. 1.$(“#yourElement”).show(); $(“#yourElement”).hide(); 2.$(“#yourElement”).toggle(); 3.$(“#yourElement”).css(“display”, “none”); $(“#yourElement”).css(“display”, “block”);

Read more
1 2 3 4 5 7