Questions tagged [product-listing]

The tag has no usage guidance.

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

How to generate qr code for specific product in magento 2?

I want to add one column in product listing grid which will be containing qr code for every products and by scanning that qr code it will be redirecting us to that specific product. Since I am new to ...
0
votes
1answer
102 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 ...
0
votes
1answer
27 views

Magento 2 Create Product grid columns

How to Create New custom column in product grid in magento 2. Thanks.
0
votes
1answer
18 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 ...
0
votes
2answers
94 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
0
votes
0answers
17 views

Unable to display color as swatches in listing page and image as swatches in product detail page in magento2.3

As per requirement, I need to display color as swatches in product listing page while in product detail page it should be displayed as image. Let me know how to display color instead of image.
1
vote
0answers
29 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
0
votes
1answer
32 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 ...
1
vote
0answers
95 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 ...
0
votes
1answer
213 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 ...
1
vote
1answer
596 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 ...
1
vote
2answers
608 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 ...
1
vote
0answers
24 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.
1
vote
0answers
27 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=...
0
votes
0answers
263 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 ...
1
vote
1answer
282 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. ...
0
votes
1answer
236 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 ...
0
votes
1answer
360 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.
0
votes
2answers
648 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 ...
1
vote
0answers
46 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/...
1
vote
2answers
532 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/...
2
votes
1answer
2k 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 ...
4
votes
0answers
136 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.
0
votes
1answer
966 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: ...
1
vote
2answers
1k 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 ...
0
votes
1answer
66 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?
2
votes
1answer
464 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.
0
votes
1answer
375 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-...
1
vote
0answers
22 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
0
votes
2answers
219 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 ...
1
vote
2answers
167 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::...
0
votes
1answer
3k 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 ...
1
vote
1answer
202 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'...
5
votes
1answer
268 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 ...
0
votes
1answer
59 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 ...
0
votes
2answers
48 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 ...
0
votes
2answers
355 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?
0
votes
1answer
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 ...
1
vote
0answers
28 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, @...
1
vote
1answer
545 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,...
1
vote
0answers
108 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 ...
1
vote
2answers
4k 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 ...
0
votes
2answers
467 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 ...
0
votes
1answer
106 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 ...
0
votes
1answer
179 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 ...
0
votes
1answer
65 views

How to only show products from a specific category?

Ì created a grouped product and some simple products associated with it on my fresh installed Magento project. Then I created a new category "kleber_category" and associated the grouped product to it. ...
2
votes
1answer
1k views

Change Default to sort by descending not ascending

I have searched for how to change the default sort order by descending and found this answer here Magento2: Default to sort by price descending not ascending, but when i load my category pages, i get ...
0
votes
1answer
746 views

How to get video url in product list page in magento 2?

I want to get product video url in product list page.I am try below code but its not works for my end <?php if($_product->getVideo()): ?>` <iframe width="560" height="315" ...
1
vote
0answers
384 views

Filters not working

I migrated a Magento 1.9 site locally on my computer. Everything seems to be okay except for the front end filters. None of the filters (color, price, manufacturer) seem to be working. When I click on ...
4
votes
3answers
9k views

How to show all products on category pages in Magento 2

How to list all products on my category pages as default?