Questions tagged [category]

Questions about product categories in the Magento catalog

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

What is the restriction on flat catalog if my store has more than 500K SKUs?

I have a customer with more than 5 million products and 2500 attributes. They are using an external system to push products to specific ecommerce sites. They would like to push 500,000 product to ...
0
votes
0answers
8 views

Get Top Selling Categories

I have a dashboard for a vendor, I want to display the top 3 categories on the page, No luck till now. Anyone who has done something like? Or provide some reference
0
votes
2answers
17 views

How to get all the values stored in the new add category attribute in magento 2

I followed some instructions to do "Add new Image attribute for category in magento 2" and I was successful.and now I want to output all newly added images printed out in the same place on ...
0
votes
0answers
13 views

I can't save a category in Magento 2.3.5-p2 - Probably after migration from 1.9.2

I migrated a store from version 1.9.2 to 2.3.5-p2, I had some issues at first, as with any migration I did before, but I sorted everything out. The migration was made with the official Magento ...
0
votes
0answers
15 views

Magento 2 product collection category filter category position sort

Hi i am trying to get product collection with category filter and category position sorting but it not working i tried below way $collection = $this->_productCollectionFactory->create(); ...
0
votes
1answer
18 views

Adding Category attribute but they are missing

I have created 2 category attributes. They are appearing in my eav_attribute table. But I can't see them in the category admin form. I'm under magento 2.4. Attribute creation $eavSetup->...
0
votes
1answer
28 views

Category image full width with title centred

I'm trying to redesign a category page to display the category image full width with a max height and have the category title displayed in the same box centred on the image. I've managed to move the ...
0
votes
0answers
8 views

Category Side Filter not showing on up on Left just for one Category?

I recently restructured my categories. I noticed however, that one category which is set to is Anchored 'YES'. However, it is not showing left sidbar category filters for my sub categories. Images ...
0
votes
0answers
31 views

When I add a configurable product the category is deconfigured, could someone please help me

if you notice there is nothing in the head in the footer, did anyone have the same problem?
0
votes
1answer
17 views

CATEGORY filter appearing two times

In Layered navigation There are two filters of same name appearing two times how can I remove the above one: We want to remove the first CATEGORY FILTER AND make the second to be displayed only?
0
votes
1answer
15 views

Magento2 Category Attribute

I have created Attribute on category level now I want to fetch the value of this attribute. I have tried below code $_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
0
votes
0answers
42 views

Slow loading Category Page Magento 2.4.0

I am experiencing slow loading Category Pages using Magento 2.4.0. We have 27,000 products of which approximately 6,000 are for the Magento website. The other 21,000+ are for eBay and Amazon. Normal ...
0
votes
0answers
33 views

Magento 2: Error while create category programmtically: Call to undefined method Magento\Catalog\Model\ResourceModel\Category\Flat::getEntityTable()

I am creating a category programmatically in magento 2 in controller, but I am getting error Call to undefined method Magento\Catalog\Model\ResourceModel\Category\Flat::getEntityTable() I have also ...
0
votes
0answers
30 views

ImageUploader module causes stuck spinner on category view in Magento 2

everyone.I want to create an image uploader that uploads an image to the server from the admin app category view using the ImageUploader UI component, and stores its path in the database.So far, I can ...
1
vote
1answer
81 views

Elastic Search: Custom sorting options not working after enable elastic search

I'm trying to add custom sorting options like newest products,price high-to-low & price low-to-high in category page using plugin. After creating plugin it's working good in category page and ...
0
votes
2answers
34 views

I want to show the topmenu only when logged in

I want to show the topmenu only when a customer is logged in and I need to use the FPC. When I try to retrieve the customer id with function to create a if statement to see if the customer is logged ...
0
votes
3answers
44 views

How to get category name by multiple id in Magento 2

I want to get category name using multiple category ids. I have two category id like :- 3 or 4.Those two id using i am want to category name. Please help me how to achieve this. THANKS.
0
votes
0answers
16 views

Magento 2.3 programmatically refresh smart rules without saving category

