Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [category-tree]

The tag has no usage guidance.

76 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16
votes
0answers
503 views

Magento 1.9 Create new Magento Rest API to get category list

I am very confused about what kind of error I am doing to follow these steps provided here at the following link : Create new Magento Rest API to get category list in Magento After doing all ...
7
votes
2answers
2k views

Magento 2 Custom Module admin form category tree

How to get Magento 2 category tree in Custom Module admin form. I din't use UI Component I am using Main.php like this i am adding $fieldset->addField( 'label', 'text'...
4
votes
0answers
59 views

Magento 2 How to duplicate the category with same structure?

I want to duplicate the category with the same structure and data. How to duplicate child categories here? It is working correctly for a single category. In my controller file, I have the parent ...
4
votes
1answer
188 views

A-Z Category Listing Magento 2 Static Block

I am attempting to create a A-Z category listing within a static block, something like the attached image. The static block will be on the parent category, and the listing will show the parent ...
4
votes
0answers
229 views

Magento 2 Category Field in Backend empty, Index Table wrong?

I'm trying to add categories to my products via Admin UI but unfortunately, the field in the backend is empty and doesn't show my categories: I've had this problem since some weeks, but usually it ...
2
votes
0answers
20 views

Magento2.3.0 How to do in left side navigation custom category tree structure create it?

I am using Magento2.3.0 I need in left side layer navigation instead replace category section there our custom category tree display on it and its work as on fronted side only.If any one this type ...
2
votes
0answers
651 views

Magento 2 sort category programmatically by alphabet ascending order

I want to sort category programmatically by alphabet ascending order. I am able to append category programmatically by below code. But I can not able to sort category by code.
2
votes
1answer
737 views

Magento 2: Add UI Multiselect Dropdown

How can I add categories multiselect (same as one used on product page - screen) to my custom module? Edit: Following @PrincePatel suggestion I have rewritten part of my code to use ui_component. The ...
2
votes
0answers
60 views

Category tree generating takes too much time

StackExchange! I've faced big problem with category tree generating process. I run $flat = Mage::getResourceModel('catalog/category_flat'); $categories = $flat->getCategories($parentCategoryId, 4, ...
2
votes
2answers
3k views

Display categories and sub-categories

I'm tryng to display categories and subcategories on a cms page <?php $categories = Mage::getModel('catalog/category') ->getCollection() ->addAttributeToSelect('*') ...
2
votes
0answers
121 views

How to get category tree with selected permission to user in custom module?

I have created category tree in my custom admin form. Now If i give role to user to view only selected category in custom category tree. How to show permitted category in custom category tree in ...
2
votes
1answer
1k views

Drag and drop category error

I get There was a category move error. on moving(drag and drop) subcategory to another root category. How I debug this? on console I get Expected to start loader but did not find one in the dom this ...
2
votes
1answer
49 views

Manufacturer tree structure

I am searching for a way to make a brand tree. I want to have a Manufacturer -> Brand -> Product line For every single level I need to store a description and logo. Task will be easy to ...
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-...
2
votes
0answers
551 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 ...
2
votes
1answer
514 views

Magento 2 Categories not display

Magento 2 Category tree not showing on admin's product edit page? How can I solved it?
1
vote
0answers
8 views

How to display the category pages based on the custom page inputs?

1) Custom page have to accept few inputs and respective category page need to be displayed based on the inputs 2) Custom page need to be displayed some custom options and those prices need to ...
1
vote
0answers
20 views

default store view is not selected by deafult when open any category in magento 2 admin

I have migrated Magento 1.9.3.1 to Magento 2.3.0 I am getting an issue in the admin. When I open category in admin side then English store is selected by default. How can I make default_store_view ...
1
vote
0answers
28 views

Problem With Recursion (categories and subcategories)

I'm testing a code from the answer by @digitalsteez on this question: Get Categories and Its Sub Categories I've tested it onto two Magento instance, one has no problems but on the other I'm ...
1
vote
0answers
41 views

Third level categories Url is not working in magento 2

Shop Colors Rushmore Boston Mill Little Cottonwood This my category structure. But child category URLs are not working. Link: mysite.com/shop/colors/rushmore.html
1
vote
0answers
64 views

how to create a custom tree similar to the back office category one in Magento 2?

I'm trying to create a left menu like the category one in a custom module to display my own hierarchy. I want to use a custom model from a custom table. I was able to get the category tree in my ...
1
vote
0answers
20 views

How to get category detail along with subcategories and products in PHP file not PHTML?

I have looked over internet but can't find a solution to get detail in my controller or block file i have tried Registry Tried get id of category from param Also tried from Magento\Catalog\Model\...
1
vote
0answers
18 views

How to skip any category in seo meta title template?

We have magento 2 on website we have 4 categories, we sell photocopier parts, let me give an example what issue we are facing and what we want. Konica Minolta - Bizhub Color Series- Bizhub 203 - ...
1
vote
0answers
240 views

Magento 2 - Layered navigation Parent and Child Category Filter issue

I am using WeltPixel layered navigation Free extension. In category filter, third level categories was not showing in filter navigation by default. I added some code to get third level categories. ...
1
vote
0answers
105 views

magento 2 get all category id of a specific store including all level nested child category

i want to get all category id of a specific store in magneto2 including its all root category and all level nested child category id of all root category i am trying with following cod but using this ...
1
vote
0answers
117 views

Magento2 How to get the category collection as tree structure under multiselect field programmatically.?

I want show category collection as tree structure for custom multiselect field at admin end as reference like below
1
vote
0answers
33 views

Duplicating Categories

I am trying to set up a new website which has been migrated from an older site. This migration carried over the old category structure. Within the new structure i want to build, I am creating new ...
1
vote
0answers
45 views

Removed products from a category but still showing

I removed a bunch of products from a category and it's still showing in the webshop. What I've done is: Reindexed all indexes Cleared all caches Another problem that keeps happening is that I can ...
1
vote
0answers
17 views

Bug cannot create new catalog

I am seeing the following broken code with \n characters when I go to Admin->Catalog->Manage Categories. I was wondering if someone has a clue what kind of bug is this and how can i fix it.
1
vote
0answers
47 views

SOAP V2 : catalog_category.tree Not Working on Localhost

Configuration : Code: <?php $proxy = new SoapClient('http://192.168.1.89/abc/api/v2_soap/?wsdl'); // TODO : change url $sessionId = $proxy->login('cat', 'welcome'); // TODO : change login and ...
1
vote
0answers
92 views

Why category resource is not present in catalog? Also explain how to add category

I want to retrive category tree in rest api but category is missing in resources. While hitting 127.0.0.1/magento/api/rest/category got message Request does not match any route. Please tell how to ...
1
vote
1answer
523 views

category name is not show after save category` in backend in magento 2

I create new sub category under default category after save category name is not show ? help me please
1
vote
0answers
200 views

Magento 2.0.17 Category page Error - Uncaught ReferenceError: updateContent is not defined

I am creating a Root/Sub Category from Category page. But in console, showing following error: I am using magento v2.0.7. Browser: Chrome latest version
1
vote
0answers
194 views

Create a Custom module that has a categories tree Magento 2

I am trying to create a module where the admin can add items in a tree like the when adding categories like this image. Has someone created one I can work off or is there any resources out there I ...
1
vote
1answer
424 views

Magento 2: How to add a product grid and category tree in custom module?

I need to add a Product Grid and a Category Tree in my custom module. (Product Grid as given in admin category page & Category Tree as given in admin product page). I need both of them in single ...
1
vote
0answers
288 views

Magento 2 custom EAV to category tree API

I have two custom field sw_menu_icon_img and sw_menu_icon_hover_img on Category in Magento 2 to store the menu icons. I tried to override \Magento\Catalog\Model\Category and \Magento\Catalog\Model\...
1
vote
1answer
334 views

How do I make my category sort orders keep from reverting to different order in admin view?

I am using Magento 1.9.2.1. When I am in Catalog/Manage Categories I am finding that the sort order that I am dragging my categories into is not staying the same. I have caching disabled as this is a ...
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 ...
1
vote
0answers
172 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 ...
0
votes
0answers
14 views

Magento 2 : Admin for category selector field does not saved a value in DB

In magento2, admin for category selector field does not saved a value in db sales_rule_form.xml <field name="category_ids"> <argument name="data" xsi:type="array"> ...
0
votes
0answers
14 views

Creating 2 menus from 2 separate categories

So, I am trying to accomplish this design. My issue is trying to populate 2 separate menus because it seems as though I have to create two root categories(which I understand why that is stupid) or ...
0
votes
1answer
36 views

URL rewrite magento 2 admin-side issue

Magento2 - facing issue with below error in admin panel error in console category:1 Uncaught SyntaxError: Unexpected token C in JSON at position 473 at JSON.parse (<anonymous>) at getData (...
0
votes
0answers
50 views

Magento 2 Facing Problem :Could not save product “3194” with position 0 to category 12

I am facing a problem whenever I go into catalog->products->edit product and delete the category from product and click on save button the error is coming. Could not save product "3194" with ...
0
votes
1answer
24 views

Magento 2.3: Is it possible import/create a category tree with category_id assigned

I have to import a 3rd party catalog into Magento 2.3. I need to recreate in Magento the category tree with the same category_id in the original tree because I need it when I update inventory. How can ...
0
votes
2answers
92 views

Magento 2 How to get disable/enable child categories?

I am working with display all categories on a custom page, either it is enabled or disabled. When I try to get child categories with "getChildrenCategories()", but it is returning only enabled child ...
0
votes
1answer
66 views

Magento 2 Auto-remove empty categories from menu?

I am using Magento 2.3.1 and the pearl theme. My site has many different categories and I wanted to know if there is a way to have magento automatically remove categories that don't have product in ...
0
votes
1answer
40 views

How to customise category top menu navigation by custom category id in Magento 2?

By default Magento 2 showing the all store categories in top menu with a tree structure, I want to filter with custom category ids and only that filtered category need to show in category top menu ...
0
votes
0answers
70 views

Magento Category Structure - How to handle category taxonomy like modern e-commerce sites

I hope this title isn't misleading and properly describes what I am wanting to do. I am also seeing insight from the community for the best way to accomplish the end goal that I want for Magento ...
0
votes
1answer
10 views

Magento 2 Error “URL key for specified store already exists

Basically i am adding a custom category the problem is when i add two child category with same NAME in to one parent category where child category is already present then this shows error of URL KEY. ...