[Fixed] – “Failed to Load Resources” Error After Magento 2 Installation

[Fixed] - "Failed to Load Resources" Error After Magento 2 Installation

Ever faced an issue of “Failed to load resource: the server responded with a status of 404 (Not found)” for CSS and Js after installing Magento 2 on Wamp server windows? Try one of the below methods to get the solution: Solutions for “Failed to Load Resources” Error After Magento 2 Installation: Solution 1: Give proper permissions, enable apache rewrite_module and refresh apache server. [crayon-5d2e4cd02748a263426093/] Run the following command from Magento root for fixing the frontend: [crayon-5d2e4cd027494224174806/] Clear var directory

Continue Reading

How to Override a phtml File Using a Custom Module in Magento 2

How to Override a phtml File Using a Custom Module in Magento 2

It is well known that customizing the core Magento 2 functionality is a bad coding practice. Once you upgrade the version, your efforts are in vain. Hence, it is advisable to override a function, class or file, as per the requirement. Here, I’ll show you how to override a phtml file using a custom module in Magento 2. There are two methods to do so as mentioned below: Methods to Override a phtml file using a custom module in Magento

Continue Reading

How to Get WYSIWYG Editor’s data in Magento 2 Frontend

How to Get WYSIWYG Editor's data in Magento 2 Frontend

The technique to add WYSIWYG editor in Magento 2 system configuration makes the admin’s task much easier to work with content editing.  Have you checked the frontend after implementing WYSIWYG editor in the admin configuration? Strange output, isn’t it? 😕 You can see the inability of the WYSIWYG editor to convert the HTML content. Magento 2 fails to convert WYSIWYG content into the readable format in the condition when the content has been added from the WYSIWYG editor from the configuration section.

Continue Reading

How to Hide an Empty Custom Tab in Magento 2

How to Hide an Empty Custom Tab in Magento 2

According to a study by Google The visitors will judge the online store as beautiful or not in the only 1/50th to 1/20th of a second. Visually complex websites are consistently rated as less beautiful than their simpler equivalent. A beautiful website means a visually appealing, simpler, and easy navigation website. As a Magento 2 store owner, you would want to offer a shopping platform that would not confuse or irritate the shoppers! Removing unnecessary elements from the frontend is

Continue Reading

How to Add Magento 2 Sort by Price for Low to High & High to Low Options

How to Add Magento 2 Sort by Price for Low to High & High to Low Options

The store design and its navigation must be in such a way that makes it easier for the shopper to find the exact required product and make the shopping process comfortable and enjoyable.  Navigation can be made easier and hence improve the shopping experience by offering custom sorting options. The default Magento 2 offers sorting by position, product name, and price, as shown below: However, for a full-fledged Magento 2 store, these options are not enough. Sometimes, people tend to

Continue Reading

How to Remove Index.php from URL in Magento

How to Remove Index.php from URL in Magento

From the below two URLs, which one would you consider more readable, SEO-friendly and user-friendly? http://meetanshi.com/index.php/magento-extension OR http://meetanshi.com/magento-extension Shorter, the better. Isn’t it? According to Google, the site’s URL structure should be as simple as possible. Additionally, the URLs with a structured hierarchy are preferred by GoogleBot as it makes the crawling throughout the site easier. However, the default Magento and Magento 2 offers URLs with a lingering “index.php” and it is recommended to remove it. Other benefits of short

Continue Reading

How to Add Google reCAPTCHA to Magento 2

How to Add Google reCAPTCHA to Magento 2

According to BuiltWith, there are 52,912 live Magento 2 stores. Ideal prey for the hackers! A compromised store with a host to spams would lead to customers being skeptical to buy. Hesitated customers mean a breakdown in E-commerce potential. Insecure Magento 2 platform will cost the business a loss in revenue as well as customers’ trust. Thankfully, Google offers an easy way to secure the store. With Google’s reCAPTCHA v2, differentiate between bots and humans. Add Google reCAPTCHA to Magento

Continue Reading