Magento 2 Get URL Without Trailing Slash in CMS Page and Block

The trailing slash at the end of the URL creates an issue of duplicate content on your website. URLs with and without trailing slash are considered as different pages by the Google search engine. Google considers these pages as two separate pages with the same content. In Magento 2 when you call any page in your CMS block using store URL it automatically adds a trailing slash at the end of URL. This blog post by Dhairvi Solutions helps you to know how to add a URL without trailing slash in the Magento 2

Continue reading “Magento 2 Get URL Without Trailing Slash in CMS Page and Block”

Magento 2 Display Product Based on Store View

in Magento 2, products are always based on the website, not on the store. We can update product attribute values at the store level but the products itself is global for all the stores. You may have business requirements like hiding and showing products for a specific store. This blog post by Dhairvi Solutions show you how to display product on the store level. Before we go ahead if you are unaware of how Magento Product Scope works then you should review it over Magento doc.

Continue reading “Magento 2 Display Product Based on Store View”

How to Download Media Folder from Adobe Commerce Cloud to Local

You cannot see the media folder after you cloned and set up the Adobe Commerce Cloud (previously Magento Commerce Cloud)  project on your local system. You have to run a separate command to download Adobe Commerce project’s media folder and other assets. Transferring data between your local development setup and the cloud environment is a crucial part of running an Adobe Commerce Cloud store. We’ll walk you through downloading the media folder from Adobe Commerce Cloud to your local system in this blog article.

Continue reading “How to Download Media Folder from Adobe Commerce Cloud to Local”

Uninstall Modules in Magento 2

We are going to discuss here how to uninstall or completely removed the Magento 2 extension using the command line. Please note that this uninstall command only works if you have installed the module by composer command and the module entry is there in the composer.json file of the docroot. If the module is not installed by the composer and you used a zip file to install the module then you have to remove the module files from app/code/YOUR_MODULE instead of following these steps.

Continue reading “Uninstall Modules in Magento 2”
Privacy Policy © 2024-2026 Dhairvi Solutions LLP. All Rights Reserved.