2 votes

Products are not visible at frontend Magento 2

Please check elasticsearch status. service elasticsearch status service elasticsearch start php bin/magento indexer:reindex php bin/magento c:f
Priya's user avatar
  • 87
1 vote

Magento 2 - Error after setting Varnish host and port in purges when trying to save modifications to a product

I'd like to refer to https://www.varnish-software.com/developers/tutorials/configuring-varnish-magento/ as an additional source of information. It contains more Varnish-specific information. In terms ...
Thijs Feryn's user avatar
  • 1,011
1 vote

How I can get products using multiple skus?

There are Multiple Ways to get products using multiple skus in Magento2. Some Repository Basics To get a Single product from a repository use get To get a list of products from a repository use ...
Haijerome's user avatar
  • 2,181
1 vote

How I can get products using multiple skus?

The get method in the Magento\Catalog\Model\ProductRepository class is used to retrieve a single product. To retrieve multiple products, you need to use the getList method. The implementation should ...
Tu Van's user avatar
  • 6,483
1 vote

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

Add the following code in di.xml <type name="Magento\CatalogImportExport\Model\Import\Product\Validator"> <arguments> <argument name="validators" xsi:...
Sohel Rana's user avatar
  • 35.6k
1 vote

PDP page customise if open from qr code

To differentiate between whether a product is opened from a QR code scan or from the list page, you can pass a unique parameter in the URL when the QR code is scanned. Something like this, https://www....
Harun's user avatar
  • 559
1 vote

M2.4 - How to add OG tag for categories?

You can use the ready-made extension by which you can add the OG tags on any page from Admin. extension link: https://magefan.com/magento-2-open-graph-extension-og-tags/?aff=...
Magento Dev's user avatar
  • 1,254
1 vote

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails

If you're running it on Magento Cloud, it's recommended to disable synchronous_replication in your .magento.env.yaml. The product changes or CSV import causes an integrity constraint violation when ...
Rafael Corrêa Gomes's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible