How to display category page in magento - magento

I'm using magento 1.5.0.1. In my home page i want to display categories, i have created 3 categories and gave is active option to yes in admin. I want to display these categories with link in my homepage. In the homepage i have these code
<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="product_list"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block>
</reference>
How to change this to view categories. I'm new to magento. Please help me out of this......
I have given Include in Navigation Menu to yes while adding the categories.

You can use build in widget "Catalog Category Link".
Open your magento backend
Navigate to CMS->Page
Select "Home Page"
Choose tab "Content"
Click on button "Insert Widget..."
Choose widget "Catalog Category Link" from list of available widgets.
Fill widget required information and click on "Insert Widget" button
Repeat step 5-7 for each category that your need to display on home page

Related

Change default title in Magento

I follow: System -> Configuration -> Design -> HTML Head -> Default Title, and change title to: This is title for my website.
But when visit home page, title is: Home page.
What is wrong?
Home page is managed from ,it cms home page.Please goto admin >CMS>page> find here home page.and here you change title
Refer this thread
Step 1: Goto Home page in the CMS page editor
Step 2: click on design, then enter this XML into the “Layout Update XML” field:
<reference name="head">
<action method="setData"><key>title</key><value>Home</value></action>
</reference>
Now the home page title is set as Home
Cheers
Go to CMS->Page in Admin section
in the list that shows up see the left most 'Title' column. You should find a page with the title 'Home page'. Note that this is the page title you are seeing when you visit the homepage.
Click that row
Under Page Information you will see Page Title. Changing that will change the title of your homepage.

Unable to display products of home page in Magento 1.8.1

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.

Magento Latest Products on home page won't show product category in breadcrumb

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?

Products are not displayed in magento homepage?

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

Display grid and form on sales order view page on click of custom tab

When we are on sales order view page in admin, there are tabs on left side.. I want to add my own custom tab below that exactly same as Invoices tab.
I am trying to get grid and its form on click of custom tab but not getting it.
Please help me to figure this out.
To add tab to the order view page you need to create your own module with adminhtml layout xml, add there
<adminhtml_sales_order_view>
<reference name="sales_order_tabs">
<action method="addTab">
<name>my_tab</name>
<block>module/adminhtml_module_edit_tab_mytab</block>
</action>
</reference>
</adminhtml_sales_order_view>
so now you need just create block module/adminhtml_module_edit_tab_mytab as usual magento backend grid

Resources