Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [category]

Questions about product categories in the Magento catalog

3
votes
1answer
1k views

How to get a Product ID after a product post via REST api to update product category

I want to insert products from a csv-file into the Magento DB via the REST API. First I try to update one single product. The product is inserted into the db but this product needs to be assigned to ...
9
votes
1answer
13k views

Parent category is showing products in subcategories, even though product was not assigned to parent category

Let's assume I have a category, Clothing and this category have a sub-category, T-shirts. Now I add a product to the T-shirts category (by checking the box in the add product screen), but I don't ...
0
votes
1answer
1k views

Category Design Tab disappeared!

I actually have no idea where to begin troubleshooting this, since I haven't really touched anything with Magento's backend. The only sin I've committed is by editing the database directly, but only ...
14
votes
3answers
41k views

How to get top parent Category from current category object?

How can I get the top level parent category (just after Default Category) from current category object? I want the Category Name and Category URL of that parent category to show in the subcategories. ...
1
vote
1answer
1k views

Product filter using attributes

How to filter products shown on the category pages based on the products attributes??? I should be able to filter the products based on the attributes such as manufacturer price color etc shown on the ...
4
votes
1answer
4k views

Displaying Root Category in Magento Main Nav

I was wondering if it was possible to have a custom block or a menu item that when hovered over displays a list of all the categories in the shop? I tried to do this with the Root Category but I can’t ...
2
votes
2answers
14k views

Category tree from specific parent category

With the code below I try to get the children categories from a specific parent category with ID 7. <?php $rootCatId = Mage::app()->getStore()->getRootCategoryId(); function ...
0
votes
1answer
1k views

Category ID's order

For example I have a product called Nike shoes and it has categories Catalog > Shoes > Men. What I need is just to get the name of the last category (Men). At first glance it can be retrieved ...
1
vote
1answer
7k views

Category active product count on category list

I am trying to display number of products in in each category.. and using this code to display all subcategory of category id:3 It is showing but it is counting not visible and disable product also, ...
10
votes
3answers
8k views

Add a extra category attribute under general infomation tab

I am trying adding a extra category attrbiute to general infomation tab i have tried adding that using the following code , require_once("app/Mage.php"); Mage::app('default'); Mage::app()->...
6
votes
2answers
2k views

Edit products from certain category

I need to change the category from a couple of products. The products I need to change are all from one category, but it's not possible to sort by category on catalog -> manage products, is it? On ...
2
votes
1answer
2k views

MAGMI Product Positioning Import

I'm using MAGMI to import products to my Magento store. There's an option for product positioning inside categories. But I'm not using it right or it's not working. On this page: http://sourceforge....
1
vote
3answers
1k views

Blank category page

I am having strange issue I have edited one category and saved the data and I got a blank page as seen in the screenshot. I have cleared cache and also session and I have enabled the error_reporting ...
0
votes
1answer
73 views

Get categories trail on catalog page

For example I'm on boots catalog page: Shoes > Womens > Boots If I add this code: $category = Mage::getBlockSingleton('catalog/navigation')->getCurrentCategory(); It'll return only Boots ...
2
votes
1answer
5k views

How to add attributes set column to category products grid?

How to add attributes set column to category products grid under Catalog -> Manage Categories -> Category_to_be_edited I've added special price since it was already available in the collection. ...
1
vote
2answers
5k views

How to add special price to category products grid?

How to add Special price column to category products grid under Catalog -> Manage Categories -> Category_to_be_edited
0
votes
1answer
936 views

Some Categories are Showing up All Products - How to Fix This?

This is the display setting of one of a category that is listing all products instead of showing only products that are assigned to it. Display Mode = Products Only CMS Block = Please select a static ...
10
votes
3answers
6k views

How to apply a category's display setting to all categories?

I have many categories and instead of applying new settings to all categories one by one, i would like to know if this is possible to apply new settings to all categories at once? Thanks!
2
votes
3answers
4k views

Best Practices - Changing Column Count

So far I know two ways of changing the column count. Option 1. Hard Coding it: Change: <?php $_columnCount = $this->getColumnCount(); ?> To: <?php $_columnCount = 4 ?> //or ...
3
votes
1answer
1k views

Is there a better way to add layout updates to a category rather than using the “Custom Layout Updates” field?

Here's the issue in a nutshell; I have a module adding custom templates that can be used for CMS Pages or Categories. The layout I'm using has updates in local.xml referencing the layout_handle ...
0
votes
3answers
3k views

