Questions tagged [category-page]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Notify Customer on Product/category page that this item already in cart

I have to notify the customer that this product is already in the cart on the product page and category page too before Add to cart Button like product page For Category Page I have tried to get ...
0
votes
0answers
32 views

I need to change compare link to checkbox in category page in Magento 2.4

I need to change the compare icon link into the checkbox on the category page in magento 2.4.
0
votes
0answers
20 views

Magento 2.3.2. Restyling 'As low as' on category page. Which PHTML?

I have no configurable products, but tiered pricing. I would like to change the 'As low as £x.xx' on the category page to 'As low as £x.xx for 4+' as well as moving this to a new line below the ...
2
votes
1answer
383 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 ...
0
votes
1answer
200 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
0answers
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
1answer
102 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
0answers
46 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 ...
0
votes
1answer
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
0answers
54 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
0
votes
0answers
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
0answers
636 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
1answer
477 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
1k 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
1answer
6k 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
212 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
20 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
953 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 ...
2
votes
1answer
566 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
197 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 - $...
3
votes
2answers
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
1answer
413 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 ...
0
votes
2answers
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
2answers
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. ...