Questions tagged [products]

Questions about products in the Magento catalog in general

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

How can I catch more detailed information about a reindexing error or when reindexing is stuck?

The size of the catalog is about 70k products. When reindexing sometimes it turns out Could not acquire lock for index:catalog_category_product and Could not acquire lock for index:...
Robinio's user avatar
  • 749
0 votes
2 answers
36 views

after adding the products, those products are not displaying products page

Warning: Undefined array key "name" in D:\xampp\htdocs\mage2rock\vendor\magento\module-catalog\Ui\Component\Listing\Columns\ProductActions.php on line 61 Exception in D:\xampp\htdocs\...
Nagamani B's user avatar
0 votes
2 answers
44 views

How I can get products using multiple skus?

In my custom block I loaded the ProductRepository: namespace \Pcmagas\FirstModule\Block\MyList; class MyList extends \Magento\Framework\View\Element\Template { private ProductRepository $...
Dimitrios Desyllas's user avatar
0 votes
0 answers
32 views

How to sort products in Magento by new from date?

I wanted to sort products by new from date , please see the query but it is not working perfectly $collection->getSelect() ->joinLeft( ['catalog_product_entity_datetime' =>...
Mark's user avatar
  • 43
0 votes
1 answer
16 views

Export of products in CSV files

Does anyone know why the CSV export file does not appear, when I make the export I get the notification that it is ready, however, the file is not found, this should appear with the date on which the ...
Erick Vernaza's user avatar
0 votes
1 answer
24 views

How to write custom validation rules for Magento 2 product import CSV data?

I am trying to write custom rules for Magento 2 product import data. For example Price must contain specific number of digits based on store view. How can I do such type of validations on csv data and ...
shankar boss's user avatar
  • 1,439
1 vote
0 answers
19 views

How to get the data of which admin user has updated the products in admin backend magento 2

I want to display user modified product changes and also his name and updated date in admin product edit page .
sandhya S's user avatar
1 vote
1 answer
20 views

Error Exception #0 (Exception): Notice: Object of class Magento\Framework\Phrase could not be converted after upgrade magento version

Can anyone have faced the below error while opening the product listing page at the storefront? After upgrade magento version 2.4.3 to 2.4.5 I am facing. 1 exception(s): Exception #0 (Exception): ...
kiran's user avatar
  • 527
1 vote
1 answer
16 views

Why new products take so long to show on frontend

The products we add in Magento 2 take too long to show on frontend, specifically 24 hours give or take before they start to show. Is this a php or index issue?
sarmad95's user avatar
0 votes
2 answers
43 views

My site show "We can't find products matching the selection" in category page

I used the command bin/magento indexer:reindex and the product appeared. But then it disappeared again and showed the words We can't find products matching the selection on the category page. Why is ...
Sơn Tùng's user avatar
1 vote
1 answer
43 views

Magento 2.4.3 - Grouped/bundle product out of stock when one or more child items is out of stock

How can I make grouped/bundle products out of stock if one or more child products are out of stock?
Jan-petter Havna's user avatar
0 votes
4 answers
667 views

Products are not visible at frontend Magento 2

There's two created product each of them is set: Product Type : Simple Website : Main Websites Status : Enabled Visibility: Catalog, Search Salable Quantity: >50 I use Magento 2.4.4 Open source ...
rt89's user avatar
  • 1
0 votes
1 answer
22 views

Cart page Producrs

I am add new products but the user in cart page can change country i want the user can not change country in cart page how can I disable this ? Can not the user change country? Please give me response ...
user111476's user avatar
0 votes
2 answers
60 views

How to get shareable file link of downloadable product?

I have a requirement in M2 where I need the shareable file link of downloadable product. $product = $this->productRepository->getById($productId); // Output array $output = [];...
Deepak Mankotia's user avatar
0 votes
1 answer
32 views

PDP page customise if open from qr code

I want to know about the PDP page. How can I difference between if the product is open from qr code or list page itself. I want to customise the PDP page if the product is open from the QR code scan
katariya vipul's user avatar
0 votes
1 answer
53 views

Can you restore old Magento catalog and product data?

our Magento catalog database has undergone an update which mixed items together and caused chaos. Can we somehow extract old product data (product numbers, categories, which products were contained in ...
Inu's user avatar
  • 1
0 votes
1 answer
22 views

Get random products error

I know that there is a bunch of questions on this topic but no one resolve my problem //@var Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $this->_productCollectionFactory $items = $...
C0casio45's user avatar
0 votes
0 answers
19 views

Products are not displaying

I'm not sure what is going on. I can add a product on a fresh install and the product page is empty. Now if I do a search the product will display and you can place it in the cart. In the product page ...
Michael Nelson's user avatar
0 votes
0 answers
23 views

How to show the Product List layout in the frontend?

Been struggling to find a way to create a product list table in the frontend for certain users to buy the products directly instead of opening each product on a single page and adding it to the cart ...
David Buik's user avatar
0 votes
1 answer
23 views

Sorting by one field in the collection does not occur

I have a plugin for the afterSetCollection method, which is hung on the Magento\Catalog\Block\Product\ProductList\Toolbar -> setCollection method. But for some reason, sorting occurs by the price, ...
Edward Brown's user avatar
0 votes
0 answers
49 views

Magento 2.4.2 - allows more products in cart then in stock

We have a problem on our website, since we added plugin for preorder/backorder we made some changes with extra php script. I checked the code it does not infect any settings for this. But for some ...
nicks's user avatar
  • 1
0 votes
0 answers
183 views

how add requisition list on grid.phtml

I'm on magento 2.4.5 I want to put requisition list dropdown on homepage, like he appears when we search for any product, with a clickable icon My file list. phtml vendor/magento/module-catalog/view/...
Arthur Villa's user avatar
0 votes
1 answer
109 views

Magento 2.4.3-p3 Load More is not working

I am trying to show products number correctly in product list, but if click Load More button, added all products = Before click Load More = After click Load More Added Extension - Infinite Scroll ...
Bohdan V.'s user avatar
0 votes
2 answers
132 views

Magento 2.4 How to disabled / hide "Delete" from Catalog Products Actions

I have an improvement problem; I want to restrict some more things from that user. I want to block "delete" the product Magento 2.4 How to disable/hide "Delete" from Catalog ...
oolong15's user avatar
0 votes
0 answers
105 views

Magento2 graphQl special_price filter not working

I am trying to retrieve all products holding a special price value. { products(filter: { special_price: { from: "0.00" ,to:"10.00"} }, sort: { ...
Radhu's user avatar
  • 159
0 votes
0 answers
148 views

Magento 2.4.3 - Anyone that has experience with Porto theme?

Is there anyone that has some experience with the Porto theme and can give me a hint on how I can get a 3rd party layered navigation to work properly with Porto Theme? I can see they have added ...
Jan-petter Havna's user avatar
1 vote
1 answer
39 views

How to get products for each order from admin Panel?

I wanna get the CSV of all the invoices along with the items ordered in each invoice. Is there a way to get it from admin panel. I dont have access to the code.
user109504's user avatar
0 votes
0 answers
15 views

Getting all products from current order in succes page magento 2

I am working on module for some affiliate program. Everything is fine , until i try to bring the ordered items in the succes page , just for testing my json that i need to sent further to another API ...
Stefan's user avatar
  • 1
0 votes
0 answers
96 views

Get all products + product attributes under a category using MYSQL query

Is it possible to formulate an SQL that gets all products along with its product attributes (instead of just name, description, etc as what I have mostly seen on the internet) of a certain category?
Ricky Aldea's user avatar
4 votes
1 answer
2k views

Magento 2.4.5-p1 - no products listed in categories and search

I'm not sure, how this state was reached. I also tried one new category and added one new product. The product is definitely set to be visible in Catalogue and Search, but the category still doesn't ...
rarog4k's user avatar
  • 43
0 votes
1 answer
44 views

Search and filter redirecting to 404 page in Custom Product grid in custom module admin form in Magento 2?

I have created a custom product grid in my custom module form successfully Like below. Existing products are showing fine which i saved. When i want to try search for another product i am ...
Mujahidh's user avatar
  • 2,671
1 vote
1 answer
65 views

Prices are showing as zeros in product page

I have a problem with product prices, the prices in the backend are right and on the home page and search list as well. But in the product page they turn to be zero after a second of the page load ...
I.Tobgy's user avatar
  • 15
0 votes
1 answer
232 views

Add all products to a new category 2.4.4

In my magento 2.4.4 version i just created a new category. I need to assign all products to this new category. So keep the product to their current category but in addition assign to this new one ...
user3718303's user avatar
0 votes
2 answers
175 views

How do I move the add to cart button beside the price?

How do I move the add to cart button beside the price? In the category product list. eventually I want something like this. Where do I completely edit the layout for the product list?
Isabel Chua's user avatar
0 votes
1 answer
118 views

Split button for catalog product admin page

I have created some buttons on catalog product admin page. I would like to group them in a dropdown (split) button like the Add Product button. Can you please help? My product_listing.xml below <?...
Sandy's user avatar
  • 21
0 votes
1 answer
57 views

How can I call getProductQtyIncrements() method from magento_catolog/module-catalog in another module?

I wish the qty valyue could be dynamic (I mean, get another value if product qty had increment) so I create a module and put a helper. Data.php namespace Vendor\Module\Helper; class Data ...
Flavia's user avatar
  • 3
0 votes
1 answer
19 views

Magento 1.9 new color custom option inherit the characteristics of the size existing custom option

I am new in Magento and need to learn. I have a platform based on Magento 1.9 developed by another developer. I have addeded custom option of color. but there is size custom option already added ...
chamssoudine bacar's user avatar
0 votes
0 answers
879 views

Magento - Product Listing Sort By not working

For reference, I am working with Magento 2.4 I have tried the solutions from other posts on this forum and online and I cannot seem to get my magento app products sorted in the order I want. I have ...
Slippy's user avatar
  • 1
0 votes
0 answers
525 views

Magento 2 can't upload image to product

I can't upload some images to products, the weird thing is that it's just with some products that have small images, like 115x200px or something like that. I know it has to be something with the ...
Oscar Vazquez's user avatar
0 votes
1 answer
690 views

Magento 2 – Item with the same ID already exists

I am getting this error when try to open product Report. Anyone can help me on this How to i can fix this issue ? Thanks
Wajahat Bashir's user avatar
0 votes
1 answer
80 views

How to change filter "and" to "or"?

version : Magento 2.4 safira I want my website show every products related to filters I choose. If I choose multi filters, I only got products fulfilled all conditions. Is there any way I can edit ...
Ryung Kim's user avatar
0 votes
1 answer
841 views

how to create custom rest api for getting the list of all products with specific columns in magneto 2

Create a custom Rest API product based which just includes the following. • Product Name • Product URL • Product image (media URL) • Product Price • Product SKU • Product Qty • Product Stock Status ...
Syeda's user avatar
  • 3
0 votes
1 answer
42 views

I am using Magento 2.3.5, after I imported products, when I try to edit a configurable product I am getting the below. How do I fix it?

Notice: Undefined offset: 0 in /var/app/current/app/code/Magento/ConfigurableProduct/Model/Product/Type/VariationMatrix.php on line 47
LRKR's user avatar
  • 1
0 votes
1 answer
521 views

Load More Produtcs Ajax functionality in magento 2

I want to add Ajax functionality for Loading Products on catalog page. https://prnt.sc/TbgsghHe-gVz I have added the button on the first page . Can anybody help me with the script plz. I want to make ...
Nicola Smith's user avatar
0 votes
1 answer
274 views

Bulk update attributes or assign source error

Magento 2.4.3-p1 When performing bulk attribute updates or when assigning or unassigning stock sources, we get following error. Not sure why it's behaving like this, any ideas? TypeError: Return ...
Bram's user avatar
  • 1
1 vote
1 answer
1k views

How to get product collection along with is saleable attribute in Magento 2?

I'm using magento v2.4.1 and I'm extending \Magento\Catalog\Block\Product\ListProduct in my custom module block to load a custom product collection like this: protected function _getProductCollection()...
jojo's user avatar
  • 129
0 votes
0 answers
104 views

Magento 2 Category pages doesn't show page navigation (bottom nav)

I'm using Magento 2.4.3, and everything seems to work fine but the page navigation on the category pages, the one at the bottom. On the categories with more than 12 products, the number of products ...
alexcr's user avatar
  • 1,467
0 votes
1 answer
20 views

magento EE v2,4.1 products disappear from category pages, or appearing on wrong category pages

I have a magento EE v2.4.1 website. my products disappear from PLP (category pages) automatically sometimes or appear on wrong category pages. this issue seems to be due to indexing, because when we ...
Bilal Amjad's user avatar
0 votes
1 answer
785 views

use webp pictures for products

I use a magento2 webshop https://www.agoshop.at and I will use webp pictures for my products. I have convert a jpg to webp format and try to upload this webp picture to a product but the filetyp will ...
hubert's user avatar
  • 1
1 vote
4 answers
2k views

Magento 2.4.2 not showing products in category pages after version update

I have updated my Magento from 2.3.0 to 2.4.2, and seems to work fine, but one thing, if I go in any category page, I see no products, and even if I search for, I see no results. On the homepage there ...
alexcr's user avatar
  • 1,467

1
2 3 4 5
21