Questions tagged [product-listing]
The product-listing tag has no usage guidance.
54
questions
0
votes
1
answer
40
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 ...
0
votes
1
answer
291
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 ...
1
vote
1
answer
29
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 ...
0
votes
1
answer
101
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 ...
1
vote
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 ...
1
vote
2
answers
193
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 ...
0
votes
1
answer
697
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
1
answer
74
views
Magento 2 Create Product grid columns
How to Create New custom column in product grid in magento 2.
Thanks.
0
votes
1
answer
31
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 ...
1
vote
2
answers
565
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
1
vote
0
answers
86
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
1
answer
122
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
1
answer
505
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
1
answer
884
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
1
answer
1k
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
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 ...
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.
1
vote
0
answers
60
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
0
answers
336
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
1
answer
449
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
1
answer
411
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
1
answer
585
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
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 ...
1
vote
0
answers
55
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
2
answers
676
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
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 ...
5
votes
0
answers
163
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
1
answer
1k
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
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 ...
0
votes
1
answer
93
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
1
answer
721
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
1
answer
618
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
0
answers
57
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
2
answers
292
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
2
answers
566
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
1
answer
4k
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
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'...
5
votes
1
answer
330
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
1
answer
75
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
2
answers
54
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
2
answers
422
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
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 ...
1
vote
0
answers
34
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
1
answer
694
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
0
answers
117
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
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 ...
0
votes
2
answers
500
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
1
answer
107
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
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 ...
0
votes
1
answer
67
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.
...