This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

How to Create Custom Magento Homepage

Updated on December 23, 2021

4 Min Read
Custom Magento Homepage Banner

The first touchpoint for many of the visitors is the homepage that determines whether the visitor would continue further on the store or not. The design of the homepage, therefore, is crucial in achieving the sales and conversion goals of the store.

Many experts suggest a custom Magento homepage to reflect the niche for maximizing conversions and revenue. The process to develop a custom Magento homepage design requires three steps:

  1. Creation of Block.
  2. Creation of Categories and Products.
  3. Integration of the recent products into the Magento 2 homepage.

Creation of Block for Custom Magento Homepage

The first step for custom Magento homepage is the creation of Block. When done, this allows the store administrators to place a banner on the homepage by adding the relevant shortcode for the Block.

Scalable, Super Fast, & Secure Magento Hosting

Our Clients Love us because we never compromise on these features

Go to the Admin Panel of the Magento Store and navigate to the Content tab from the left corner of the page. Next, click the Blocks option.

Homepage Magento Content CMS

On the following screen, click Add New Block.

Add new block for Magento custom homepage

Next, add the details of the Block. Enter the Block Title (Title of the Block) and
Block Identifier (Id of the Block).

Define Magento Block

After providing details, upload the image in the Block.

image upload option

Search for the image file by clicking on the Browse option. Make sure that the following fields are not empty:

Image URL: Path/URL of image.
Image Description: Description of image.
Title: Title of Image.

If you need to change the design parameters (dimensions, alignment) of the image, go to the Appearance tab.

Browse Image for Magento Block

When done, click on Insert file.

Insert image in Magento Block

To complete the process, click Save Block.

save the Magento block

Magento block createdThe Block is now created.

Creation of Categories and Products for Magento Homepage

For this tutorial, I will use the example of a Magento store that offers a selection of mobile phones.

Creating Categories
Navigate the Products tab from the left corner of the page and then click on the Categories option.

navigate category option

The first category that needs to be created is SAMSUNG. Provide the details of the category and click Save as shown in the image below:

Create Category

Create three more categories: NOKIA, IPHONE, and LENOVO.

Creating Products
Go to Products tab from the left corner of the page and click on the Catalog option.

navigate catalog option

Click on Add Product.

adding product to Custom Magento Homepage

Provide the details of the product, select the category for the product and then click Save.

Add Product

Create more products by following the steps mentioned above.

Integration of Block and Products into the Homepage

Go to the Admin Panel of the Magento store, navigate to the Content tab from the left corner of the page and then click on the Page option.

navigate page option

Click the Edit on the homepage:

Updating Magento homepage

Go to the content section:

navigate content tab

Integration of the Block
You could add the Block in the content section by using this shortcode:

{{block class=”Magento\Cms\Block\Block” block_id=”Banner_View”}}

In this shortcode, Block_id is the same ID that was used in the creation of the blog.

Integration of the Products
Click on Insert Widget option:

widget option for Magento Homepage

Select Catalog New Products List from the list, and set all its attributes according to your requirements.

insert widget to Magento Homepage

The following screen will appear.  Click on Save Page.

integration of block and products for homepage

Now Magento 2 homepage is all set, access the store and see the custom Magento homepage in action!

Custom Homepage Display

Conclusion

A customized Magento homepage will be an important aspect of the overall store promotion strategy. I hope that you’ll have no problem in following the simple steps of the process.

While working on backend or frontend development, loading issues can become a problem. This is why it is important to opt for an efficient Magento hosting service that guarantees fast response times and loading speed.

If you would like to ask any question about this topic, feel free to leave a comment.

 

Share your opinion in the comment section. COMMENT NOW

Share This Article

Customer Review at

“Great speed, features, knowledgebase, dashboard, UX and fast, expert support. Very happy!”

Stefan [Management Consultant]

Syed Muneeb Ul Hasan

Syed Muneeb Ul Hasan is a Magento Community Manager at Cloudways - A Managed Magento Hosting Platform. He is an expert in PHP and Magento and prefers to educate users in the implementation of Magento. When not working, he loves to play games and watch cricket.

×

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Thankyou for Subscribing Us!

×

Webinar: How to Get 100% Scores on Core Web Vitals

Join Joe Williams & Aleksandar Savkovic on 29th of March, 2021.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!