Questions tagged [home-page]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

Homepage routing problem with $this->pathConfig->getDefaultPath()

I'm currently running a Multistore Magento 2 site, I have 4 websites configured, 2 of which have multiple URL's to access the site. As a case example I have: domain-a.com www.domain-a.com domain-a.co....
user avatar
0 votes
3 answers
233 views

magento 2 Cannot instantiate interface PsrExt\Log\LoggerInterface

Magento 2 enterprise edition getting error Cannot instantiate interface PsrExt\Log\LoggerInterface vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:57 Stack trace: #0 I tried ...
user avatar
0 votes
1 answer
79 views

how to add a block that only shows on home page

I have created a block within my new theme, but it is showing on all pages, I need it to only show on the home page and when logging in or going to another page it does not show create it inside ...
user avatar
1 vote
1 answer
66 views

Can't find where my meta title for the homepage is pulling from - Magento 2.3.6

So I'll start by saying I'm not a coder, I just work on the 'front end' in Magento 2. I've updated all our sites meta details for products, categories and content pages, but I can't find where to ...
user avatar
0 votes
1 answer
91 views

Magento 2 - How to display recent order on Homepage?

I know that the "recent orders" section is displayed on customer's dashboard. I am wondering if I can display this "recent orders" on the homepage as well? My website requires ...
user avatar
0 votes
1 answer
314 views

M2.4 - How to add OG tag for categories?

I am created OG tag for the Homepage and products, For Homepage : 1)app/design/frontend/Zero/my_theme/Magento_theme/layout/default_head_blocks.xml <meta name="og:title" content="...
user avatar
  • 95
0 votes
1 answer
113 views

Magento 2 home page issue - 1 exception(s): Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed

How to solve the home page issue, 1 exception(s): Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed Exception #0 (InvalidArgumentException): Required parameter '...
user avatar
  • 95
0 votes
1 answer
117 views

I want to make full width of all cms page. now it is max-width of 1280px. i want to make it to 1720px. how can i change

I want to change max-width, but it is not overriding in custom-theme. how can i change Here is the css style . @media (min-width: 768px), print .navigation, .breadcrumbs, .page-header .header.panel, ....
user avatar
1 vote
0 answers
15 views

disable suffix from home page only

Essentially, I have set the store up so the suffix for each page title is "- CompanyName" but I would like to know how to create an exception for this for the home page. Thanks
user avatar
  • 541
0 votes
1 answer
123 views

Help!!!! Homepage is broke. Styles are all messed up but only on the homepage

