Category: Magento
How to solve maintenance down time or capacity Errors ?
Error Service Temporarily Unavailable in Magento 1 You should check if there is a file maintenance.flag in the Magento root folder. Solution Delete the file maintenance.flag in Magento root folder. Service Temporarily Unavailable in Magento 2 Delete a file called var/.maintenance.flag in the Magento root folder Remove Magento cache if there is any: php bin/magento… Continue reading How to solve maintenance down time or capacity Errors ?
Method to add custom JS validation rule in Magento 2
Add requirejs-config.js file to the following location: app/code/[Vendor]/[Module]/view/frontend/requirejs-config.js Copy file vendor/magento/module-ui/view/base/web/js/lib/validation/rules.js to app/code/[Vendor]/[Module]/view/frontend/web/js/lib/validation/rules.js Where you can add the custom validation code as following: That’s it. Overriding the inbuilt JS also done in the same,if you are using a custom , create a folder with the same naming pattern in the vendor folder structure and paste… Continue reading Method to add custom JS validation rule in Magento 2
Scroll To Top In Magento 2
When a visitor scrolls the web page down It is convenient to display a button that will allow easy, by a one-click move customer back to the top of the page To enable such a button on our website. 1. Create a default.xml layout file in your theme directory: /app/design/frontend/ThemeVendor/ThemeName/Magento_Theme/layout/default.xml 2. Paste the XML code: <?xml version=”1.0″?> <page… Continue reading Scroll To Top In Magento 2
Delete product from Magento 2
You can delete product from admin by following steps: Step 1: GOTO admin Catalogue ⇒ Products Step 2: Select product which you want to delete by checkbox Step 3: Then select delete from Action dropdown like screenshot.
How Preconnect speeds up your Magento 2 Store
How to install “Meetpxny Iconsignit” Shipping Extension in magento2:
Download/purchase the extension (like zip or tar.gz archive) Upload Extension (as Zip or tar.gz) to your Magento installation root directory. Unzip the zip. Make sure file path is “app/code/Meetpxny/Iconsignit/”. Run the following command in the terminal. php bin/magento setup: upgrade bin/magento setup:static-content:deploy –f sudo chmod 777 -R /var/www/html/thefencingstore/ We can see our module name while… Continue reading How to install “Meetpxny Iconsignit” Shipping Extension in magento2:
To add current class in Customer Account dashboard Custom Link
Add the below code in module_index_index.xml under the body tag. customer-account-navigation-custom-index-index is a block name of in customer_account.xml Example of Please add the below code in module_index_index.xml under body tag customer-account-navigation-custom-index-index is a block name of in customer_account.xml Example of module_index_index.xml file : After run this command php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy -f This will add the current class and highlight it automatically… Continue reading To add current class in Customer Account dashboard Custom Link
How to Install Phpmyadmin at linux system
How to solve Eway\EwayRapid\Model\Customer\Token\Backend does not exist?
1.mysql -u root – p / enter DB password 2.select the database 3.select the eav_attribute table from the database tablesselect * from eav_attribute; 4.delete the Eway\EwayRapid\Model\Customer\Token\Backend from the tabledelete from eav_attribute where attribute_id=”id _ no”;