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-page]

The tag has no usage guidance.

0
votes
0answers
24 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
1answer
40 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()->...
10
votes
1answer
5k 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
1answer
79 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
0answers
14 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
1
vote
1answer
34 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 ...
0
votes
0answers
50 views

Custom Redirection for Brand In Category Pages

I want to redirect some URLs with category and brand names to category listing pages with a filter of brand ids but also I want the URL to remain the same as earlier. For example: if my URL is ...
2
votes
1answer
48 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. <...
0
votes
1answer
31 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 - $...
0
votes
0answers
321 views

Layered navigation not showing some sub-category

I want to list out all the immediate subcategories in layered navigation. But it is not displaying some categories, even though it is having products and anchor enabled categories. I have checked the ...
3
votes
2answers
760 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
0answers
20 views

Magento 1 : remove discount in frontend category page and change position of mrp and sale price

Am working on magento 1.9 website currently running on shared hosting. I want to change some places of attributes on category page. following in image : as can be seen in the image i want to remove ...
0
votes
0answers
16 views

Jm masshead - Magento 1.9

So I'm currently running my site in localhost to test various things. Right now I'm trying to get the jm masshead extension working. So far.. I've enabled it in system->conf->jm-masshead Then I've ...
0
votes
1answer
243 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 ...