Questions tagged [category-page]

The tag has no usage guidance.

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

I need filter products by discount percentage in layared navigation (category page)

I have applied several price cart rules, I would like to see those frontend rules that work as a filter for discounted products. Someone can help me?
0 votes
0 answers
14 views

Add Custom functionality to all category pages

Im looking to add an additional search bar on which will be appear on all category pages that involves a functionality that i had created. I want to add along the sidebar or at the top of the page.
0 votes
1 answer
77 views

Magento 2.3.7 category page swatch render issue with ajax infinite scroll

When we come first time on the category page, the swatches is coming properly (on page load), but when we scroll down to see the next product collection (ajax loaded product collection on scroll event)...
0 votes
2 answers
31 views

Category Page Description Magento

This is my first time using magento, I was trying to edit the category page description. site example: https://f31.sg/bedroom/bedframe/storage-bed.html https://snipboard.io/jr6CyY.jpg I can't seem to ...
2 votes
1 answer
960 views

How to redirect to specific category if product url is 404 due to product disabled in magento 2.3?

If I have disabled any product then it will redirect to 404. But I want to redirect that product url from 404 not found page to the category url in which this product is assigned. That means I want to ...
  • 2,005
0 votes
1 answer
714 views

Magento2.3 - Add Quantity Increment/Decrement on Category Page

I want to add Quantity Increment/Decrement buttons on Category Page. I am using a theme that already provides this feature on product page. Now I want to add same feature in category pages. Anyone ...
0 votes
0 answers
18 views

Images invisible on catalog page upon resizing images in view.xml

I have changed the size of image in view.xml as <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <view ...
0 votes
1 answer
333 views

Magento 2- Add custom container into product listing page

I've search for some answers to this but unfortunately I can't seem to find anything. I would really appreciate some help about this. I have created a custom container using XML in '...
1 vote
0 answers
50 views

How to create price list in magento2.3

I want to create pricelist like category page without images. Mean that want a list page with list view to show SKU product name Guaranty and color with price and a button to show product. with ...
  • 731
0 votes
1 answer
1k views

Magento 2.3.2 upgrade issues (category page, di compile, and cms pages)

Magento upgraded from 2.2.6 to 2.3.2, and there are issues: - All category pages are having error, "Undefined factory mysql". Exception #0 (DomainException): Undefined factory mysql Also di:...
1 vote
0 answers
86 views

In my custom theme swatch option not display in category page in magento 2

In my custom theme swatch option not display in category page in magento 2 configuration option is not display in the category page refer image : https://prnt.sc/nvegd1
  • 1,421
0 votes
0 answers
27 views

How can I create category page for product listing?

Can anyone help me for create page for showing products in one or some category in magento 2.3.1 .
2 votes
0 answers
841 views

Mageto 2.3. How add Qty & increment and decrement for Product page and category page and widget

I am just sharing variant how i added increment and decrement for Product page and category page and widget I have created it in my custom theme into module Magento_Catalog. You should create file: ...
0 votes
1 answer
659 views

Magento 2.2 Ajax not working on second time in category page

My site was working fine, suddenly the ajax on category pages is not working on second time. On first time it works fine, whether it is pagination or layered navigation but on second time it doesn't ...
1 vote
1 answer
2k views

Magento 2 - Category page `addAttributeToSort` not working on custom product attribute

I used the following code for sorting on category page. if($this->getCurrentOrder() =="latest_products") { $collection->addAttributeToSort('significance', 'DESC')->getSelect()->...
11 votes
1 answer
7k views

Magento 2 - Product sorting issue on category page using product attribute

I made product attribute and assign it on of attribute set so that it will show in the admin product detail page. Based on this product attribute I sort the product collection on category page. The ...
1 vote
1 answer
319 views

Magento 2 - Category page sorting does not work on grouped products

I added the new product sorting attribute related to price in category page like price low to high and price high to low. It showed on Sort By drop down. It is working fine for configurable product ...
1 vote
0 answers
32 views

Magento 1.9.2. - Filter products on the list page starting from the last tier price

I would like to be able to filter the products on the list page not for the final price but for the last tier price. How could I do? Thanks
  • 487
1 vote
1 answer
1k views

Category (product Listing) page css update with Magento 2 custom theme

I am building a custom theme, Luma is the parent theme. I am trying to customize the product listing page (category page) like this . Can you please help me which less file that I need to update also ...
  • 109
2 votes
1 answer
867 views

How to add class in body or in category-view div if current category don't have image

How to add any class in body or category-view div on category page if current category don't have image assigned. Having following top container part in the catalog_category_view.xml file. <...
  • 1,885
0 votes
1 answer
347 views

How can we remove layered navigation filters view page source code in magento 2 category page?

How can we remove the filters applied in category page,ie: . It's appending the pipe with filter values in view page source as shown in below- <meta name="description" content=" | Price: $0.00 - $...
  • 329
3 votes
2 answers
3k views

Magento 2.2.5 change 'Add To Cart' button to 'View Product' at category page

Is it possible to change the 'Add To Cart' button to 'View Product' at the category pages? I have for almost every product some attributes, so it's weird for my visitors to click on "Add To Cart" but ...
0 votes
1 answer
496 views

How to get only in-stock configurable option values in Magento2?

I want to get only the configurable option values which are ONLY in-stock. For instance, assume 'size' is the configurable option and it's options are XS,S,M.L,XL,XXL. Product 'test' has only S,M,L ...
  • 9,885
0 votes
2 answers
1k views

How to display subcategories on category page?

I have used this code in view.phtml to display subcategories on category page <?php foreach ($this->getCurrentCategory()->getChildrenCategories() as $_subcat): ?> <li><a ...
0 votes
2 answers
1k views

how to link product images on homepage/category page to product page

For this site I need the product images from the homepage or the category page to link to the product. Right now when you click on a product image it doesn't link to the product page. It does nothing. ...