Skip to main content

Questions tagged [product-listing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

Magento2 Products List Page taking much time too load products

I have setup Magento 2.4.6-p2 Version in my local system I enabled the profiler to see the loading time of the site and I found the below file is taking too much time if I visit the list page the ...
Sanjay Shiyal's user avatar
0 votes
1 answer
58 views

Product list export without admin access

The title probably seems suspicious but this is an above-board question: I routinely visit a company's Magento auction storefront and it's pretty time consuming to get through all of their categories ...
Robert's user avatar
  • 1
0 votes
1 answer
888 views

How to optimize Magento 2 indexer

I'm having one magento 2 website which contains 1 million products. The website is based on MSI and there are multiple CRON jobs running on hourly basis to do the inventory and price updates. So the ...
Sandeep Nair's user avatar
1 vote
1 answer
37 views

Sorting Families on Plp

First product list A1, A2,A3 Product Family A Second product list B1,B2,B3 Product Family B It shows on PLP such as in this way; Family A Title Family A description A1 A2 A3 Family B Title Family B ...
user109253's user avatar
0 votes
1 answer
112 views

Magento 2 how to get product Ids in the Product listing page without pagination

I want to get the listed product's IDs in the product listing page without pagination. But the products will be listed with pagination. If it is filtered by layered navigation/search then I want that ...
Jancy Abraham's user avatar
3 votes
3 answers
3k views

Warning: Object of class Magento\Framework\Phrase could not be converted to int product/list/toolbar/limiter.phtml on line 26

Can anyone have faced the below error while opening the product listing page at the storefront? Running instance on the Magento version 2.4 vanilla. No third-party modules/themes were installed. A ...
sandip's user avatar
  • 4,034
1 vote
2 answers
209 views

Magento 2 Admin Product listing grid showing product details in the wrong language

I have one store and two store views(English & Arabic). When the admin user browses to product listing grid page in the admin section then by default product name showing in the Arabic language ...
Jitendra Patel's user avatar
0 votes
1 answer
902 views

Order by price not working - Product listing

I have searched along the web for the solution and I have not found yet. Let me give you the context a little. I'm using Magento 2.3.6, where we got around 57800 products. When you go to the category ...
Trimes's user avatar
  • 38
0 votes
1 answer
93 views

Magento 2 Create Product grid columns

How to Create New custom column in product grid in magento 2. Thanks.
Mohit Patel's user avatar
  • 3,923
0 votes
1 answer
33 views

Actions dropdown too far right in Admin Listing

I've managed to add a second action to the actions column in the admin product listing. It works fine until I add another column to the display. The dropdown menu doesn't "follow" the ...
Gautier Bardon's user avatar
1 vote
2 answers
685 views

how to hide the filter in product listing page without modify the code base?

How to hide the filer in product listing page without touching the code? Can I do it by CSS or javascript? Thank you
Paul Fan's user avatar
  • 658
1 vote
0 answers
88 views

How to get product id's of first page in the second page in magento 2 plp

I need to get first page product id's while calling second page collection in ListProduct.php
Venugopal Chikkegowda's user avatar
0 votes
1 answer
150 views

Unable to sort PLP with Configurable products based on discount (special_price)

I have configurable products in my PLP and I want to sort with "special_price" attribute. I edited the special_price attribute from admin and allowed it to be sortable in storefront. But I ...
Narendra Vyas's user avatar
1 vote
1 answer
631 views

What is the correct way to make the last page appear on pagination?

I need to make the pagination show some amount of pages saying 5 then show the dots and last page. Making it look like: 1 2 3 4 5 ... 20 pager.phtml already has those within the template, but they ...
thenightingale's user avatar
0 votes
1 answer
1k views

Display Color swatch option in product listing page in magento 2

I want to display color images on product listing page https://prnt.sc/sush2z. I have made color attribute and selected swatch option. Assigned color images too. https://nimb.ws/Sw9mEN Did Visible on ...
Nafsss's user avatar
  • 760
1 vote
1 answer
2k views

Magento 2.3: How to set the default swatch selection pro-grammatically on product listing page?

I want to implement the selection of swatch options in a way that by default it should be selected 2nd swatch on listing pages. Attribute name is color. I looked over the following Blocks but not ...
Softec's user avatar
  • 2,085
1 vote
2 answers
1k views

Magento 2 check if product already in compare list

I want to check if products is already in compare list on product listing page and show remove compare button there below is come of my list.phtml Add to compare <a id="compareclick-<?php ...
user1799722's user avatar
1 vote
0 answers
43 views

How to display product attribute set in product list page via custom module in magento 2.3.3?

I am trying show product Attribute set in product listing page.I want to achieve via custom module. can someone help to achieve this solution? Thanks in advance.
Ramalakshmi T's user avatar
1 vote
0 answers
67 views

Adding date_created to catalog/product admin grid

I want to add the date on which a product was created to the default product admin grid. I've created a module under app\code\Vendor\Module with: ./etc/module.xml <?xml version="1.0" encoding=...
Caius's user avatar
  • 11
0 votes
0 answers
348 views

Invalid scope type 'containers_stores' in Magento 2.3.3

In Magento 2.3.3 on going to the listing page, it's showing an error like main.CRITICAL: Invalid scope type 'containers_stores' [] [] and because of that my listing page getting blank. I followed this ...
AjayKr's user avatar
  • 145
1 vote
1 answer
473 views

Magento2.3: item count is not updating in category page

We have added some of the products in one of the category. When we go to that category page, the item count is not updating. It always showing "1 Total Result". Please see the below screenshot once. ...
MagentoDev's user avatar
0 votes
1 answer
468 views

Getting all the listing page blank in Magento 2.3

I installed Magento 2.3 on my local system, but ongoing to the listing page it's showing blank. I have checked the error log, exception log, system log, debug log but nothing are there. I tried this ...
AjayKr's user avatar
  • 145
0 votes
1 answer
642 views

How create A-Z Product List Page in Magento 2?

I need to create a page listing products alphabetically from A to Z and show only the products starting to each letter.
Guillermo Rodríguez's user avatar
0 votes
2 answers
1k views

How to get Tier price html on product listing page in magento 2.3?

I want show default tier price in product listing page which we can see on product detail page. ex. Buy 5 for £47.00 each and save 6% I can get using of $product->getTierPrice(); in product ...
Manish Maheshwari's user avatar
1 vote
0 answers
61 views

magento 2 : Product listing show most viewed products first

i want to show products in order of most viewed on listing page i did below changed on my list.phtml but it seems not working file : app/design/frontend/colora/colora_default/Magento_Catalog/...
mcoder's user avatar
  • 713
1 vote
2 answers
687 views

Get product attribute block on category page: Magento 1.9

Here is the code display attribute block in PDP page, <?php echo $this->getLayout()->createBlock('catalog/product_view_attributes') ->setTemplate('catalog/product/view/...
zus's user avatar
  • 175
2 votes
1 answer
3k views

Magento 2: Rest API add "stock_item" in to the list of the products

Magento 2 product rest API provided stock_item details in /V1/products/:sku API. But V1/products rest API not included stock_item details in products. I want to need stock_item details in to the list ...
Kirti Nariya's user avatar
  • 3,071
5 votes
0 answers
165 views

Magento 2 - How to create a custom product listing grid in admin?

I want to create a custom page for product listing in admin like the image using my custom module. How could i do that? If anyone have any solution please lighten me up.
Nayem323's user avatar
  • 771
0 votes
1 answer
2k views

How to move product_list_toolbar magento 2?

I want to move toolbar above column. I am using this code: <move element="product_list_toolbar" destination="columns.top" before="-" /> I am getting the getSize() error: Fatal error: ...
Vinod Kumar's user avatar
  • 2,065
1 vote
2 answers
2k views

Magento 2 how to check serialized conditions against product in frontend?

I have created an admin form which contains name and catalog price rule conditions. I have saved these values in a custom table. The conditions are saved as serialized. Now I want to check these ...
Jancy Abraham's user avatar
0 votes
1 answer
96 views

How to add Qty in add to cart form on Product Listings Page for configurable product in Magento 2

I want to add Qty field on product list page for configurable product and simple product. I am using Magento 2.3.1 can you guide me how can I do?
kiran's user avatar
  • 597
2 votes
1 answer
742 views

How to move add to cart button after the short description in product listing page

How to move add to cart, compare, wish list section after the short description in product listing page.
Mahendra's user avatar
  • 716
0 votes
1 answer
689 views

How to set number of columns in category listing for magento 2

I want to display 4 columns in the category listing for Magento 2. Means Now products showing 3 columns, Need to change 3 to 4 so Product will show like below Before Product-1 | Product-2 | Product-...
yatin patel's user avatar
1 vote
0 answers
58 views

how to sorting product in listing page by group product in magento 2

How do I show all group product first in the product listing page first and then the rest of the product shown
Shubhajay Das's user avatar
0 votes
2 answers
297 views

Magento 2 Product Listing Issue:- You cannot define a correlation name 'mp' more than once

I'm trying to join custom table on product listing page,here is the Class and method:- Class:- vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php Method:- setCollection() Here is ...
Wakar Ahamad's user avatar
1 vote
2 answers
720 views

Get product only with attributes used in product listing in a test

In my test I am creating a product like this: $product = $this->objectManagerHelper->create('Magento\Catalog\Model\Product'); $product ->setId(1) ->setTypeId(Product\Type::...
Daniel's user avatar
  • 2,239
0 votes
1 answer
5k views

Add Product Description on Simple Product Page Magento 2

I'm having difficulty figuring out how to add a description to a Simple Product that will subsequently be displayed on the Simple Product Details Page. Everywhere I have looked discusses using code to ...
somejkuser's user avatar
1 vote
1 answer
221 views

Magento2 + Custom option price not included in price sorting

By default magento include minimum price from custom option in product listing price sorting but in my case this functionality isn't working. any one have idea which settings i need to update? I'...
Jimit Bhavsar's user avatar
5 votes
1 answer
371 views

Magento2 - Show Instant Purchase on product listing

By default Instant-purchase button is shown on product details page, but I want it also to be shown on Product listing as well. I searched in backend, but didn't find any solution. How can this be ...
Narendra Vyas's user avatar
0 votes
1 answer
80 views

Magento2 Product Listing page how to adding custom tab?

I am using magento2 and i need to add custom tabs in product listing page,but i can't find out any solution if anyone know please reply me. I want custom tabs in listing page which show in detail ...
Rv Singh's user avatar
  • 1,637
0 votes
2 answers
56 views

Add additional price to the catalog listing - Magento 2.2

I have two needs for this requirement, both to show an additional price on the storefront catalog grid. One is to show an inc. VAT figure, the other (for another site) is to show a price per square ...
Aaron's user avatar
  • 1
0 votes
2 answers
427 views

Show "dropdown" attribute type on product grid

I have a product attribute for configurable products as a "dropdown" and I would like to show it on product listing/grid how can I do this?
Vlad Patru's user avatar
  • 1,200
0 votes
1 answer
2k views

Filter in left layered navigation not showing in Fresh installed Magento1.9.2.4

I have installed Magento 1.9.2.4, in which I have not written a single line of code there and not any custom or third party module installed there. I have just created few categories and products at ...
Shashank Kumrawat's user avatar
1 vote
0 answers
35 views

How to add new Column in Products Listing in Magento 2

I am trying to add one more column on the product listing. I have tried to with below code. _listing.less / // Desktop // _____________________________________________ .media-width(@extremum, @...
JB Pakalapati's user avatar
1 vote
1 answer
725 views

Getting Wrong Product URL on Product Listing Page

If a product has assigned in multiple categories.on product listing page, product URL remains the same for each category. e.g- Suppose a product "A" has assigned in category "B","C" & D where B,C,...
Wakar Ahamad's user avatar
1 vote
0 answers
118 views

Prices Zero on listing pages after update to Magento 1.9

After the upgrade from M1.8.1 to M1.9.3.8 all product prices on the category list pages an the crossselling elements where shown as 0 (Zero) with a strikethrough regular price. On the detail page ...
Volker's user avatar
  • 31
1 vote
2 answers
5k views

Magento 2 : How can I display an attribute on the category page?

I am trying to display the sku attribute for each product on the category page. I tried following this Magento 2: Display Custom attribute value under the product name on category page I added this ...
tjjen's user avatar
  • 883
0 votes
2 answers
516 views

Custom attribute product listing page

I have created a custom attribute 'manufacturer' with options like 'Fossil, Tommy Hilfiger, etc'. Now I just need listing for each brand. For example "https://magento.store.com/fossil.phtml" should ...
Radhu's user avatar
  • 179
0 votes
1 answer
108 views

Magento : 1 Showing New Products of Particular category on page

Am working on Magento 1 Store I want to show only new products of particular category on a page. Suppose i have category of shirts so i want to show only 8 new products of that category on page. i ...
RANU EMPRISE's user avatar
0 votes
1 answer
189 views

Get collection with promotional products not working

I need to get a collection listing all products with a promotion, but I'm getting this error: Fatal error: Call to a member function getBackend() on boolean I tried those 2 solutions, but still ...
Pedro de Albuquerque's user avatar