Questions tagged [category-view]

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

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
378 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\...
3
votes
0answers
57 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 ...
2
votes
1answer
149 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 ...
2
votes
0answers
183 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 ...
2
votes
0answers
173 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 ...
2
votes
0answers
188 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 ...
2
votes
0answers
70 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->...
1
vote
0answers
31 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??
1
vote
0answers
17 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-...
1
vote
0answers
39 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. ...
1
vote
0answers
53 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 ...
1
vote
0answers
246 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. ...
1
vote
0answers
129 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 ...
1
vote
0answers
249 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 ...
1
vote
0answers
52 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 "...
0
votes
0answers
34 views

Magento 2 - Show Special Price on Category Page

I am trying to show the special price on the category page in the same way it shows on the item page. I copied final_price.phtml placed this code at the top : Magento_Catalog/templates/product/price/...
0
votes
0answers
12 views
0
votes
1answer
23 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 ...
0
votes
0answers
16 views

When to know that the category page is opened

When customview.phtml is loaded we get to know that the product page has opened (app/design/frontend/default/theme659/template/catalog/product/customview.phtml) But how can we know that which ...
0
votes
0answers
52 views

After update to 2.3.4: Arbitrary rendering behavior of product images on category view

After updating from Magento Open Source 2.3.3 to Magento Open Source 2.3.4, I observe arbitrary behavior in the rendering of product images on the category view pages. Before the update, the product ...
0
votes
2answers
203 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->...
0
votes
2answers
493 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'.
0
votes
0answers
79 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 ...
0
votes
1answer
329 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 ...
0
votes
2answers
128 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 ...
0
votes
1answer
312 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="...
0
votes
0answers
709 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 ...
0
votes
2answers
2k views

Magento 2: Left Category Sidebar from Sebwite (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-...
0
votes
1answer
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:...
0
votes
0answers
22 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 ...