Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [category-listing]

The tag has no usage guidance.

0
votes
1answer
23 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
0answers
15 views

Category page take too much time to load because of search_tmp_* table

my sites category page slows down because firing query for search_tmp_* table take more than 1 second and it runs saveral time on one page load here is the query : 7624 ## QUERY SQL: INSERT INTO ...
0
votes
1answer
25 views

Add active class when product is in wishlist at category page

I'm trying to add an active class when product is in wishlist. I tried below code. <?php echo $_product->getId(); $wishlist = $this->helper('Magento\Wishlist\Helper\Data')->...
0
votes
0answers
22 views

M2.2.4 - Category page listing all products (when products per page set to 24)

I am experiencing an odd and troubling problem. On our production environment, all product pages are listing all products on the single page, in which some pages will have north of 2-300 products, ...
1
vote
1answer
30 views

Sort products in ascending order by name on specific category page not working

I want to sort product for a specific category by name in ascending order but it is still sorting in descending order in the front-end. For a category under Display Setting, I have set Default ...
-2
votes
2answers
109 views

magento1 and magento2 which table to store all the category [closed]

magento1 and magento2 which table to store all the category .so which related table to store data like category and also give the different. Thank you, Your Faithfully, Mehul Kanjariya
0
votes
2answers
66 views

How to set List Mode(backend configuration) programmatically for category page magento 2?

Actually i want to set list/grid mode(List Mode) configuration values for category page programmatically not from magento admin backend.if anyone have any idea please guide me.
0
votes
3answers
56 views

Add CMS block to bottom of each product list

I would like to add a CMS block to the bottom of each product list whehter it is on a category page or the search result page. Since I would like to add it on every list I'll try to do this via layout ...
2
votes
0answers
35 views

Magento 2 - Get Categories by Custom Category Attribute

I've created a yes/no toggle category attribute named is_featured, its shown as "Homepage Category" in the screenshot below. I'd like to be able to display (on the homepage cms page) all categories ...
2
votes
0answers
31 views

How to show/hide shared catalog enabled categories in layered navigation in Magento 2?

We have enabled the b2b extension. When we select specific categories on shared catalogs, it hides only on the mega menu, but layered navigation still lists the categories. How can we hide it from ...
1
vote
1answer
47 views

Magento 2 - Add custom sort by option in cattegory page and make it default

I have added custom sort by option "random" for category page. I have used following code to add random option: I have used plugin . app/code/DL/CustomSortOption/etc/frontend/di.xml <config ...
2
votes
1answer
178 views

Magento 2 Category page add custom view mode

On category page I want to add addition view mode as "expand" with "grid" and "list" mode. If any one has created custom view mode for category page then help.
0
votes
2answers
89 views

Issue in Category page magento 2

I am getting below error in system.log file. main.CRITICAL: Bucket does not exist [] [] My Main issue is in category list page and search result page I have 50 products inside the category and ...
0
votes
0answers
29 views

Making smaller product item detail on category grid

New to MSE so hello everyone. I was wondering if there is something that makes the product item description smaller on the category grid. Because its really long now and I need to increase it. I ...
-1
votes
1answer
27 views

How to show the count of reviews

How to show the count of product review on the category page? Now i just can get the stars, but no counts
0
votes
1answer
46 views

magento2.1 dropdown attribute list.phtml

How to get a dropdown attribute value on the category page, i set the show in listing to yes and added this attribute to product. any suggestion?
0
votes
0answers
37 views

magento2.1 bottom pagination when there is no page

When i set pagination to 60 and i have 55 items, so shows 55 items and it is nice, but still shows a bar of pagination on the bottom of the page. how can i remove it when there is no pagination page ...
0
votes
2answers
54 views

How to get dropdown value Magento2.1

I want to get a dropdown attribute value on the category page, i set the show in listing to yes and added this attribute to product. then set below code to my list.phtml: ...
0
votes
0answers
88 views

Magento2.1 wishlist on category page

How to set an active class to magento2.1 wish-list button on list page? I mean that, when i go to product page, if marked that product to my wish-list before, just shows already added to wish-list or ...
0
votes
0answers
18 views

how can I change the category and url structure?

How can I change the magento 2 url structure ? For categories I would like: Bike Bike/Shoes Bike/Shoes/Mens etc.... for products I would like the product name i.e /etnies-cyprus-scw-x-32-shoes-...
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 - ...
0
votes
0answers
150 views

Category page custom category filter magento2

I have loaded custom template before the product list in category list page. this is my block file Vendor/Module/Block/Category.php <?php namespace Vendor\Module\Block; class Category extends \...
2
votes
2answers
40 views

Load selected category products in list page magento2

I have loaded a custom template in the category view page. with content all categories in the drop down. I am looking for functionality once drop down changes the corresponding category products ...
1
vote
0answers
205 views

Populate sub category drop down based on category selected magento2

I have used below code to populate sub categories in other dropdown once the parent category is selected. Used this code in my template file. app/code/Vendor/Module/view/frontend/template/category....
1
vote
2answers
763 views

Load custom block in category list page magento2

I am trying to add custom template file in category list page. app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml <referenceContainer name="content"> <...
0
votes
1answer
261 views

Magento 2 category listing page not show product

In our magento store category listing page not display anyone product getting this error"We can't find products matching the selection." in all pages but in admin side product assign to category and ...
0
votes
0answers
71 views