In my magento enterprice I have set a smart rule on a category (let's call it category B) which populates it's products with the product of another category (let' s call it category A). From backend ...
0
votes
2answers
23 views

Magento 2 - Category List Sort by Position with Sub Category Not Working

A little background, I'm trying to do a custom Category listing, but at the moment it seems the Category not being sort as I seen on Admin. Here's the code that I've done so far $current_store ...
0
votes
0answers
11 views

Mageto 2.3.4: What causes only a few category pages on the development site to redirect to the live?

We have a dev site which we use for testing any feature before it is deployed on the live server. A couple of category pages are found to redirect to the category pages on the live site. What causes ...
0
votes
1answer
25 views

How to change the default catalog ordering direction Date Added on the frontend product lists from ascending to descending?

I am having trouble changing the default arrow from ascending to descending. I have 'Set Product as New to Date' Set as Default, which is what I want. However, I want newer products showing first so I ...
2
votes
0answers
17 views

Is it correct to use multiple Attribute Sets in one Category while uploading products? Magento 2

My Question is about Product Uploading! Is it the right practice to use multiple 'Attribute Sets' in the same category for uploading products? Why I am asking this is, we have more than thirty ...
0
votes
0answers
8 views

Magento 2.4.1 - I get “The value specified in the URL Key field would generate a URL that already exists” even though URL does not exist yet

I try to save the category "Drehrahmen", but I get this error message: The value specified in the URL Key field would generate a URL that already exists. To resolve this conflict, you can ...
0
votes
0answers
11 views

Magento 2 How to get layer navigation filters available in rest api?

Here am trying to get layered navigation available filters here is my code $filterableAttributes = $this->filterableAttributes; $layerResolver = $this->layerResolver; $...
0
votes
1answer
29 views

Magento 2 Category Tree With Multiselect and Text box in Custom Page

I am looking solution to get a Category tree on a custom page and parallel a text box, where the admin user could add some text and in parallel, he can select multiple categories. After adding text ...
1
vote
1answer
24 views

Magento 2 how to remove Category name With ID

here am using Magento 2.3 here category displaying category with its ID, How to Hide or Remove these Ids. Can I get help? thank you in advance.
0
votes
0answers
7 views

How to display Category bar in Gicor

I just switched themes from Luma to Gicor1, and the Category bar went away. Where in the admin panel or the code can I make it appear again?
0
votes
0answers
18 views

Check if product allow backorder in category list slow - Magento 2.4

How can we check in the category list page, if a specific product is allowed for backorders? We only allow this on product level, so I want to check if this product can be ordered as backorder. Edit: ...
0
votes
0answers
13 views

Magento 2.3 - Create Category from Backend getting error - Fatal error: Uncaught Error: Call to a member function setActive()

After creating a Custom theme(Parent Theme Blank) whenever add a new category from the backend getting following error, Fatal error: Uncaught Error: Call to a member function setActive() on bool in C:\...
0
votes
0answers
12 views

I want to apply condition only on sub categories of specific Category ID

I have root category default this has sub category Shop then shop has further sub category Collection Now collection has a further sub category list Tree Structure: ROOT |-Shop |--Collection |---...
0
votes
0answers
15 views

How to get contact us email from get category content tab form select drop down attribute in Magento 2.3.1

How to get contact us email from get category content tab form select drop down attribute in Magento 2.3.1 form_select category custom attribute how to get contact us from there. app/code/Vendor/...
0
votes
1answer
11 views

wysiwyg custom category attribute value not getting in Magento 2

I have try to get wysiwyg attribute value in frontend this is my code :- InstallData.php <?php namespace Attribute\Categorybanner\Setup; use Magento\Framework\Setup\InstallDataInterface; use ...
0
votes
0answers
13 views

I need to show the layered navigation according to the Category in magento 2.3.5

I need to show the filters according to the categories. Categories: Tyre Tube Filters: Brand Thickness Size Model Vehicle Need to show the filter according to category Tyre: Brand, Model, Vehicle....
0
votes
1answer
21 views

Exclude products which are in more than one category from Cart Price Rules

I have a problem with Magento 2. We have products in more than one category. Now we would like to create a cart price rule, but we would like to exclude products for which one of the categories is ...
0
votes
1answer
11 views

Duplicate url issue when removing products from category in magento 2.3.3

When i try to remove products from category https://prnt.sc/vl7rt3, i get duplicate url error. https://prnt.sc/vkscz9. I know how to resolve it. but need to understand when a product is removed from a ...
0
votes
1answer
23 views

how to get category path in magento 1.9

I am importing categories in magento 1.9 . but when i import categories it shows error "Path provided is not a valid one" how can i get exact path of category. URGENT
0
votes
0answers
4 views

Can I get whole categories (Item Types) as search results from my website's search bar?

Many visitors of my website search for categories instead of certain items on the search bar. However the store is not configured to show this type of results. What would be the way to define a number ...
0
votes
0answers
22 views

Magento 2.4.1 - Category anchor not saved scope view

We have a problem in our Magento 2.4.1 install with the category anchor saving. In the All Store Views scope the category is set to Anchor No. When we change the scope to the only store view we have, ...
0
votes
1answer
7 views

I want to add an image uploader same like already exist in catalog/category/index/ name homepage image in same page

I want to create a image uploader on catalog/category/index/ just like homepage image which is on catalog/category/index/ page Now I am using this to create same above but not success InstallData.php ...
0
votes
0answers
55 views

Magento 2: How to pass “form data” Rest API in create product postman

I have created product api and passed form-data in postman but i have faced issue in pass category_ids and image. Any have idea how to pass category_ids and image in postman while creating product API....
0
votes
0answers
16 views

Magento2 category class getting removed from body tag

I used below code to set the category class in body tag, but the issue I am facing is that it always get removed when cache is cleared $category = $this->registry->registry('current_category'); ...
0
votes
0answers
31 views

Modify existing custom attribute value of category in magento 2.4 using rest API

As the title says, I want to modify the value of a custom attribute of each of my categories in magento 2.4 and I want to do this using REST APIs. I am using this endpoint https://magento.redoc.ly/2.4....
0
votes
1answer
27 views

How to delete a product's category Magento2

I am trying to delete a product's category in magento 2 using the following code. public function deleteCategories($product_id){ $categoryIds = $this->productCategory->getCategoryIds($...
1
vote
0answers
38 views

How to load category products in batches? Enable “Allow All Products per Page” without compromising performance

TLTR: How to load category products in batches? I want to show ALL products for a category and remove the pagination. However, that poses a huge performance concern that I need to address. Let's ...
0
votes
3answers
26 views

Edits to Category pages not showing

A couple of months ago I ran a special sale on my two stores' sites. I added info to the category page's header *("Prices have been discounted an additional 25% off now through 8-31-20! ...
0
votes
0answers
13 views

How to add simple product ID to swatch data on category page

How can I add simple product ID of the swatch on category page?
0
votes
0answers
12 views

Category Image with Category Id in Magento 2 Api

I want to show category id with category image in magento 2 rest api http://domainname/rest/all/V1/categories?rootCategory=2 this is my api response and here not show category image { "id": ...
0
votes
1answer
47 views

Magento 2 - Filter through non anchor categories throws “The bucket doesn't exist.” exception

I am facing this issue on M2.3.5-p2 when filter through non anchored subcategory on the main category(anchored) page. Steps to reproduce From the admin set parent category anchor to Yes. For one of ...
0
votes
1answer
20 views

Magento2 How to get Store specific Category Id In custom page by using Category URL If same URL exist in both the stores?

I am having the same category in 2 stores and on the custom page, I need category detail as per current store id. I am using the below code to get a category by using the category URL. In block public ...
0
votes
0answers
33 views

Magento 2.4 How created dynamic custom category layout?

How i can create dynamic custom layout for each Category and Category page? I can used catalog_category_view_id_{{id}}.xml and created custom layout for current Category{{id}} like this: http://...

1
2 3 4 5
52