Questions tagged [category-listing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
50 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 ...
2
votes
2answers
718 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
3k 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
1k 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
114 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
1answer
305 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
4
votes
2answers
618 views

Move Sort By and Per Page section in Magento 2

How can I move these two sections in breadcrumbs?
2
votes
1answer
424 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
26 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
200 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
219 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 ...
2
votes
1answer
713 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 ...
3
votes
2answers
53 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 ...
2
votes
3answers
389 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
176 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
247 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
2k 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
189 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
165 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 ...
2
votes
1answer
1k 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
1k 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
159 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
2k 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
215 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'...
0
votes
1answer
740 views

Magento 2 : How to Load Image Collection in Category Listing Page

Need to Image gallery collection load to following path in magento 2.1.6 category listing page , \vendor\magento\module-catalog\view\frontend\templates\product\image_with_borders.phtml ( Or ) app\...
3
votes
3answers
7k 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 ...
3
votes
2answers
875 views

How can I create multiple category pages in Magento 2?

Actually, I want to create different files for every category page (every product listing page). For that I have: Created customlist.phtml from list.phtml or copied the code of list.phtml and create ...
1
vote
1answer
491 views

How to show products from subcategories in a category page

I need to list products in a category page sorted by subcategory with respective subcategory name before the products. With static blocks I can display the name of the subcategory on the category page ...
0
votes
2answers
111 views

Grouped products doesn't display on category page only at first time

I am facing this unusual issue where grouped products are not being displayed only when the page loads for the first time. After refreshing the category page all products are being displayed. I have ...
1
vote
1answer
742 views

color swatches for products not working in magento 2

all the settings and attributes are proper yet the color swatches not working. kindly help !! product link : http://www.i-ranu.com/yellow-plain-western-crepe-dresse-for-girls.html
0
votes
1answer
52 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 ...
5
votes
1answer
4k views

Magento 2 display configurable Price Range in product listing

I want to display price range for configurable products instead of the minimal price in category listing.
0
votes
1answer
224 views

Ajax filter by alphabet

I currently have a template to display subcatogories of a category. I created a new template and added to static block and set that in the category end. Here is the dev link : http://103.231.209.162:...
0
votes
1answer
906 views

Magento 2, adding desc and asec to sorter seletion

The requirement is displaying the asce and desc for each option in <select id="sorter" data-role="sorter" class="sorter-options"> . Like price asce, price desc . I changed the default code to ...
0
votes
1answer
773 views

Magento products collection change reload category page

I am tring to change product collection using catalog_product_collection_load_before. I need to sort products by in stock. Out of stock must be last. following config.xml, <events> <...
0
votes
1answer
435 views

Different list.phtml for categorys in the backend of Magento 2.1.7

I try to switch the list.phtml for 4 categorys. Each category should have his own list.phtml. The problem: I don't want to call it by the category id directly. I know I can easy do this directly in ...
1
vote
2answers
2k views

How to get All Active Categories in Custom Module Admin Form Dropdown in Magento 2?

I am implementing a custom module in magento 2.In that module I want to show all active categories in admin form dropdown.How can I show them please help me on this.Thanks in Advance.
0
votes
2answers
2k views

Import Multiple Category with Product CSV

I am trying to import product through Magento 2 Admin Panel using CSV file. My CSV file looks like below I have categories like All Category/Bikes, Scooters & Ride-Ons and All Category/Fashion ...
1
vote
1answer
1k views

Magento2 Blank category list page after migration

We successfully migrated a huge multi-store site from magento-1.9.3 to magento-2.1.6 last week using Magento migration tool. After migration, we notice that categories are not listing any products ...
1
vote
2answers
607 views

Configurable product image resolution issue

I'm having an issue with configurable product swatch on my category view page (in grid mode). We are using image in 420px in our category page but the image that are automatically switch with the ...
0
votes
0answers
699 views

Get sub-categories listing of parent in Magento 2 CMS block

I want to get a list of a parent categories sub-categories, their name, link and image. An example of what I require is below. I know this can be done using object manager but I understand that is ...
2
votes
2answers
1k views

Magento 2 - get categories by using interfaces in API

In Magento 2, you're supposed to use the interfaces in Magento's API. So, when you want to fetch product(s), you'd use \Magento\Catalog\Api\ProductRepositoryInterface. That works great and it's very ...
0
votes
1answer
364 views

blank spaces on catalog pages

there are blank spaces showing up on pages where products are listed. These random blank blocks instead of just listing the next product show up on the storefront and cannot figure out why. HELP? ...
2
votes
1answer
977 views

Magento 2 Custom Category Nav Submenu

So i have created a Magento 2 theme based on Blank, and the customer wants the submenu of the navigation to be a big window instead of the little dropdown that comes out of the box. They also want ...
0
votes
1answer
272 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 ...
1
vote
2answers
1k views

Default meta title for product and category page

I want to set default meta title for product page,category page and for cms page. If I'm not setttin title in admin panel I want to set my default title. But I don't know how to make this. I try ...
1
vote
0answers
271 views

Magento 2 show product by attributes programmatically

I want to show the product in the category (Product listing page) with pre-define product attribute custom attributes. Right now it is showing all product. But I want to show only those product which ...
0
votes
1answer
42 views

Category is not showing the products - Magento 2

I have in store Default Category > Master > Childrens. When I click on menu on a Children, the page show all products normally, but when I click on a Master category, the page open with all filters ...
1
vote
0answers
132 views

detailed_info on product category pages

I am using a plugin to add files for download to a product. This uses the following to load on a product page: <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias =&...
2
votes
0answers
201 views

How to include category id in url on category list page?

i want to include category id included in url on category list page. My default category url is listed below:: http://magento2.shelltag.com/women/bags/backpacks I want to show it like this : http://...