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.

Filter by
Sorted by
Tagged with
1
vote
2answers
351 views

How to move category to another parent category magento 2.1.8?

I want to move a category from parent category to another parent category. category Drag and drop from admin is too slow. So how can I do this using code?
0
votes
1answer
132 views

How to add a custom collection as "Category Chooser” in Magento 2 Backend

I want to add a category selector for my custom collection. I checked some articles related to this. Followed this article but haven't got any solution. Please advice a good solution.
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 ...
2
votes
1answer
942 views

Add custom css class to each item in Topmenu - Magento 2

I'm looking for a way to add a custom css class to each menu item into the Topmenu. I already tried to it using interceptor method in Topmenu public function beforeGetHtml( \Magento\Theme\Block\...
0
votes
1answer
444 views

Magento 1 Update product categories to multiple root categories programmatically

In my Magento installation, I have created two root categories, one for each website. Let's say in my UK website, it use root category that has categoryID 2. In my US website, it uses root category ...
1
vote
1answer
461 views

How to increase the paging limit in magento 1.9 REST API

I am using the following code to fetch category tree where almost i want to fetch around 1000 records but only getting 100 records because of limit. $resourceUrl = "$apiUrl/categories/store/default?...
16
votes
0answers
501 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 ...
2
votes
0answers
649 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.
1
vote
0answers
91 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
384 views

http://myurl/api/rest/categories is not working

I want to get category tree in magento 1.9 using REST API using this code http://myurl/api/rest/categories but i am getting error 404. Please help me in to get over this error
3
votes
1answer
346 views

Issue - Multi-Store Category Disable Not Working

I have disabled one of my categories, but still the category display on my menu bar in the website. How can I solve this issue? Menu Extension : https://web-experiment.info/webandpeople-custom-...
1
vote
2answers
678 views

How to add product grid from phtml file

I have a category with more than 50K products therefore whenever I click on it in admin "Manage Categories" it gives me memory exhaust error, now I want to only load products when I click on "Category ...
4
votes
0answers
228 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 ...
1
vote
1answer
522 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
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'...
2
votes
3answers
5k views

How to get category tree in Magento 2?

I need to show category tree, just like in admin section, in my custom page. I viewed this solution in magento.stackexchange.com. It was good but limited to 2 levels of category. I need all the ...
0
votes
1answer
40 views

magento 2 custom module grid form need smart tags

I need to add admin grid form list out all category like this Any one guide me
0
votes
1answer
51 views

Get every category with its sub categories without module

I need to get category list with sub categories. I've found multiple solutions that I may need to create a module and get category list inside module's template file. But I need to do this without ...
1
vote
1answer
392 views

Magento 2 How to get all products from a non anchor parent category and its subcategories

I want to display all products from a non anchor parent category and its subcategories. My categories are non anchor. http://i.prntscr.com/NOZYKxj4Sh2S2tw1yHjyLQ.png
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
2
votes
2answers
538 views

Magento 2: “There was a category move error”/“Something went wrong while saving the category”

We are experiencing issues when trying to move or save a category in Magento 2.1.8 Trying to move a category results in: There was a category move error. Whilst trying to save gives this error: ...
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 ...
0
votes
0answers
120 views

Can't save Category Display Mode in Magento 1.9

I can't save Display Mode setting when updating a category in Catalog > Category session. Only Products is working. Another 2 options are not being saved. Is there an issue about it? How to ...
1
vote
1answer
418 views

Magento get All tree Categories

I want to get all categories in store. so if set any category option not including in navigation menu the category not showing in list tree. So My question: how i can get all tree categories both ...
1
vote
2answers
60 views

Is it ok for Magento 2 to have 35k categories and 300k products

I'm going to migrate a website to Magento 2 that have 35k entities that really close to categories functionality. So I'm wondering is there any issue to have such amount categories? Is there any ...
1
vote
1answer
421 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
1answer
192 views

How to modify category tree in Magento admin?

I want to add custom icon/text in category at selected place in screenshot. I don't know which file I need to edit to modify the category tree. Can anyone help me in getting out of this?
2
votes
1answer
730 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
1answer
5k views

Magento 2 REST API returns only default category and its children

