Questions tagged [category]

Questions about product categories in the Magento catalog

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

How to check if duplicate meta title present for category in Magento2

I am generating a report for the categories with duplicate Meta titles. I have loaded all the categories and checking conditions one by one like below with the direct MySQL queries. $connection = $...
0
votes
1answer
31 views

Magento 2 showing category in homepage with products using enable/disable attributes

How to get the all custom category on homepage with products. I want to create these types, Please check screens-short:- https://prnt.sc/r5b2q5 Showing this category:- Above category showing this ...
0
votes
0answers
37 views

UI component Filter with category collection Magento2

I am implementing Grid for categories collection using UI component. I have used the following code Vendor/Module/view/adminhtml/layout/vendor_index_index.xml <body> <...
0
votes
0answers
17 views

Not able to upload category image in magento 2 rest api

How to upload image for category through magento 2 rest api. below is my code but image is not getting uploaded. <?php $categoryUrl=$url."rest/V1/categories"; $CI = "/var/www/html/pradeep/apistest/...
1
vote
1answer
13 views

Magento 1.9 - After Export Products, Category few columns values like 000,000,000

After export products, category few columns like 12,223,234,544,348,000,000,000 what is mean 000. How to view what category it is? FYI - few products assigned to more than one category like 6 or 7 ...
1
vote
1answer
93 views
+50

How to create custom report for category data in Magento 2?

I am trying to create a report for categories. Vendor/Module/registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::...
0
votes
0answers
34 views

Magento 2 layered navigation for categories (Luma)

I'm having a hard time understanding how to have my categories work as layered navigation options in my sidebar. I see that I can make attribute options such as color appear in my layered navigation ...
0
votes
1answer
19 views

Create drop down category selection for the CSV format file for Magento 2? [closed]

May i know is it possible to have create drop down category selection for the CSV format file for Magento 2? Thanks.
0
votes
1answer
54 views

Show list of all categories with links, on all pages

There's a few posts regarding how to get a list of categories in Magento 2, but they all seem to require getting the current category. I'm looking for a php solution to show a list of all categories ...
0
votes
1answer
19 views

Confused with category scope in Magento 2

I have a Magento store with 3 stores scope (Brazil, USA and Global) and just one root category, but now I have a main category called 'Off Price'. In this category I need to put specific products for ...
0
votes
1answer
23 views

Magento 1.9 How can I hide or exclude in the Navigation Menu category under sub-sub-sub category items

My project running Magento version Magento1.9.3.2.I have a menu drop down more category show that main reason hide or remove some item under the category. This facility Magento admin panel through ...
1
vote
3answers
50 views

Magento2.3: How to show the template file in a particular category page?

I have a custom module and on that I have a template file. I want to show that template in a particular category instead of it displaying in all the category pages. How can I achieve that? Anyone ...
0
votes
0answers
17 views

How to hide a category in the top menu programmatically in Magento 2?

I know that Enterprise Edition meets the requirement. What I want is to show the category "Wholesale" just to my customer group in "Wholesale". When a customer is logged in and he is in this group, ...
0
votes
1answer
40 views

Display out of stock product only for specific Category in Magento2

I am trying to display out of stock product only for specific category. used below plugin to implement, that is not working. Vendor/Module/etc/di.xml <type name="Magento\Catalog\Model\Layer"> ...
0
votes
1answer
39 views

How to hide the category block in navigation on all pages if the user is not a login

How to hide the category block in navigation on all pages if the user is not a login? Also, if a user tries to navigate to a category via a link, it should be redirected to the login page.
1
vote
1answer
28 views

Import categories programatically in magento 2

I have 250+ categories and sub categories with me. I want to import it in my magento 2. It is not possible to manually add it. Can anyone help me with some scripts or code to import categories from ...
0
votes
1answer
21 views

Magento2 category url

I want to change my url to the endpoint of slug on categories. Ex: www.example.com/level1/level2/level3.html should be like this: www.example.com/level3.html
0
votes
0answers
23 views

404 on all Category Pages

Have upgraded from 1.8.1.0 to 2.3.3. But every single category page is now 404'd. Have truncated a url_rewrite and catalog_url_rewrite_product_category, but no luck. Have gotten rid of the other ...
0
votes
0answers
15 views

List sub categories in navigation menu M 1.9

I'm new to magento and i'm using M 1.9. I want to load sub categories to left navigation. Here is the structure of my categories, -Default category -- Girl ---Clothing ---- T-shirt ---- leggins ...
0
votes
1answer
57 views

How to show categories in the left column in magento?

Like u see in above picture i want it to show my categories and subcategories also i want this column to work on products to not just in the home page Thanks Resolved using "Sebwite" extension.
1
vote
4answers
109 views

Magento2: Pagination on listing page using static block

I have added a static block in the category Static block content: Category : It shows all the products on a page. toolbar not showing: How can I add the toolbar:
0
votes
0answers
11 views

Some Category pages slow

Some Category pages very slow slow. Takes 196,781 ms to load Magento\Framework\Session\SaveHandler\Native::read very slow
0
votes
1answer
25 views

Show/Hide Products on Category page on button click

I want to show/hide the Product listing on Category page on button click. On my category page i am displaying one static block before products, this block contain one button. My requirement is on ...
0
votes
1answer
37 views

Why display Price zero some items, but others are ok

I'm new for magento. I'm in trouble with product prices and categories.See snapshot i post. some item's price shown zero. Why so that? Can anybody guess?what are the configs I have missed.
0
votes
0answers
20 views

How to design custom menu with category and subcategoris - Magento 1.9

anybody know how to customize custom menu like this. Can I do it just changing configurations without coding?
1
vote
0answers
26 views

