Questions tagged [home-page]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
9 votes
7 answers
8k views

Magento 2.3 - homepage redirect to 404 page not found

Magento 2.3 homepage returns a 404 Page Not Found error. This only occurs when not logged in. After logging in, the homepage works properly. (It seems to work in mobile view even when returning a 404 ...
Emipro Technologies Pvt. Ltd.'s user avatar
7 votes
2 answers
16k views

How to create new product slider in home page in Magento 2

I want to create a new product slider in home page of my website without using external extension.
Mayur Jotaniya's user avatar
5 votes
4 answers
5k views

Magento 2 : Alternate Logo for Page Layout

I'm developing Magento 2.1 application with two logos: Light logo on the home page. Dark logo for all other pages. By default, theme uses dark logo. I've created a custom page layout for home page. ...
MParsons's user avatar
  • 105
5 votes
5 answers
6k views

Magento 2:- How to call a js file on homepage?

I want to call a js file on homepage only how to to do that. Right now i am calling <head><link src="js/myfile.js"/></head> But it is calling for all page and give error js error ...
Qaisar Satti's user avatar
  • 32.4k
5 votes
2 answers
4k views

How does home page routing work

A module usually contains a routes.xml file which, as I understand it, specifies the routes which the module handles. I would like to know how routing is handled for the home page, for example for ...
gwideman's user avatar
  • 505
5 votes
1 answer
6k views

How does Luma theme home page work?

I understand that the home page content is defined in block home-page-block, and I can edit that and see changes appear in the browser. However, what I don't understand is: What bit of theme/...
gwideman's user avatar
  • 505
4 votes
3 answers
30k views

magento 2 : where is Layout XML File for Homepage located

\vendor\magento\module-catalog\view\frontend\layout\catalog_product_view.xml is the layout xml file for Product Detail Page. Where are the layout xml files for Homepage and for Category Page (page ...
Blackpanther0001's user avatar
4 votes
3 answers
10k views

How can I add different meta open graphs for homepage and single product pages?

When I post the link of my site on facebook, the image added was 2 images, logo and other one. Facebook displayed the first ones. So I needed to add in default_head_block.xml file (app/design/frontend/...
Raluca Albu's user avatar
4 votes
4 answers
11k views

There was no Home CMS page configured or found magento 2.1.7

I've the error. There was no Home CMS page configured or found. On the magento website homepage, I've tried to clean the cache, reindex, run the command setup:upgrade but still got the error.
Roberto Barile's user avatar
4 votes
1 answer
2k views

Magento2.2: How to disable cache for homepage only?

I am using varnish cache and also I've added AMP pages for mobile view. Now the thing is varnish is not detecting mobile and tab so I want to disable varnish for the homepage. Everything was working ...
Bhakti Thakkar's user avatar
4 votes
2 answers
2k views

Image slider for pwa studio

I have just started playing around with Magento 2 pwa studio. Now i need to add an image slider which I want to show in my pwa homepage. How i can add slider on pwa venia homepage any suggestions ?
HPrvsmedia's user avatar
4 votes
1 answer
300 views

Magento 2: Can create two different templates for the Homepage?

Am I able to create two different templates for the homepage and change between them whenever I want? I'm trying to create a new homepage, but I don't want to lose the old one, so I disable it and ...
RuiVBoas's user avatar
  • 195
4 votes
1 answer
1k views

Magento 2 display a category's product listing with its layered navigation on home page?

I am using Magento 2.2.2 I want to display a particular category products on homepage along with its respective layered navigation. What I have already tried: 1) Changed home page layout to "2 ...
Wasiq Shahrukh's user avatar
4 votes
1 answer
912 views

Magento2: How to show breadcrumb on home page?

How to show breadcrumb on home page? I have enabled breadcrumb option for all cms page from the Admin panle. But it's not apply for home page. What is the standard way to display breadcrumb on home ...
Ravi Soni's user avatar
  • 1,809
3 votes
1 answer
2k views

How works getChild() method in Magento 1.9

Can anyone explain how works getChild() method because I have some lines of code that use this method and I don't know exactly what it does. This is the code: if ($this->getChild('name.after')) { ...
Ciprian's user avatar
  • 527
3 votes
1 answer
99 views

After installing magento 2.3.1, page can not open properly

After installing Magento 2.3.1 with sample data on my localhost, When I am trying to open the home page it shows blank. My console contains an error as shown in the image. Please help.. Thanks!
Jigar's user avatar
  • 33
3 votes
2 answers
3k views

Magento 2 admin page redirecting to homepage

My admin URL redirecting to homepage, I have did lot of efforts to fix admin login link but still it migrating to homepage, my website link https://www.muzikhausberlin.de/index.php my admin link ...
Aadii Mughal's user avatar
3 votes
0 answers
46 views

How to show full product page on home (but show different custom block than product page)

I have a one product store in Magento 2, and want to make it easy to order as soon as possible. So i want to have on the homepage everything that there is on the product page, like order button, ...
Niels's user avatar
  • 31
3 votes
1 answer
2k views

Review stars not showing on front-end

I'm using a custom template on my magento site and I've got everything working but star ratings are not showing on the site's homepage (The one that displays latest and featured product). Its also not ...
Jahswey's user avatar
  • 85
2 votes
2 answers
221 views

Login mandatory for using my store

I have a store using Magento 1.7 and I need to set a login/registration page as the first page that is shown before buying anything, so that it is mandatory to log in. I edited cms.xml, under app/...
LeCodeur's user avatar
  • 366
2 votes
2 answers
5k views

How to change home page meta title in magento 2.3?

How to change meta title in magento2.3? I am not able to find the title of the home page.
Ganesh S. Padwal Patil's user avatar
2 votes
1 answer
144 views

How to show Recently Searched Products without using Widget on HomePage (Luma). Magento2

I want to show recently searched products on homepage without using Recently Viewed Products Widget I want to get this in my custom block and also want to show this in my custom .phtml file how it ...
Asad Khan's user avatar
  • 1,476
2 votes
2 answers
4k views

Insert block inside static block magento 2

I create static block with reference name 'seller_registration_form' from Magento 2 backend which loaded in home page like this: Now i want to insert additional content from my module, so i created ...
simple guy's user avatar
  • 2,454
2 votes
1 answer
247 views

Homepage 404 page not found after removing .html suffix in Magento 2.3

I have Magento 2.3 installation on Nginx server. I removed .html suffix from configuration by going to System > Config > Catalog -> Catalog -> Search Engine Optimization Now the categories and ...
Nausif's user avatar
  • 1,524
2 votes
5 answers
2k views

Remove cms block from only cms home page

I have created a cms block and using widget added inside header page container, now I want to remove that block from only home page. How can i achieve this? Widget screenshot to display block
Arjun's user avatar
  • 3,526
2 votes
2 answers
86 views

Page home magento 2

I installed a template and put all the necessary translations in the i18n file but still can't see the translation. My question is: Do I have to create 3 home pages and then choose the store-view for ...
Developper Magento 's user avatar
2 votes
1 answer
586 views

Magento 2 How to show multiple Or category wise Layered Navigation on home page?

I want to show multiple Layered Navigation on Home Page. I want to show multiple Layered Navigation category wise on Home Page. I refer this Magento 2 How to show Layered Navigation on home page? ...
PG Sutariya's user avatar
2 votes
1 answer
776 views

How to execute a block function in home page?

This is My Layout file. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/...
Ramesh KR's user avatar
  • 836
2 votes
1 answer
57 views

Why new products are visible smaller as compared to recently products on homepage. Today it looks fine but how come

I am building an eCommerce website named www.bookslab.in. On my homepage when i added the 2 widgets "New Products" & "Recently Viewed" products then new products section is visible smaller as ...
Salman Dalal's user avatar
2 votes
1 answer
3k views

Add to Cart in custom block Homepage Magento 2

I am trying to add a Add to cart button in a custom block being added to the homepage. I've looked at many SO / MSE posts and all refer to Object Manager but I know it's not meant to be used, and ...
123TFO's user avatar
  • 109
2 votes
2 answers
1k views

Why does Luma sample use widget and block for home page?

In the sample data with the Luma theme the home page is implemented with a Widget ("Home Page" Widget of type "CMS Static Block") plus block ("Home Page Block" containing the page content area html). ...
gwideman's user avatar
  • 505
2 votes
1 answer
431 views

Magento 2: Page template is coming blank

I created a theme in magento 2 and in that theme i created a new page layout. I can see the page layout in my magento admin dashboard. So i assigned the page layout to my homepage. But now my ...
Akshay Naik's user avatar
2 votes
0 answers
44 views

Magento: Static blocks stuck to each other [closed]

I'm new in Magento and trying to build a homepage which contains multiple static blocks. Every block contains images, text and buttons and using CSS I try to position those texts and buttons on top of ...
Atlas's user avatar
  • 21
2 votes
1 answer
1k views

Magento 2 meta title empty on home page

I fill meta title for design settings and for seo settings in homepage cms, and still on homepage have empty meta title, for each other page works great. Where I should find solution?
Lucas D's user avatar
  • 51
2 votes
0 answers
816 views

Widget is not working in Magento 2

I am trying to insert a Catalog Category Link widget in my Home Page. But it is not working. I am sharing the code below. {{widget type="Magento\Catalog\Block\Category\Widget\Link" template="...
abu abu's user avatar
  • 714
2 votes
2 answers
531 views

how to remove "Powered by Searchanise" from the search bar

I am building the magento ecommerce website named "bookslab.in". I want to remove the "Powered by Searchanise" from the search bar of my magento site. I had attached the screenshot of which section i ...
Salman Dalal's user avatar
1 vote
3 answers
4k views

How to set a specific category page as homepage in Magento 2

I tried to set as a homepage a specific category page but only for a storeview, but I am not sure how to do this. I have 2 store views and for one of these, I want to set particular category page as ...
Alin Lupoiu's user avatar
  • 2,662
1 vote
2 answers
1k views

Magento2.3: How to get sub category for parent category?

I have installed Magento2.3.2 EE on local. I have seen that the default category menu is not working correctly so that we want to load category and subcategory collection at top menu position with our ...
MagentoDev's user avatar
1 vote
2 answers
1k views

Set Custom CMS page as a home page programatically in Magento 2

How to set a custom CMS page as my Magento home page programmatically.
Aniket Prajapati's user avatar
1 vote
2 answers
102 views

Changing icon on CMS homepage

I am new to Magento. I am trying to make changes in CMS homepage. The page looks like this: I am able to change page title and heading from cms_page table. But not able to find way to change the ...
वरुण's user avatar
1 vote
1 answer
786 views

Magento 2 - remove stylesheet and javascript from the home page to improve page load speed

i'm trying to remove some unnecessarily css and javascript that is included in the homepage. For example, the swatches.mini.css, blog-m.min.css, blog-custom.min.css, calendar.min.css doesn't seem to ...
Mage Explorer's user avatar
1 vote
2 answers
2k views

Magento2 Remove JS from Homepage

In my website homepage there are multiple bundle js <script type="text/javascript" src="https://website.com/static/version1545621016/frontend/website/default/fr_FR/js/bundle/bundle0.min.js">&...
Ketan Borada's user avatar
  • 2,593
1 vote
1 answer
205 views

Magento : Load 2 js libraries into magento 2 homepage, and call some functions in page content

I've been trying to add 2 new javascript libraries into my Magento 2 installation, and to do that, I've added them through "app/design/frontend/theme/themeName/layout/default_head_blocks.xml" and I ...
alexcr's user avatar
  • 1,467
1 vote
1 answer
1k views

how to display recently viewed products on homepage in magento 1.9.3.3

{{block type="reports/product_viewed" template="reports/product_viewed.phtml"}} <?php if ($_products = $this->getRecentlyViewedProducts()): ?> <div class="block block-list block-viewed"&...
M.ANAND's user avatar
  • 65
1 vote
1 answer
3k views

How do I add images into the "header content" class with a block?

I have a theme that extends luma. It is called "Custom Dev" and it is in "adventist_store" folder. I want to replace the logo at the top with a block. (I'm doing this because I want to have two logos ...
Zendasi's user avatar
  • 133
1 vote
4 answers
18k views

how we can show all categories in magento2 on home page

we have used this link and install module step by steps http://www.ibnab.com/en/blog/magento-2/magento-2-frontend-how-to-call-category-collection-on-home-page My module is installed and showing up ...
Andy NCR's user avatar
1 vote
2 answers
143 views

How to manage cache issue on toplink in mageno 2?

I am showing logged in username in Magento2 toplink. But due to Magento full page cache, it showing another username. I tried using cachable="false" for toplink block. It works on the MyDashboard ...
Arul's user avatar
  • 309
1 vote
1 answer
664 views

How to display all stores on the home page

How in custom created module to make the logic of receiving and displaying all links to stores. The display should be on the homepage. I tried the solution that suggested Google search, but I can’t ...
ann karsksya's user avatar
1 vote
1 answer
286 views

how to move the custom block middle of the page in Magento 2

I added custom block in home page Magento 2, but it's showing in the top of the page I want to move to after banners how can I achieve this? cms_index_index.xml <?xml version="1.0"?> &...
prabhakaran7's user avatar
  • 1,057
1 vote
1 answer
224 views

How can I show specific products on homepage in Magento 2?

How can I show specific products on homepage? It has to be client friendly to do in CMS. I tried displaying a category then changing the sort order on products in category.
Matthew McLennan's user avatar