Different layouts for parent categories?

This is my category tree: -Default Category --Top Cat 1 ---sub cat 1 ----sub sub cat 1 ----sub sub cat 2 ----sub sub cat 3 ---sub cat 2 ---sub cat 3 --Top Cat 2 ---sub cat 1 ---sub cat 2 ---sub cat 3 ...
1
vote
1answer
155 views

Is it possible to access categories from an outside root category?

I have a root category set up for all the products. What I am trying to do is setup what I call a meta category. This category would be used for things like holiday themes, gifts for him, etc. What ...
1
vote
2answers
3k views

Category images not uploaded in backend

Recently a client pointed out an issue where they couldn't upload any category images. Editing the category works fine but the image upload doesn't. The media directory is writable, all other image ...
1
vote
2answers
10k views

There are no products matching the selection

I can't seem to get the products showing up on the home page. I keep getting "There are no products matching the selection." This is what I have tried so far ... Category ID is 35, Is Active = Yes,...
1
vote
1answer
3k views

How to sort child category collection

I a m using this function for getting child categories of current category public function getCurrentChildCategories() { $layer = Mage::getSingleton('catalog/layer'); $...
3
votes
1answer
1k views

How to show category siblings?

I have a Magento based website. In my product page I need to show related categories regarding the category the product fall into. For example suppose the category structure A- has three child ...
2
votes
1answer
3k views

1.7 displaying products placed in a root category

I've built a new block that displays products placed in a specific category (chosen via ID) and renders them out with some fancy jQuery. Now to test this I passed a id of 17, a category with plenty of ...
3
votes
1answer
658 views

Store categories are not displayed

I recently upgraded Magento from 1.3 to 1.7 - everything appears to be working fine but there is a little issue. I am unable to view my category on front page. I am displaying all my categories on a ...
0
votes
1answer
768 views

Magento keeps auto-checking “Use default value” box in category description field after save

I have a problem with Magento community edition 1.4.0.1. When I go to edit store categories, not the global one but for specific store for some categories (not all of them) Magento keeps auto-checking ...
1
vote
2answers
2k views

layout - call left column block within main column (in the 1column.phtml template)

I have a category list page which uses the 1column.phtml template. However, when the user navigates to a category where there are no subcategories - and only its products are displayed - I would like ...
1
vote
1answer
2k views

How to disable product count in category sidebar, but not layered nav

In a category view, Magento shows the product count of any child categories in the sidebar next to their names. When the viewed category is un-anchored, it only counts products explicitly assigned to ...
6
votes
1answer
7k views

Is it possible to delete root category?

Is it possible to delete an empty root category once accidentally created or not required anymore. It looks like there's no "Delete" button.
8
votes
1answer
11k views

How to set a page to display sub-categories and not products?

How to set a page to display sub-categories and not products?
2
votes
1answer
851 views

cannot translate category name for different store view

I'm trying to translate category name for different store view, but unchecking the "Use Default Value" checkbox does nothing. Category name field stays inactive. What could be the problem?
3
votes
2answers
10k views

How to show star rating on the category listing page?

I am working on the mobile site and I need to show the product star rating under each product. The helper calls the template summary_short.phtml which has section to show the star rating but for ...
7
votes
1answer
8k views

What is 'best practice' when setting anchor on multi-level categories?

With three level category tree (can be more!) where we want the highest level not to be set to 'anchor' but want the next level down to be an 'anchor', what would we do with the lowest level? Set it ...
4
votes
2answers
21k views

How to change template of category page depending on category level in code?

I had a project where there was no pattern and I applied all changes of categories layout in Admin area (Catalog->Manage Categories->Custom Design tab). Now I need to have the following: Parent ...
11
votes
3answers
11k views

Find out to which categories a product belongs to

I opened a product in the backend, but when I switch to the categories tab, the category tree is fully collapsed. I would have to expand all categories to see in which ones the product is in. How can ...
5
votes
3answers
14k views

How to assign category on multiple products?

I can assign multiple products into a category when I am creating a category, but how can I assign a category to multiple products at once? I have tried to check multiple products in Manage ...
22
votes
8answers
18k views

Hide categories with no active products

Is there a way to hide categories that don't have active products? Or, even better, only show categories that have active products and stock.
6
votes
1answer
4k views

How do I sort Magento products in a specific category according to my order

I want to sort Magento products on a list page for a specific category according to my given order. Can I have a text field in each product and give any number and my products in that specific ...