Chapter 8: Magento 2 – Frequently Asked Questions
- Chapter 1: Magento 2.0: What’s new for SEO?
- Chapter 2: Magento 2.0: SEO Setup & Settings
- Chapter 3: Magento 2.0: Advanced SEO Fixes
- Chapter 4: Magento 2.0: Google Analytics Setup
- Chapter 5: Magento 2.0: Extensions and downloads
- Chapter 6: Magento 2.0: Migration from Magento 1.9.x
- Chapter 7: Magento 2.0: Best Practices & Advanced Setup
- Chapter 8: Magento 2.0: Frequently Asked Questions
- General Magento FAQs
- Magento Security, Customer and Checkout FAQs
- Customising your Magento 2 Store FAQs
Migrating or considering migrating to Magento 2 can come with a variety of questions. PushON has taken the time to answer these frequently asked questions here for you. Note: Click on the icons to get extended information and the rationale behind each change or click here to show them all.
General Magento FAQs
What is Magento?
Magento is an eCommerce platform that uses open source technology to provide online merchants with a fluid shopping cart system, as well as control over the design, content and components of their online store. Magento also offers powerful marketing, SEO, and catalogue-management tools. It is written in PHP, meaning it is fully customisable to your needs. The ability for this eCommerce platform to easily scale with your business allows shops with only a few products and simple functionality to easily expand into offering tens of thousands of products with complex custom behaviour, without the need to change platforms. Magento also offers a variety of plug-ins and themes that can easily enhance a customer’s shopping experience and make a big difference to your bottom line.
How Much Does Magento 2 Cost?
The cost of Magento 2 depends on the edition and the hosting option you choose. The Magento 2 Community Edition (CE) is open-source and free of cost. The Magento 2 Enterprise Edition (EE) has licenses ranging from $22,000 (~£16,843) to $125,000 (~£95,704) per year. The annual cost of the Enterprise Edition license at $22,000.00 is for merchants generating less than $1 million, thereafter pricing tiers are based on revenue. Strictly speaking, the more gross revenue a merchant generates, they move up to the next revenue tier and the license cost increases. The Community Edition remains free and offers much of the same features and improvements offered by EE. The difference comes down to scalability, promotions, security, merchandising, loyalty and customer support.
Is Magento Hard to Learn?
There are plenty of resources available around learning Magento 2 from a developer perspective (see Inchoo and BSS Commerce), but what about from an admin perspective? If you’re migrating from a different platform, it’s important that you are able to navigate your way around it. Thankfully, the admin panel is easy to navigate ‒ especially compared to Magento 1 ‒ but it may still take a bit of getting used to depending on what you have used previously. The dashboard displays your last order, new orders, lifetime sales, top search keywords, bestsellers and more. Spend some time familiarising yourself with the dashboard and you’ll soon wonder why you didn’t move to Magento 2 sooner.
Is Magento 2 Mobile-Friendly?
We all know that your website needs to be mobile-friendly for the benefit of your users, but your website needs to work well on mobile to help its performance in Google. This is because Google has been using mobile-first indexing for a few years now which affects how your website is crawled and indexed. The themes that come with Magento 2 are mobile-friendly and the checkout is optimised for mobile too. If you are working with a custom developer, make sure they use responsive web design.
Magento Security, Customer and Checkout Frequently Asked Questions
What Payment Gateways are Available?
Magento 2 supports the most popular payment gateways ‒ a service that processes card payments for eCommerce sites ‒ automatically, without the need for you to add additional integrations. Examples of supported gateways include PayPal, Braintree, Stripe, Square, and Authorise.net. Apple Pay and Google Pay are some of the more modern payment gateways too.
Is the Checkout Process Streamlined?
Offering a simple and streamlined checkout process is known to increase the chances of your customers completing their transaction. Compared to previous versions of Magento 2 where the checkout process involved 6 different steps, Magento 2 uses a much-improved checkout that has been slimmed down to 2 steps: Shipping and Reviewing payments. There are also accelerated checkout options that provide further options.
Is Magento 2 Secure?
We all know how important data security and confidentiality are ‒ if a customer doesn’t trust you, they are unlikely to checkout with you and provide you with their valuable data. The good news is that Magento 2 has vast capabilities for ensuring your website is secure. You can make your website as secure as you like. While the platform does come with patches and updates, you are ultimately responsible for managing the security of your own website. Bear in mind that the more changes and customisations you make to your website, the more difficult it may become to manage your security, so always bear this in mind when making modifications or adding additional features.
Can I Get Customer Support?
Ultimately, the level of support you have access to depends on which version (CE vs EE) you are using. Only the Enterprise Editions provide support options. This emphasises the importance of working with a specialised Magento development agency like PushON. We are Magento Solution Partners, which ensures that we are trusted with delivering outstanding customer experiences through the eCommerce platform.
How Many Coupons Can a Customer Use?
Within Magento 2 you can configure multiple coupon codes, but a customer can only use one coupon code in their cart at once. If you would like for your customers to be able to use more than one code simultaneously, then you could need to look at considering the use of an extension from the Marketplace.
Customising your Magento 2 Store FAQs
How Can I Add a CMS block to a Magento 2 page?
The following are steps as to how you can add rich CMS blocks to your Magento 2.0 page.
- Go to Content > Elements > Blocks.
- Click Add New Block and set the Enable Block field to ‘Yes’.
- Add a title for the block and a unique identifier. This identifier should only use lowercase characters with underscores.
- Choose the Store View you need and enter your content using the WSYIWYG editor or HTML code.
- Click Save and Close.
- You then need to create a widget that would allow us to place the block you just created onto a page. Go to Content > Elements > Widgets and then click Add Widget.
- From the Type dropdown menu, choose CMS Static Block, and pick the Design Theme you need. Click Continue.
- Then click Add Layout Update, this is where you can specify where you want this block to show. In the Display On section, set the Specified Page and then the page you need.
- You can then define where on this page the block should be shown using the Container field.
- Go to the Widget Options tab and select the block that you want to display.
- Save the changes.
After refreshing the Cache you should then see your block display on the page.
How Can I Add Google Tag Manager to Magento 2?
To add GTM to Magento 2.x, you just need to add the relevant code to your active theme. The code comes in two parts, script and NoScript. All you need to do is insert the GTM code snippets into the following phtml templates for the head and body:
// YourTheme/Magento_Theme/templates/html/gtm_head.phtml <script>..</script> <!-- GTM code →
// YourTheme/Magento_Theme/templates/html/gtm_body.phtml <noscript>..</noscript> <!-- GTM code →
To load the files correspondingly, you should use the default .xml file:
<!-- YourTheme/Magento_Theme/layout/default.xml --> <referenceContainer name="head.additional"> <block class="Magento\Framework\View\Element\Template" name="gtm.head" before="-" template="Magento_Theme::html/gtm_head.phtml" /> </referenceContainer> <referenceContainer name="after.body.start"> <block class="Magento\Framework\View\Element\Template" name="gtm.body" before="-" template="Magento_Theme::html/gtm_body.phtml" /> </referenceContainer>
Once done, you can begin using Google Tag Manager to add tags to your website, including Google Analytics.
How To Add the Related Products Block in Magento 2?
Displaying related products on your listings is a great way to increase revenue and clicks. You can add this from within Magento’s settings:
- Go to Catalog > Inventory > Products.
- Find the product you need from the list and click Edit.
- Find the Related Products, Up-Sells and Cross-Sells section and open it.
- Click the Add Related Products button.
- Use filters as needed to locate the products you want to display as related products and choose them by clicking on the checkbox.
- When done, click the Add Selected Products button and save the product.
You would need to repeat these steps for all the products that you want to add related products for. There are also plenty of extensions on the marketplace which will help you do this too.
Can I Change How My Products are Sorted?
Sorting your products can boost sales on particular products, and there are several ways that you can do this.
Sort by Product Listing
You can sort your product listings by position, product name, or price. To change the default sorting:
- Go to Catalog > Categories and choose the category you need.
- Open the Display Setting tab.
- Go to the Default Product Listing Sort By field and choose the parameter you need from the dropdown menu.
- Save the changes.
There are differences in how you can sort your products depending on which version of Magento 2 you are using. There is information on this in the official documentation. Magento 2 Open Source To change the product sorting:
- Navigate to Catalog > Categories.
- Choose the Store View that you want to change.
- Select the category you need and open the Products in Category tab.
- Edit the Position column.
- Save the changes.
Magento 2 Commerce Edition To change the product sorting:
- Navigate to Catalog > Categories.
- Change the Store View on the top of the page, if needed.
- Choose the category you need and expand the Products in Category tab.
- Click the tiles icon to display the product tiles on a grid.
- You can sort the products Manually or Automatically.
- For manual, choose this option from the Sort Order dropdown and click the Sort button to apply this. You can use a Visual merchandiser and change the position of products with the drag-and-drop tool. Update any invalid indexers if needed and save the category.
- For automatic, choose Yes from the Match Products by Rule field and then choose the variant you need from the Automatic Sorting dropdown menu. You can add conditions to the category too. Click on the Add Condition button and choose your Attribute for the rule. Then choose the one of the following options for the Operator:
- Not equal,
- Greater than,
- Greater than or equal to,
- Less than,
- Less than or equal to,
- Then fill in the Value. You can then repeat these steps for all the conditions you need.
- When done, save the category and clean the Cache.
There are also extensions available in the Marketplace that will provide additional sorting options should you need them.
How Can I Display My Best-Selling Products in Magento 2?
Magento automatically collects statistics about your products, orders and more, including which of your products are the best sellers. To receive this information, go to Navigate > Statistics > Refresh Statistics and select all of the reports that are displayed in the grid and choose Refresh Lifetime Statistics from the dropdown, then click Submit. Then go to the Dashboard, open the Bestsellers tab and you can view your best-selling products. For detailed information, go to Reports > Products > Bestsellers. Once you have this, you can display them on your Storefront.
Display Best-Sellers Using the Default Magento Widget
- Navigate to Content > Widgets > Add Widget.
- In the Type field, choose the Catalog Product List option.
- Specify your Design Theme and click Continue.
- Enter a Widget Title – this will be displayed in the admin panel. Then choose Store Views to assign the widget and set the Sort Order.
- Go to the Layout Updates section and click Add Layout Update. From there you can choose where you want to display the list of best-selling products. You may choose to do so by category, for example.
- Go to the Widget Options tab and enter the Title – this will be displayed on the front-end and visible to your customers.
- Choose if you want to use Display Page Control and set the Number of Products Displayed Per Page.
- Specify the Number of Products to Display and enter the Cache Lifetime, if needed.
- In the Conditions field, set up what products you want to be displayed in the widget.
- Save the changes.
There are also a number of plugins available from within the Marketplace which should help you to do this. There are also options that allow you to display Cross-sells.
How To Set SEO-Friendly URLs in Magento 2?
SEO-friendly URLs mean having URLs that are human-readable. You can ensure that this is the case by:
- From the Admin Panel go to Stores > Configuration and choose the Web tab from under the General menu.
- Expand the Search Engine Optimization drop-down menu.
- Ensure that the Use Web Server Rewrites option is set to ‘Yes’.
- If not, untick the Use System Value and change the configuration. This setting will allow you to include the category path for product URLs.
- Save the changes and clear the cache.
You can create an SEO-friendly Category URL key for each store view. To do this:
- Go to Products > Categories > Search Engine Optimization and expand the drop-down menu.
- Fill in the Meta Title, Meta Keywords, and Meta Description fields for the categories you want.
If you need a greater range of configurations, go to:
- Stores > Configuration > Catalog > Search Engine Optimization and enable/disable all of the available product URL options.
- Here you can enable product search terms, choose product and category URL suffixes, and enable the use of category paths for product URLs and others.
How to Import your Products into Magento 2?
You can use the following configuration settings to import products into Magento 2 using a CSV file.
- Navigate to System > Import.
- Choose Products in the Entity Type drop-down menu and click Download Sample File. You will then have an example file to work with.
- You can remove the examples you don’t need from the CSV and add your own products.
- Information on how to complete this file can be found in the Magento User Guide.
- If you need to import product images you would need to add the following rows to the file, being careful not to add any that may be already present:
- Then upload the product images into Magento 2 into the /pub/media/import folder. All of the images that you upload should have the exact same file name as mentioned in the CSV file.
- When you have finished adding your data to the CSV file, upload it to System > Import > Entity Type > Products and then choose Add/Update from the Import Behaviour drop-down menu.
- Click the Choose File option and type /pub/media/import into the Image File Directory text field. Then choose the Check Data option.
- Once you have received the notification that your CSV has been validated you can click Import.
- When the product import is finished, go to Products > Catalog and check the products with the images are displayed on the product grid.
- Make the products live in your store by using the Enable Product Toggle and moving this to ‘Yes’.
If you need to manage all of the import/export activities effectively, use the Import History tab by navigating to System > Data Transfer > Import History. Here you should see a separate grid with all of the import/export activities. There are also extensions available from the Marketplace that will help you import products.
How Can I Set Up the Robots.txt in Magento 2?
The following steps will enable you to set up Submission to Robots.txt:
- Go to Stores > Settings > Configuration and choose XML Sitemap from the Catalog tab.
- Open the Search Engine Submission Settings tab
- Set Yes in the Enable Submission to Robots.txt drop-down.
- Click on the Save Config button.
How to Configure the Robots.txt
- Go to Content > Design > Configuration.
- In the opened grid, find the line Global, and click the Edit link and open the Search Engine Robots tab.
- Chose the Default Robots you need from the following:
- INDEX, FOLLOW = Search engines will regularly index your pages and check the changes.
- NOINDEX, FOLLOW = Search engine bot won’t index your website but it’ll still monitor changes.
- INDEX, NOFOLLOW = Search bot will index your store once but never come back to track the changes.
- NOINDEX, NOFOLLOW = This setting will hide your store from search engine bots.
- In the Edit Custom Instruction of Robots.txt File line, write the custom instructions you need.
- If you would like to use the default settings, you can click the Reset to Default button. Doing so will remove any custom instructions you have set.
- Save the Configuration to apply your changes.
If there are any queries you have regarding Magento or would like us to address any more Frequently Asked Questions, get in touch with PushON today. We hope you’ve enjoyed this Magento SEO guide and found it useful.