Skip to main content

Questions tagged [category-view]

The tag has no usage guidance, but it has a tag wiki.

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
487 views

Layered Navigation not showing the right options after overriding product list block

I've successfully override productList block to show my custom filtered product collection like this: di.xml <preference for="\Magento\Catalog\Block\Product\ListProduct" type="\Vendor\Module\...
Shell Suite's user avatar
  • 1,702
3 votes
0 answers
191 views

How to display products on a homepage in a list mode in Magento 2?

I tried to use Catalog Products list to display products on my homepage (not category page). By default, all products are shown in grid mode. And I see that there is only one option of grid mode in ...
arman_p's user avatar
  • 31
2 votes
1 answer
573 views

filtering product collection on category page based on custom customer attribute

I've been struggling with Magento\Catalog\Block\Product\ListProduct::initializeProductCollection() from a few days. I need to filter category product collection based on user's location. So ...
CodeGenius's user avatar
2 votes
0 answers
245 views

Category page, static block and layered navigation

On Magento 1.9 I have a category page with produts and static block. For static block I used a block type="catalog/product_list with a custom template. In the html template I loaded a custom ...
domfitty's user avatar
  • 399
2 votes
0 answers
431 views

Adding scrollbar in category dropdown

I add 1 category name Category, and add sub categories to it. But, because there's too much sub categories, i need to scroll down the page first to see the full list of the sub categories. So my plan ...
Edwin Widhiyanto's user avatar
2 votes
0 answers
193 views

Show customer wishlist collection like in category view page

I want to show the customer wish list products to another customer with the layout like in category view page which include the layered navigation, toolbar option, and navigation page. Is there a ...
Shell Suite's user avatar
  • 1,702
2 votes
0 answers
72 views

Magento sub-categories listing on category pages cache issue

I have the following static block to display my sub-categories in the categories page: <div class="category-products2"> <ul class="products-grid subGrid"> <?php $_categories=$this->...
Vaishal Patel's user avatar
1 vote
0 answers
142 views

Magento 2 Add custom products to product collection on catalog page - pagination not working

I need to add some custom products to category pages. Just to test this I've created twenty dummy products based on the last product in the category list. In ListProduct.php - ...
Doodled's user avatar
  • 21
1 vote
2 answers
40 views

Extension for contentblocks in category grid

does anyone have any idea which extension puts the content blocks at https://www.liquid-life.de/fahrrad/mountainbikes/fullies/enduro/ into the category grid. (3rd tile) Thanks in advance. Patrick
Patrick's user avatar
  • 31
1 vote
0 answers
50 views

Magento 1.9 - Hide Category product slider out of stock products

I have disabled displaying out of stock items by Admin panel. But It doesn't hide in category tab slider. All items are out of stocks as per the below snapshot.How can I get out of this issue??
Ravi's user avatar
  • 31
1 vote
0 answers
44 views

Moving 'category-view' div out of 'column-main'

Using Magento 2.3.2. I want to move the category-view div out of the column-main div whilst still keeping it under the columns div. So it is a sub-div of columns (like column-main) rather than a sub-...
Andy's user avatar
  • 57
1 vote
0 answers
150 views

301 redirect loop on category view

when I try to access a category page, I get the error ERR_TOO_MANY_REDIRECTS caused by 301 redirects. Also trying by not rewritten url (like "catalog/category/view/id/309"), the result is the same. ...
alx.r89's user avatar
  • 11
1 vote
0 answers
62 views

Removed products from a category but still showing

I removed a bunch of products from a category and it's still showing in the webshop. What I've done is: Reindexed all indexes Cleared all caches Another problem that keeps happening is that I can ...
Kristopher's user avatar
1 vote
0 answers
291 views

Product list page Toolbar issue

I have issue regarding category page. While I click on mode switcher in grid view to list view its not working. and also try to change Sort by value and Show number of product its not working. ...
Hardik Visa's user avatar
1 vote
0 answers
138 views

Sidebar next to CMS block on category page

I'm somewhat new to Magento 2 but most of it is going just fine. There is a minor issue I'm experiencing and I can't seem to figure out how I can fix this. I've added a CMS block to a category ...
Jasper's user avatar
  • 11
1 vote
0 answers
283 views

Magento 1 category page show subcategories before products

I have a magento 1 website and I want to display subcategories before products on the category page. In the admin page -> on Catalog, Manage Categories -> Display Settings -> Display Mode is set ...
Pascut's user avatar
  • 329
1 vote
0 answers
87 views

Magento 2: Display specific categories to specific usergroups

Sorry guys this might be bit silly question but I am new in Magento. I am trying to display specific categories according to specific Usergroups: For example: I have usergroups "...
Inti's user avatar
  • 11
