We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [category-tree]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
448 views

Add category tree with checkboxes to the form

Is there any way to add a category tree with checkboxes to a form in the admin part? The form contains two other fieldsets, and the category tree must be added as the third fieldset. All information ...
0
votes
2answers
156 views

Set product's category based on its current category children

I have a lot of products on database, and every single one has a single category asociated, now I want to assign every category parent linked with its current category children. For example, in the ...
0
votes
1answer
583 views

How to load category tree with category image

I need load category image for the category tree. Currently I found a method to load category tree. But its not showing image of the category. public function getCategoryTree() { $...
2
votes
1answer
131 views

Multi vendor + add product - force to choose only 1 category

So I'm trying to make it so that the vendors can only add their product to one category from the checklist category tree (I'm using CEDCommerce's multi vendor extension). I'm sort of new to Magento ...
1
vote
2answers
4k views

Adding Category Attribute to Select

I'm trying to add a custom category attribute to the category collection: $product = Mage::getModel('catalog/product'); $product->setId($productId); $categories = $product->getResource() -&...
1
vote
0answers
195 views

Remove custom category attribute from observer [closed]

I m removing custom category attribute from the form for second level category. I m using magento observer for it and the event is adminhtml_catalog_category_edit_prepare_form I m using below code ...
1
vote
1answer
1k views

How to check if a product is within category several levels down

Hi so I have a hierarchy of categories, the parent of which is Ranges Each range may have subcategories several levels deep. What I need to do is check to see if the current product belongs to a ...
0
votes
1answer
87 views

Brand/Categorie listing on a custome cms page

I like to do the follow issue: A custom CMS page - calling landingpage for each brands we have. On this page we will have some images, some listing for featured products and a listing from all ...
0
votes
0answers
72 views

Save category URl with / symbol

I'm trying to save category url as sarees/applique-work as url path but it's being saved as sarees-applique-work . How I can save / in the URL ?
0
votes
1answer
2k views

Magento Categories Drag & Drop Reorder Extremely Slow / Fails

Hello Magento Wizards of t'Internet, I hope someone out there can help. I have a structure of categories that I am about to shuffle about. Essentially it involves moving third-tier categories into ...
1
vote
1answer
544 views

Exclude Categories by Level in Layered Navigation

i have a shop with a lot of categories. Layered Navigation (shop by categories) is on and active. Problem: I have two categories with plenty of subcategories. The Shop by Filter is now showing all ...
2
votes
0answers
202 views

Where to find source code and document for ext-tree.js 1.0.1 [closed]

I'm a bit surprised magento is using a super old ExtJS library whose version is 1.0.1, it's about 8 years old. In ExtJS website, there's no document or source code available for such old version. The ...
2
votes
1answer
35 views

How to create multiple global catergories?

I want to create one more category layer above root category. for e.g: I have three categories, MEN,WOMEN,KIDS. I want this three as global category. Under Men, Fashion is root category and t-...
1
vote
0answers
60 views

Order top level categories without using drag and drop admin function

Currently need to position a new category between two existing top level categories. Can't use the drag and drop feature in the admin as it seems to cause rewrite and duplication issues. Is their a ...
2
votes
1answer
48 views

Subcategories in grid but skip one level

I would like to place my subcategories in a category page and I found many examples how to do this. The only problem I have is that I use an extra category that I would like to skip. So what I have: ...
2
votes
0answers
550 views

Backend category tree slow - manage categories

Recently i have imported a good number of categories. But now whenever i go to the manage categories in the backend panel, it loads the page extremely slow. It takes about 20-30 seconds to load the ...
2
votes
0answers
135 views

Url Rewrite 404 Error Multistore view

I have two views english store and german. The switch for switching the two languages ​​works without problems. I find myself as on the German side imprint. From there I would like to switch to the ...
1
vote
2answers
49 views

Hide in “Browse By” side block product numbers if there are no products in that category

I am using a tree of categories, the last category in the tree has products. All the others have only links to subcategories or texts (static blocks). Here is an example: Category A --> Category ...
2
votes
3answers
109 views

Put products in all categories of the tree?

Suppose I'm creating a category tree with several levels, call them L1, L2, L3, L4. My inclination is to put products within the leaf node of each path through the tree. Where most of my products ...
0
votes
1answer
1k views

$category->getChildren(); does not work?

When I am using $category->getChildren(); and I am getting empty array? I have children categories defined and I can see them via Admin Panel. Where should I look for the clue? thanks
1
vote
2answers
123 views

Google Tracking & Magento Drop down Navigation

I'm trying to track click events in our 2 level drop down category navigation menu - located in the header. All I'm trying to do is add some attributes to the <a href> tags but this is proving ...
2
votes
1answer
3k views

Admin Choose Store View Missing?

I have just noticed that in my 1.9.0.1 store, the drop down boxes for selecting store view at the top left of the category and product pages are missing. I have had a look at my old 1.6.2.0 store ...
1
vote
0answers
171 views

Magento Move Category

On an installation of Magento 1.9.0.1, I've noticed that moving categories programmatically doesn't change the parent_id column in catalog_category_entity and can leave things broken. Let's say that ...
1
vote
1answer
419 views

Render only children in $_menu

i.e. I have the following category: main category (!= root) Main category | |- sub category 1 | |- sub category 2 | |- sub category 3 My navigation, <ul> <?php echo $_menu ?> ...
0
votes
1answer
79 views

Get categories by id

I'd like to retrive the categories tree excluding some categories of level 2. Here is my code where I exclude them $categories = Mage::getModel('catalog/category')->getCollection() ->...
0
votes
2answers
2k views

Get Sub Category List of a Current Category as Select option

Currently in a Category view page, its sub categories are displayed in a list format. I would like to change the list to select option so when there are too many sub categories users does not have to ...
4
votes
1answer
681 views

hide only some categories from layered navigation in magento

we are using custom theme and 1.9 version we have lot of categories in magento site. we have to hide some categories from "layererd navigation". for some categories we put "NO" for "Include in ...
1
vote
1answer
170 views

Meta Descriptions - Item Count Appearing on Search Engines

For category pages, when displayed on search engines, there is an "item count" that is displayed before the meta description. I fear this may be hurting our click through rates. Is there a way to ...
1
vote
0answers
327 views

Quantity sold for each Category report [closed]

I'm attempting to create a report based on the category and the quantity sold for that category. So two columns: Category and Quantity Sold. Pretty much as you see in this report here with the ...
0
votes
1answer
380 views

Category tree in “Manage Categories” page - not showing subcategories

In my magento's "Manage Categories" page, clicking the + sign for a particular category, makes the plus sign disappears and no subcategories are displayed. If I access category tree, by selecting ...
0
votes
1answer
488 views

different colors for different types of categories and sub categories in magento

please visit this link : http://demo.kidsdial.com/ on top of the site, you can see "catalog search box "all categories" and search box. if you hover mouse on dropdown symbol next to "all categories" ...
0
votes
2answers
675 views

What is the purpose of catalog_category_view handle in bundle.xml file?

I know that magento process catalog_category_view handle (category action handle) before processing catalog_category_default or catalog_category_layered (category layout definition handles ). ...
1
vote
1answer
178 views

Filter child categories by id

I would like to exclude a number of child categories from my catalogue collection in order to amend a mega menu I am creating. I have tried the following: $subAcc = $acc->getChildrenCategories(); ...
2
votes
1answer
1k views

Show only parent categories and sub-categories in left nav

I have currently implemented a code which shows all categories on the left nav instead of that I want current category and current category's all sub categories. Now my category structure is like -...
0
votes
1answer
554 views

Sorting only subcategories second level alphabetical order

i am aboslut new to programming with magento. I have a cms page where i want only the second level of one topcategory shown in alphabetical order. Here is my code: <?php $parentCategoryId = 125;...
0
votes
2answers
1k views

Error while trying to programatically create flat category

Using Magento 1.9.0.1 I am trying to programmatically create categories using a data upgrade script with the flat categories option turned on. This first category I want to create is a new root ...
0
votes
1answer
346 views

Category tree by default folded out when adding new product

i am using magento 1.8.1 CE. Is it possible to have the category tree expanded while when adding new products? Now i have to fold it out myself every time untill the right category. Thanks in ...
1
vote
1answer
820 views

Programmatically create site categories using an install script

Using Magento 1.9.0.1 I am trying to script my entire sites config and settings using install scripts so I can keep the whole site under version control. I am now at the point of creating my ...
0
votes
1answer
2k views

Check if category is child of another

I know how to check what the parent category id is, but what I am trying to do is find out if the current category is a child of a specific category, up to 2 levels deep. For example: if user is ...
2
votes
2answers
706 views

Change Category Order Programatically

I am currently working with a client who has a large catalogue with hundreds of categories. We are in the process of restructuring their category tree and are finding that the Magento admin area is ...
6
votes
2answers
8k views

Category Paths in Product URLS - Yes or No?

I've heard some conflicting opinions on whether having category paths in your product URLS is a good idea. An SEO guide I'm currently using suggests that Magento doesn’t support this functionality ...
2
votes
1answer
441 views

How to show subcategories even if parent category is disabled?

How can I show the subcategories in the frontend even if the parent category is disabled? Suppose I have categories like following Electronics Cell phones ...
1
vote
1answer
450 views

Get parent category in home page with .phtml temaple

I am trying to get only parent categories of a category id 4 but right now instead of parent category it is listing all child categories. Below is the code that I currently have in .phtml template ...
2
votes
3answers
3k views

Magento category tree not showing all sub categories when adding a new product

Hello Everyone I hope you are doing well. I have an issue I need help with Please. I'm trying to add products to specific sub categories using Magento ver. 1.9.0.1 I've been able to do it with no ...
1
vote
3answers
999 views

Change category urls for one category

For design purposes we have a sub-category called Brands which list all the brands. However we would like the urls to ignoer /brands/ part so domain.com/brands/brand_name would be domain/brand_name ...
0
votes
1answer
706 views

Manage Categories section in admin is missing expand plus signs beside parent categories in Magento 1.9

I have been working on developing a Magento site and today the little plus signs beside the categories on the Manage Categories section of the admin side disappeared. I can still use Expand All to ...
0
votes
1answer
253 views

Listing subcategories within a category page

I have turned 'is anchor' to 'no' on a specific category and now when clicking that category, instead of it showing the sub-categories it now shows a blank page which is 'frontend/base/default/...
1
vote
1answer
280 views

Specific Category with Subcategories on sidebar/footer - can't pull category name

Now I feel stupid asking this, I had this answer 3 days ago, changed a part of my code and now have completely forgotten how to pull the main category name which should be easy enough. I have <...
2
votes
1answer
2k views

order sub categories alphabetically

I have spent hours searching forums and trying several methods but cant get anywhere. does anyone know how to order all sub categories in magento to display alphabetically front end A-Z?
0
votes
1answer
694 views

how to display sub-sub categories on left side

please visit my site link In POWER TOOLS category, go for FESTOOL Sub-category. You can see DRILLING AND FASTENING sub-sub Category there. But thoseDRILLING AND FASTENING sub-sub category is not ...