In my Magento 2.4.3-p1 I want to change the layout of the CMS pages to be the same as the product page. Currently, the CMS page contents are shown in full width. It is adding the class page-main-full-width to the maincontent tag. This is added from the file vendor\magento\module-page-builder\view\frontend\page_layout\cms-full-width.xml. How can I override this file in my theme? I have tried luma_custom/Magento_Page_Builder/page_layout/cms-full-width.xml but is not working. Please help.
After successful installation of Magento 1.8.1 in a system. Everything works fine, but unable to display products on the home page. As posted on Magento website, I modified the home page design using admin interface CMS >> Pages >> Home Page >> Design.
As shown in the Magento Wiki page below lines were added in the second line of home page design -
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
Still, the products are not displayed on home page.
What should be done to display the products on home page.
I'm using Ubuntu 13.04 server, with MySQL 5.5 database and Magento version 1.8.1 downloaded using SVN
In your xml file add this and remove the block from CMS > Home Page section
<cms_index_index>
<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" as="product_homepage" template="catalog/product/new.phtml"/>
</reference>
</cms_index_index>
Please check this:
New product doesn’t mean that you’ve recently added them; only products explicitly marked as new using ‘Set Product as New from Date’ and ‘Set Product as New to Date’ options in the ‘General’ product information page in the admin tool will be shown.
First you have to check if product is define new product in manage product or not. If not then you have to assign product as new product then and then it display in new product. Please check image
Then you have to check product is in stock. and don't forgot to clear cache after changes
Let me know it helps you any way
Step 1: Login into your Magento Admin Dashboard;
Step 2: Go to: CMS -> Pages -> And choose Home Page;
Step 3: Now you must see the some edit options which will be applied for the HomePage.
Step 4: Go to: Contet Tab from left;
Step 5: Add following snippet in the WYSIWYG (As know as “What You See Is What You Get”)
;
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
I was have the same problem sometimes. Need to check products quantity, status set to enabled, products must be in stock. Also need to re-index data and clear all caches. After all products will be display in the site homepage.
On the home page of my Magento site, I used the following code to add a Latest Products block
{{block type="catalog/product_list" category_id="2" template="catalog/product/random.phtml"}}
When clicking on one of the products, I am taken to the product page. However, that page does not include the category in the url or the breadcrumb. How can I get the product's category to show up?
I am having problems displaying all products on my magento homepage. I have added this code to my CMS - pages - design:
{{block type="catalog/product_list"
name="home.catalog.product.list"
alias="products_homepage"
template="catalog/product/list.phtml"}}
but had no luck. I have tried re-indexing my products and I have flushed the cache. Been at this for hours now looking for answers.
I have also tried adding the category id to the above code.
I have a custom theme on my Magento so maybe it has something to do with this?
Add it to your CMS page CONTENT, not design.
I added some products in the magento admin panel, but i don't know how to display that to my homepage..
Use below code in home page
{{block type="catalog/product_view" product_id="166" template="catalog/product/view.phtml"}}
OR
Create new singleproduct.phtml file in your template directory
visit
http://www.magentocommerce.com/boards/viewthread/19173/
for more detail