0 votes
2 answers
20 views

Adding anything after category page URL needs to be ignored

I want to change behavior of Magento Category page URL. For example, if the category page URL is https://magento246p4-beta.com/gear/bags, I want to ensure that any additional text after "bags/&...
Tejas Vyas's user avatar
0 votes
0 answers
24 views

Magento 2.4 CMS Blocks dont show up on category pages

i cant get the cms block to show up on categories pages. the same cms block works fine on the homepage. the category page is set to display static block and product added the cms block. i do have a ...
roger's user avatar
  • 551
0 votes
2 answers
47 views

How do I hide images and compare button in category view List mode?

Using Codazon Fastest theme, I have created ~/fastest/fastest_child/Magento_Catalog/web/css/source/_extend.less which contains the following CSS extensions: .catalog-category-view.product-item-photo { ...
IHateMagento's user avatar
0 votes
1 answer
250 views

keep scroll position when clicking on next page for category view M1.9

I am wanting to stop the page from returning on the top when a customer clicks on the pagination buttons for the category view pages. I have content at the top of the page for the category description ...
Craig Gillett's user avatar
0 votes
1 answer
59 views

sub-category with photos in magento2

I would like to create a sub-category with photos on my site. How could you do that? As on the example pages and screenshot. https://www.moebel.de/wohnen https://www.home24.de/wohn-accessoires/
tricksi's user avatar
  • 45
0 votes
2 answers
881 views

Porto Theme - Category View - "Add to Cart" change to view product

i know this question has been asked on other posts but i believe Porto theme uses different files/layouts. I'm trying to change the "add to cart/basket" button to "View" and take ...
redband's user avatar
0 votes
1 answer
303 views

ViewModel modification makes existing list.phtml break

I recently made a modification to catalog-category-view.xml and overrode category.products.list. It seemed to work at the time, I had badges displaying on a rendered page. Now the template file errors ...
Scott Anderson's user avatar
0 votes
1 answer
635 views

Magento 2: how to change Category page design

I have a theme installed on my Magento V2.2.3 site and now i would like to change the category page design with requirements new custom fields for category option on each category if this category ...
Akash's user avatar
  • 618
0 votes
2 answers
1k views

How to pass added custom "key=>value" into getCollection()?

On product lisitng page i want to get one more parameter "latitude" for all product,how can i achieve? Here is my code:- public function setCollection($collection) { $this->...
Wakar Ahamad's user avatar
0 votes
2 answers
1k views

Magento 2, Change On click instead of 'hover' for menu

In Magento 2 for the main menu, they dropdown with hover. How to change the dropdown on click instead of 'hover'.
Nayem323's user avatar
  • 771
0 votes
0 answers
175 views

Product Prices Not Showing On Category Pages

I can't seem to find anyone else that has had this problem. But I noticed my category pages are not showing the product prices. <?php echo $this->getPriceHtml($_product, true) ?> works on ...
Freejoy's user avatar
  • 819
0 votes
1 answer
540 views

url_path is missing for products in category-view

product attribute url_path is missing for all products in category view, but it is present in product lists/grids. This has an effect on review links, they have empty urls. I can't get my head ...
Eugen Wesseloh's user avatar
0 votes
2 answers
182 views

Magento 1 : Category page not shown in admin

On the Magento-Dashboard under Catalog > Manage Categories is shown only the left colom with the already created categories. But I can't create new one or modify the existing ones. Take a look at the ...
Elisa Kits's user avatar
0 votes
1 answer
403 views

view custom message in product page by category id

How do I display a message (ex. AVAILABLE IN 30 DAY) in product page only for a specific category id (98, 100 and 101)? I've created <?php if($_product->isSaleable()): ?> <div class="...
Giovanni Fossati's user avatar
0 votes
0 answers
958 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 ...
YorkieMagento's user avatar
0 votes
2 answers
2k views

Magento 2: Left Category Sidebar from website (copy of question)

I am trying to create left sidebar category navigation for my website. But it shows only default category. It does not show any other subcategories. I activated all category is_anchor, and re-...
sanjay's user avatar
  • 377
0 votes
1 answer
2k views

Magento 2 customizing category page

I want to customize the category page and I am using the below file path: app\design\frontend\Vendor\Theme\Magento_Catalog\layout\catalog_category_view.xml Below is xml file code: <page xmlns:...
mageDev0688's user avatar
0 votes
0 answers
26 views

Magento 2 sometimes don't show items in the second category

I have two basic categories (woman/man) with many subcategories and products. Sometimes, just sometimes the products in the second category "man" don't appear in the frontend. In the backend they are ...
Oliver Schmid's user avatar