I am using "rest/V1/categories/" (Magento 2 Rest API). In documentation(devdocs.magento.com/swagger/#) it says "Retrieve list of categories" but it only returns default category(and its all children) ...
0
votes
2answers
686 views

Get products directly assigned to a category

I am using following function to get product collection from a category with it's id. public function getProductCollection($categoryId) { $category = $this->_categoryFactory->create()->...
3
votes
1answer
1k views

Magento 2 - top menu show from 2nd sub category

a client has now a shop with the following structure of categories: Base Shop --Menu 1 ---Sub menu 1 ---Sub menu 2 --Menu 2 --etc Normal magento would only show "shop" in the ...
10
votes
2answers
2k views

Magento 2 : Show admin category tree on frontend

I want to display categories tree on frontend like admin default categories tree. Need to display category tree structure in my custom module and content area for frontend side. Any Help would be ...
1
vote
1answer
170 views

Add category description to “catalog/category_tree” collection

class Ab_CategoryObserver_Model_Observer { public function updateTopMenuJson(Varien_Event_Observer $observer) { $_helper = Mage::helper('catalog/category'); $_categories = $...
0
votes
2answers
1k views

How to display subcategories on category page?

I have used this code in view.phtml to display subcategories on category page <?php foreach ($this->getCurrentCategory()->getChildrenCategories() as $_subcat): ?> <li><a ...
1
vote
4answers
2k views

How to i can get category name and category id with hierarchy parent to child from database in magento?

I'm using this query: select cat.*, cv.value as `category_name` from `catalog_category_entity` as cat join `catalog_category_entity_varchar` as cv on cat.entity_id = cv.`entity_id` join `...
0
votes
1answer
1k views

New Category Page Showing 404

So I have made a new category and copied all settings from another working category with a new name and url etc but I get a 404 when hitting the category frontend. When trying to debug this I have ...
0
votes
1answer
246 views

Display categories and sub-categories : where to paste the code?

I'm very new for magento. I hire a company to create my magento website. however, there are some features that i 'd like to improve. For displaying categories and subcategories in cms page, i found ...
0
votes
0answers
597 views

Magento 2 : Selected Category Not Shows in UI Form

I add category selector in UI form <field name="catalog"> <argument name="data" xsi:type="array"> <item name="options" xsi:type="object">Magento\Catalog\Ui\Component\...
0
votes
1answer
246 views

Category tree is not showing in manage categories page?

I have installed magento in my server. I want to add categories but its not showing the categories as category tree. If I click add root category or add subcategory, nothing is working in that ...
2
votes
1answer
512 views

Magento 2 Categories not display

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

Get a list of sub-categories of parent

Issue I would like to populate a CMS static block with a list of sub-categories of the parent category, separated by the first letter of each sub-category. The desired result Brands (A) Adidas, ...
0
votes
1answer
20 views

Greatly change the category structure of an existing Magento webshop. Negative effects?

I am about to greatly change the order and add / remove categories for an already existing Magento webshop. Does this have any great side effects? For example Will it mess up the Google ranking / ...
0
votes
3answers
333 views

Top-menu renderer isn't fully configured

I deleted a category from my magento installation and then i started getting this error "Top-menu renderer isn't fully configured." on the page and nothing else would work.
1
vote
2answers
641 views

How to add this category in marketing menu?

I want to add new category called aaa and a link called bbb.. in magento2 Thanks for the help.
3
votes
0answers
1k views

How to add Category tree structure like product edit/add in custom module Magento 2 [Solved] [closed]

Hope you all doing well , i have solved the both Question posted by me . how to add Category tree structure like product edit/add in custom module How to add new category button in Custom Module ...
1
vote
2answers
1k views

Magento 2.1.3 - Import products. Issue with categories

When I'm trying import eg 2 products: I have no error with Check Data but on import: Category "MAN/zakiet/zakiet" has not been created. URL key for specified store already exists. in row(s): 2 ...
0
votes
1answer
171 views

1.8 - Add category tree to CMS page tab

I have followed the guide here and created a custom tab on CMS Pages: I now want to add a Category tree to this custom page. I have an answer here but I'm confused by this step: In your form file ...
4
votes
2answers
996 views

how to add Category tree structure like product edit/add in custom module

I want to add category tree structure in my custom module like Product Edit/Add.
0
votes
1answer
46 views

Alternative to move a tree type entity instance without calling $entity->move()

I'm trying to build a tree behaving entity similar to the categories in Magento 2. Of course I used the Catalog category entity as an example, but this works up to a point. I'm planning to implement ...
8
votes
4answers
2k views

Magento 2 : Selected categories are not visible in edit form

Added category selector in admin form using ui component. The category ids are saved into the db as comma separated values. Now I want to display that categories in my edit form. This is my ...