Magento Themes and Magento Extensions

Magento – Display Root Category Products With Filters

Share
Posted on May 11th, 2013 | Posted by admin

I had to display all the child categories products of the root category on a page with filtered navigation on the left column, but by default Magento does not display the root category products.

After some search and research I find the solution for this. It can be accomplished using Layout Update XML inside the CMS page. Not only layered nav but toolbar will also be displayed. For this we need to create a new CMS page or we can use any existing page where we want to display the products of the root category with filtered nav.

Follow steps:

  1. Open Manage Category page in admin and choose the root category you want to display. Make sure that the category is Active and Is Anchor yes. Note down the category id.
  2. Create a new CMS page, CMS > Pages > Add New Page or Edit any existing one where you want to display the products.
  3. Fill the proper information in the required fields.

Magento : Add CSS / JS for Specific Category

Share
Posted on March 29th, 2013 | Posted by admin

Magento : Add CSS / JS for Specific Category : This is very well known and general issues and tons of crap tutorial is also there in the internet , here is the simplest solution . Lets say suppose you want to add a css , so create a css file  so i just create a css file customcategory.css inside

/skin/frontend/default/default/css

.category-description {

    height: 475px !important;
    margin: 0 0 10px;
}

now add the below code in manage category->choose the category ->custom design and under custom layout update texarea put this

Magento – Print out a category navi with hiding specific categories

Share
Posted on March 28th, 2013 | Posted by admin

Manually print out a category-navigation in a magento frontend template. within “stristr” you can enter an array of category-ids that should be hidden from display.

  1. <?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>

Make Magento Use A Different Category Than ‘Default Category’ To Generate The Header-nav?

Share
Posted on March 25th, 2013 | Posted by admin

I have 4 categories within the ‘Default Category’ category. Currently by default Magento is generating the cw1header-nav from ‘Default Category’, and displaying the 4 categories at the top of my site. The “Products” category is in the “Default Cateogry”. Inside the “Products” category are the sub categories that i want to have displayed on my top nav.

Magento – Add Custom Category Attributes

Share
Posted on March 4th, 2013 | Posted by admin

Add Custom Category Attributes in Magento
A client wanted to add a description to each of his product categories, such that the first built-in description would be above the product listing, and the second description would be below the product listing.  Rather than have them create static blocks for every category, it was obvious that I’d have to create a new category attribute.

Fortunately, I stumbled upon one possible solution.  The method doesn’t involve creating a full-blown module, rather, just a few database modifications using phpMyAdmin.

Page 1 of 212»