Move tool bar in category page to the top in magento2

I need to move toolbar section to the column.top, I have used below code in my catalog_category_view.xml file. <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/...
1
vote
0answers
120 views

Magento 2: Configurable product dropdown attributes on category listing page

I am looking for an option to get the configurable product attributes with each product on category listing page. Magento 2 defaults to swatches only. How can we change it to dropdown? Thanks
3
votes
2answers
98 views

Move Sort By and Per Page section in Magento 2

How can I move these two sections in breadcrumbs?
2
votes
1answer
135 views

Move breadcrumb before sort by feature of toolbar section in Magento2

How to move breadcrumb of category list page into toolbar section of category list page. I need to move the breadcrumb to toolbar or either left sidebar before the filters. Is it possible to do like ...
2
votes
0answers
24 views

Magento2: How can load subcategory based on catagories dropdown option value?

I have checked that reference link for Magento1 but i want to do in Magento2 using object manager. Anyone have an idea for that please?
1
vote
0answers
53 views

How can i upload multiple images for a single category in category listing page in magento 2?

Let me know the possible way to render multiple images in category listing page,we need to upload a image in admin panel and it should reflect in the storefront category page
2
votes
0answers
166 views

Catalog Listing Widget - We're sorry, an error has occurred while generating this content

When I want to use the Catalog Listing Widget I get the following message on the front page: "We're sorry, an error has occurred while generating this content." Can anybody help me out with this ...
0
votes
0answers
30 views

How can i display the subcategories listing page on click of root categories instead of product lisitng in magento2

I need to display the subcategories in the categories,when clicked from menu it should redirect them to a subcategory page,again onclick of that it should breakdown to level3 category and so on until ...
2
votes
1answer
375 views

How to remove default generated canonical tag in category page?

In Catalog > Categories > [my category] > Design > Layout Update XML, I put my own canonical link. However, when I inspected the HTML, I noticed there were two canonical tags. One of them ...
0
votes
0answers
19 views

How to redirect to the subcategory level from home page before product listing page in magento2?

I need to create a block in the home page and on click of images of root category in the block it should redirect us to subcategory level from root category.How can we achieve this?
3
votes
2answers
39 views

Is there a faster way for me to show 'Only X Remaining' on a category page?

1.9.3.1 - My catalog setup is using configurable products with associated simple products. My category pages show the configurable and I'd like for the 'Add to Cart' text to read 'Only X Left' if all ...
0
votes
0answers
32 views

Magento2: Navigation sections list display level in home page

I have moved the top navigation menu into right sidebar like follows and it worked. <move element="navigation.sections" destination="div.sidebar.main"/> But the listing of the categories are ...
0
votes
0answers
18 views

Magento 2 : Show only non store view Category and sub category

I am converting HTML template to Magento 2. WhenI am creating a category in Magento and show homepage using the phtml file but all category are show .i am not showing my store view category in my ...
2
votes
3answers
202 views

Show sibling child categories in left.phtml navigation in Magento 1.9

In the standard left navigation catalog/navigation/left.phtml of Magento 1.9 when entering a child category, with no children of its own, the navigation area is left blank. For these childless ...
1
vote
0answers
137 views

Adding gallery images to category list

Magento CE 2.2.4 I want to add product gallery images alongside the main image on the category list & use the default gallery UI component if possible. I can add the gallery images to list.phtml ...
0
votes
0answers
193 views

Layered navigation only for subcategories in home page

I have these sub-categories under books category. I have tried adding this code to my home page as described in here Magento 2 How to show Layered Navigation on home page? . But it shows only price. ...
-1
votes
1answer
1k views

Magento2: List the all categories and sub categories in home page left sidebar

I am using Magento 2.2.4 for online Bookstore. I have books under categories and sub-categories. I need to list all these categories and sub-categories on Homepage left side like in the Screenshot ...
2
votes
0answers
142 views

Extend Configurable to show on category listing

I am trying to show the configurable product options on the category page, for our store set up these are configurable products with simple products as options - not as custom attributes. I want to ...
0
votes
1answer
116 views

Join with Category Table

I need to show all Subcategories and their products on category view page as -- CategoryName 1 <br /> -- -- Product List for category1 --- Category Name 2 <br /> --- Product List for ...
1
vote
1answer
892 views

How to move category image above product listing column in magento 2.2.0?

I want to move the category Image and category description in the column of product listing at category page. Now the Image and description is appearing above the 2column-left layout.
0
votes
1answer
783 views

How to get the upsell product Collection in list page in magento 2

I have created a module to show upsell products in List page. In List page, I have put one icon on each product, while clicking that icon, It would need to show upsell products list which is ...
2
votes
1answer
123 views

How many product details are loaded to a category page in Magento 2?

When my user goes on one of our category pages, for each product in that category, the photo, the name of the product, the price of that product and I imagine the SKU of that product are all loaded by ...
2
votes
1answer
1k views

I got the error 'Unable to serialize value' after upgrading the magento version to the 2.2.1

I have upgraded website 2.2.1 and facing Unable to serialize value error in particular product categories. When I disabled the page cache (FPC) from the admin cache management then it works fine but ...
1
vote
1answer
147 views

How to display instock product first on the category page in magento 2.1?

I want to display In stock products first and out of stock at end of the listing. I have used below code in magento/module-catalog/Model $collection->joinField('stk', 'cataloginventory_stock_item'...