I need help. Our site Front end home page is broke. I have rm -rf pub/static/* var/cache/* var/generation/* var/di/* var/view_preprocessed/* generated/*. Then I ran magento Commands. 1- set ...
user avatar
0 votes
1 answer
21 views

Magento 2 Frontend Page shows Try clearing your cookies

I have installed magento through command line by using bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --...
user avatar
  • 147
0 votes
0 answers
131 views

Magento2.3.5 home page & admin panel is running very slow

I have installed the Magento2.3.5 successfully with PHP 7.3 version. I am running magento on windows 10 laptop. When I open homepage & admin link it takes 5-6 mins to open. I dont know why it is ...
user avatar
0 votes
1 answer
197 views

Magento2.3.5 home page & admin panel is running very slow after doing cache: enable as well [duplicate]

I have installed the Magento2.3.5 successfully with PHP 7.3 version. I am running magento on windows 10 laptop. When I open homepage & admin link it takes huge time to open. It keeps loading. ...
user avatar
0 votes
1 answer
75 views

how to add youtube link in block?

Can I create a block with a youtube video inside on homepage? and youtube link can be modified from admin page? how can I do it without pagebuilder and magento commerce?
user avatar
0 votes
1 answer
37 views

Magento 2.3.5-p1 - Language not changing on home page only

As the title says, I'm experiencing a rather strange issue on my Magento instance (2.3.5-p1). We have two languages, English and French, and thus have a language switcher allowing users to switch back ...
user avatar
  • 50
0 votes
0 answers
35 views

Magento 2.3.4: How to keep AMP enabled yet allow the homepage to load its images for mobile devices?

How do I ensure mobile devices can load the homepage with all its images with AMP enabled? The homepage for mobile devices is missing all the images present on the homepage unless the AMP is disabled ...
user avatar
0 votes
2 answers
77 views

How to add Slick Slider

I want to add slick slider on my home page in magento using static block and phtml with rotating images. if anyone have idea about that then please answer my question as soon as possible. Thank you ...
user avatar
  • 498
0 votes
1 answer
251 views

Redirect customers to login page from home page in Magento 2

I want to redirect my store customers to custom login page when a customer visits my magento 2 store url. The customer could not access the site till he login to the store. How could I do that in ...
user avatar
1 vote
1 answer
715 views

Magento 2 - custom layout extending 2columns-left not working

I know there are 2 or 3 similar questions but there's no response for them. I'm creating a custom layout based on the 2columns-left layout. I have investigated from everywhere on the internet and the ...
user avatar
  • 13
1 vote
2 answers
58 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 ...
user avatar
0 votes
1 answer
273 views

CMS homepage content not changed

I am new to Magento. I have setup the Magento 2.3.4. I am seeing below homepage: To change the message CMS homepage content goes here., I have made changes in cms_page table like below: Restarted ...
user avatar
1 vote
0 answers
30 views

Product Listing on Home Page [closed]

I want Complete guide of product listing on home page programmatically. I have created a custom module and as well as a custom theme anyone could help me in this?
user avatar
0 votes
5 answers
2k views

Add pop up on homepage in magento 2

I want to show a message as a pop up on my homepage load with just a message, no email subscription, nothing. I just want to display a message. How can i do that?
user avatar
  • 700
2 votes
2 answers
3k 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.
user avatar
0 votes
0 answers
64 views

how to remove certain code from home page? where is the actual home page file in file manager or ftp?

idrisbookbank.com i had this malware attack. which inserted google ads code in my home page and whenever user browse through mobile or desktop they could not click my buttons but the ad opens, ...
user avatar
0 votes
1 answer
94 views

How to find the layout for the Home page

I'm working on a Magento 2.2.9 website that somebody has already built before me. I'm trying to change the layout for the Home page and I'm really confused about which file I should be editing. I've ...
user avatar
  • 117
2 votes
1 answer
277 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 ...
user avatar
0 votes
1 answer
701 views

Magento 2 - Display all products on homepage

I'm trying to add a overview of all products with filter on the Homepage of my Magento store. I followed the following tutorial from PHP Cuong which I got up and running. https://github.com/php-cuong/...
user avatar
0 votes
2 answers
627 views

Magento 2 showing category in homepage with products using enable/disable attributes

How to get the all custom category on homepage with products. I want to create these types, Please check screens-short:- https://prnt.sc/r5b2q5 Showing this category:- Above category showing this ...
user avatar
  • 3,187
2 votes
1 answer
201 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 ...
user avatar
  • 1,474
0 votes
2 answers
1k views

Magento 2 How to show success message after product add to cart on home page?

How to show success message after product add to cart on home page like this "You added product-name to your shopping cart." I am using that code on template file - <form data-role="tocart-...
user avatar
  • 1,143
0 votes
0 answers
54 views

Json does not exist for my custom module

Vendor name: SimplifiedMagento Module name: MilkyMan Class SimplifiedMagento\\MilkyMan\\Serialize\\Serializer\\Json does not exist" This thing is coming when i am loading my home page.
user avatar
1 vote
2 answers
130 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 ...
user avatar
  • 309
1 vote
0 answers
129 views

show loader after every category on home page in magento2 [closed]

On my home page I am showing all products with its categories once on page load. But i wanted to do like for after scrolling down ,after each category product list before next category I wanted to ...
user avatar
1 vote
1 answer
30 views

Homepage only displays correctly when logged in

I just disabled a new extension due to some conflicts it had with a custom extension we have installed. Immediately after, I noticed the website was much slower, and after checking the cache, I ...
user avatar
0 votes
2 answers
52 views

How to fix white home page

My website home is showing blank. How to fix it?
user avatar
1 vote
1 answer
396 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 ...
user avatar
0 votes
4 answers
481 views

Getting HTTP ERROR 500 only on homepage, Magento 2.3.2

Hello, guys! I get weird behavior Magento 2. I get a 500 error only on the home page, and on all other pages everything works correctly. How can this be fixed? Please, help)
user avatar
1 vote
1 answer
160 views

Magento 2: How to not use URL /home

By default, Magento uses the URL key 'home' for the CMS homepage. The problem is that the homepage now has 2 URL's. http://example.com/home and http://example.com/. I don't like this behaviour, it ...
user avatar
  • 165
0 votes
1 answer
473 views

How to edit default search in Magento 2?

I want to edit default search bar in Magento 2. What I would like to have is to display the search icon and when the customer clicks the icon I want to show the search bar. To do that, where to ...
user avatar
  • 480
0 votes
1 answer
40 views

Incorrect redirect on homepage load

On a fresh Magento 2 Open Source install, I accidentally named the site "foo.locale" instead of "foo.local". I've updated the database with the correct value [1] but when accessing the homepage foo....
user avatar
1 vote
2 answers
690 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 ...
user avatar
  • 480
1 vote
1 answer
121 views

Magento2: How to show product URL on Homepage

I have to show list of product on same category on homepage I have achieved the same using CatalogWidget but got issue with URL, It shows URL like example.net/product but I want to show URL like ...
user avatar
0 votes
1 answer
51 views

How to change or redirect home page to customer login?

Need to see customer account at the first before home page. used redirect from the admin panel but not working. Still, when I load my site it goes to the home page. Mean that see customer account ...
user avatar
  • 701
0 votes
1 answer
229 views

Magento2 : Cache file path displayed in home page

/home/healthba/public_html/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml /home/healthba/public_html/var/view_preprocessed/pub/static/...
user avatar
  • 1
1 vote
1 answer
490 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 ...
user avatar
0 votes
1 answer
371 views

Magento 2 : Separate home page for logged in and guest user [closed]

I want to show different home page for logged in user, Which event/plugin I can use for this ? Whenever logged in customer clicks on homepage he should be redirected to different url Logged-in user : ...
user avatar
  • 630
0 votes
1 answer
117 views

How to add Home Page url key for all scopes programmatically using Recurring.php magento 2

I tried to add Home Page URL key programmatically using Recurring.php Normally from Magento Admin backend: STORES -> GENERAL -> Web -> Default Pages -> Default Web URL: I tried using Vendor/...
user avatar
0 votes
0 answers
38 views

Add a class or id to the homepage before the page loads

How can I add a class or id to a magento 2 homepage before the page loads? I need the page to render with the class in place, not added after it loads.
user avatar
3 votes
2 answers
2k 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 ...
user avatar