Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions related to Home Page
11
votes
How do I add a block on the home page above the content, below the navigation on the home pa...
>
<layout version="0.1.0">
<cms_index_index>
<reference name="root">
<block type="core/template" name="my.vblock" before="content" template="page/home/myblock.phtml" after="breadcrumbs …
1
vote
Layered navigation on homepage in magento 1.9 Call to a member function load() on a non-obje...
You need to set category id to layer for getting layer navigation
<action method="setCategoryId"><category_id>yourcatId</category_id></action>
Code should like this:
<block type="catalog/layer_v …
7
votes
Accepted
show products of a category on home page in magento 1.9.2.2
Due SUPEE-6788 patten,you can use below:
As alternative solution.
goto Design tab of Your cms page
Put below layout xml code at Layout Update XML field
<reference name="content">
<block type=" …
0
votes
Not able to display category wise products on home page
If you have using magento1.X version.
And already applied magento patch SUPEE-6788,then you need to remove catalog/product_new from whitelist
System > Permissions > Blocks
Add New Block
Block …
0
votes
how to remove phtml file from home page in magento 2 theme
There are two way,you can do this:
From admin
Goto admin>Content>Page> then select your cms page>
and after that add below at code Design tab at your CMS home page at backend
<referenceContainer …
1
vote
Magento 2: Checking Customer Logged In not work in navigation menu
Add this code after
$subject->setCacheable(false);
In if($this->customerSession->isLoggedIn()) {
BY flush cache after logout
Another good idea to flush block cache after logout.
Fire an even …
23
votes
Accepted
How to load a phtml file only for homepage? (Magento 2)
So if want to add a phtml file only at home page then you need to add that code at cms_index_index.xml (/app/design/frontend/name/themename/Magento_Cms/layout/cms_index_index.xml) layout file because of … cms_index_index is handler which call only called at home …
2
votes
Accepted
How do I get new products from each category in Magento home?
Create a local.xml under app/design/frontend/yourpackage/yourtemplate/layout/local.xml
code of this file are
< ?xml version="1.0"?>
<layout version="0.1.0">
<cms_index_index>
<reference na …
1
vote
magento 1.9 not getting the correct product url in sub category page
For getting correct product url at category page,
You need to join url rewrite manager to product collection by adding to addUrlRewrite($categoryId) with sending category id as parameter at that fun …
2
votes
Magento 2: Display list of specific categories on Home Page
Better idea create a custom module for this.
This module must have below files:
app\code\[VendorName]\[ModuleName]\composer.json
app\code\[VendorName]\[ModuleName]\registration.php
app\code\[Vendo …