Questions tagged [category]

Questions about product categories in the Magento catalog

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Fetch catalogCategoryTree through Soap API fails with custom attribute

For a Magento 1.7.0.2 instance, I'm trying to integrate a custom attribute legacy_id in the category listing. This will be used to match categories from a backend system with the Magento categories. ...
5
votes
2answers
24k views

Import products with multiple categories

Hi I am importing products in my 1.7.0.2 new setup, I already added the categories. when i import the csv product file, all go well. But the problem is the product is added to only subcategory, it is ...
1
vote
1answer
1k views

products show up on category page but not in collection

I created a featured products slider on the home page. It was inserted via the following code: {{block type="catalog/product_list" category_id="563" template="catalog/product/featured-products.phtml"}...
2
votes
1answer
314 views

Old category link redirection

I was trying to solve broken links problem with URL rewrite for category, but I've noticed, that it's not working well. I've changed category link from category.html to proper-link-to-category.html ...
5
votes
2answers
2k views

How to add a (working) widget button to category WYSIWYG editors?

I need to add the widget button to the WYSIWYG editors of some category attributes. There are two questions on Stack Overflow with accepted answers: Magento: How to add the widget button to the ...
4
votes
1answer
13k views

Create CSV list of all products & their categories

can somebody suggest me a way or a script to export a csv file with all product SKUs & the categories those SKUs are associated to? I've tried several things... but nothing seems to work. ...
1
vote
2answers
3k views

Associate Products to Categories after Export CSV

Is there a way to associate products with categories? I've exported a csv with all the products, images etc (a complete export) then after the import (it wasn't painless) I've noticed 3 things 1) ...
5
votes
4answers
14k views

Categories - how to display in alphabetical order? (Programmatically)

We've been importing a lot of data into Magento CE using Magmi. It's creating our category tree for us. However, we'd like to display our category tree in alphabetical order. Is there a way to sort ...
1
vote
2answers
1k views

Products from outside store's root category showing up on frontend - Is this right?

We have several stores setup under a single install of Magento Enterprise. We now share accounts globally so there is a single cart and login across all stores. We have a separate root category setup ...
0
votes
1answer
905 views

Transactional email based on category

I would like to send different transactional email based on ordered product category. What is the best solution to achieve this? The goal is to send emails: - based on category if ordered products ...
5
votes
6answers
32k views

How can I disable filter “category” from Sidebar

I choose my Category XY and get the Product-Grid, on the left side there is the Sub-navigation and below the "Filter Navigation". The attribute filters starts with "categories", "manufacturer", "size"...
3
votes
6answers
16k views

Category Image / getImageUrl() is empty

In back end I can see the category has an image but if I try to show it in a template it is empty: $_category = Mage::registry('current_category'); $_imgUrl = $_category->getImageUrl(); Why ...
1
vote
2answers
1k views

How do display category icons/images when top-level category is selected?

I'm looking at catalog/category/view.phtml So I suppose I should use getChildren, then loop through the children. How will I get from each child category a single product based on a certain sort ...
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 ...
3
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 a special price since it was already available in the collection. ...
1
vote
2answers
6k 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
937 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
163 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 set up 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
770 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
860 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 ...