Is there any way to automaticly add a product to a product-page when the product gets a special price?

Is there any way that when I give a product a special price, it automatically adds the product to a special "Sale" page at my homepage without manually adding the product to any type of category? So ...
0
votes
0answers
7 views

How to add custom sort by option on list page and result should be based on discount percentage of products in Magento 2

I wants to display products on list pages based on discount percentage in descending and ascending order. Thanks
0
votes
0answers
59 views

Sub categories are not showing for the category in the backend Magento 2

I moved the category Ducati clothing inside Ducati Accessories category and then pushed it back as original but after this, when I click on the category Ducati clothing it is not showing the ...
0
votes
0answers
14 views

Products not showing up in category but are showing up in layered navigation drilldown

I am running into an issue where I have about 1000 products in a category. I have it sorted by price as the default. When I go to the page, it is showing the price order correctly, only, there are ...
0
votes
2answers
61 views

How to get product category Id on product detail page Magento 2?

I have a product which have assigned into more than 5 categories. I want to show the category detail of that product on product detail page. But which category detail I need to show? I want to show ...
0
votes
2answers
36 views

Magento2: How to get current product parent category on product detail page?

I want to get the current product parent category on the product detail page in Magento2? My Code: <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $...
0
votes
1answer
30 views

Magento 2.3: Getting wrong product count on category page

I'm facing a strange issue which I couldn't point out where am I wrong. The issue is, when I navigate to any category page, the total result of product is showing as 1 though the category having many ...
0
votes
0answers
18 views

SQLSTATE[42000] while creating categories using REST API?

I created categories using REST api by below code. <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $directory = $objectManager->get('\Magento\Framework\Filesystem\...
0
votes
1answer
33 views

Magento1.9.6 migrate Magneto2.3.3 after data migration getting issue

I have done success fully data migration M1.9.6 to M2.3.3 after in admin side product inside category not assign default cateogry so any idea how to assign it automatically because our product data ...
0
votes
1answer
35 views

How to create Form action on click of a Button under Modal Widget

I have created a modal widget on a category section under Admin. A custom button is created along with Save and when we click on that button, it opens a modal with custom form. Inside that form, ...
0
votes
0answers
26 views

How to get top 3 most purchased category list in magento 2?

There are modules that get top best selling products list but I want to get the topmost purchased categories list instead of products. Please help me with this. Is there any free module available? ...
0
votes
1answer
47 views

Category Issue Magento 2.3 (Porto Theme)

We have an issue with Category (www.lsxgarasjen.no). We have 2 subchild categories ( so the path is Motordeler Og tuning - AN koblinger og Slanger) If wee try to go to the next step the next box (not ...
0
votes
0answers
27 views

Magento2.3: Products are not displaying at all in Category page

I have created a simple product and attached with one of the category. However, the product is not displaying at all when I go to the corresponding category page. I can only browse the product when I ...
0
votes
0answers
14 views

How to Add Product Category filter to Nav Menu

Is it possible to move the Product Category filter to My Custom Nav Menu?
0
votes
1answer
27 views

Magento 2 saving category with incorrect store_id

After Migration of Magento 1.9 to Magento 2 Some categories have duplicated values (different store_id) on our database. (i dont know if this problem ocurred in Migration) In a category: Category ...
0
votes
1answer
29 views

We're sorry, an error has occurred while generating this content M2

I have checked log file exc.log [2020-01-06 11:20:35] main.CRITICAL: Notice: Undefined offset: 2 in /var/www/vhosts/exmp.com/httpdocs/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/...
1
vote
0answers
16 views

Magento 2 - Visual Merchandiser rebuild automatically

I'm using Magento Visual Merchandiser to create smart categories. I created conditions to add products into my smart categories, but if I update product attributes value, the products didn't add ...
0
votes
1answer
40 views

Magento - Canonical URL for catagory page is not taking

I am trying to add a canonical URL in category page custom design. But it is not taking. Here is my code, <reference name="head"> <action method="addItem"><type>skin_js</...
3
votes
0answers
137 views

How to display out stock products in one category if disabled out of stock products

Below script shows out of stock products in only one category with Display Out Of Stock option yes in the admin by using helper file. Here is the code: <?php namespace Vendor\Module\Helper\...
1
vote
0answers
23 views

Problems re-indexing Category Products and Products Categories in Magento 2.3

We are facing the Reindex for the Category Products and Product Categories and we are getting the following error while reindexing through SSH (php bin/magento indexer:reindex) Category Products ...
1
vote
0answers
30 views

Magento 2 - Category filter on custom search page

I have custom search page that is working perfectly and all the filters are applying properly except category filter. Following is the code: $indices = $this->searchResult->getIndices(); ...
0
votes
1answer
34 views

Magento 2 Delete All Categories from Database

I want to delete all categories from the database so I can import new ones. I need to also delete the rewrites. I tried this code: SET FOREIGN_KEY_CHECKS = 0; TRUNCATE TABLE ...
1
vote
0answers
20 views

How create a custom category programmatically in magento 2.3.x

Hi im looking a custom module for insert a custom category on frontend, so i learn a some post to create that, ok i found this post https://community.magento.com/t5/Building-Extensions/create-module-...
0
votes
2answers
36 views

Display “only X left threshold” and stock status on category view

I'm new to Magento(2) and I'm trying to display Stock Status, stock count, and quantity field in category view like in product view. I don't know where to get theses values and where to put it... I'm ...
1
vote
1answer
34 views

Magento2: Category URL rewrite issue

I am trying to import product from magento but when I try import I will get below errors. I have flushed all category then update the new category. Got the error message below: General system ...

1 2 3 4 5 49