Skip to main content
3 votes
Accepted

Magento 2 - Search result not working properly on dropdown attribue

Go to Catalog > Products Search for those products which are assigned to the brand you're searching and ensure that all the products visibility are set to Catalog, Search. If they are not on ...
Arbab Ahmed's user avatar
2 votes
Accepted

Is it bad to use ObjectManager in list.phtml like in Code Below? What's the best Practice?

Yes This is bad practice. Reason why is here https://devdocs.magento.com/guides/v2.4/extension-dev-guide/object-manager.html But also using registry like this uses deprecated code. There is a really ...
Dominic Pixie's user avatar
2 votes
Accepted

what is the table of products in magento 2?

Product data is stored across a number of tables. The main one is catalog_product_entity. Anything not in that table will be stored in catalog_product_entity_int, catalog_product_entity_text, ...
Craig's user avatar
  • 639
2 votes
Accepted

How to customize Guest Checkout Page?

In your custom module, create checkout_index_index.xml in frontend/layout: <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...
Natha Odedara's user avatar
2 votes
Accepted

I want to develop custom grid module with add buttons in Magento2

in magneto there are two ways to create admin grid. 1.UI Component 2.PHP block rendering like magento 1 More is here https://devdocs.magento.com/guides/v2.4/extension-dev-guide/admin-grid.html Thank ...
Gohil Rajesh's user avatar
  • 3,000
1 vote
Accepted

How to add Custom Step on Checkout and move Shipping methods in that step In Magento 2.3.5

For Creating Custom Step: Magento 2: New Checkout step – Shipping Method prices not showing Add Shipping Method Section to newly created Step: Magento 2 How to remove shipping method in checkout ...
Deep Shah's user avatar
  • 577
1 vote

Should I change the Vendor file in magento ver 2.3.5 p2 for customization in sales order view page

No, you should not change the files from vendor directly as they will be lost when you do upgrade Magento in the future. You should override that phtml file in your custom module. Assume the Vendor ...
Tu Van's user avatar
  • 7,558
1 vote
Accepted

Magento 2.3 How can add primary key constraint combination of multiple column using db_schema.xml?

It's unusual, but you can. The syntax of your db_schema.xml is correct, but you have to declare those column before using them in the constraint tag. <?xml version="1.0"?> <schema ...
Francesco Gasparetto's user avatar
1 vote

Capture minicart configureable product variant info

Finally able to find ways to obtain the data of the product event by using this code selectedItem = _.find(customerData.get('cart')().items, function (item) { return itemId === Number(item['...
Mohd Farhan Bin Ramli's user avatar
1 vote

Some old random orders are associated to newly registered customer Magento 2.3.5-p2

Apparently, the problem is known by Magento. The problem was in the file: app/code/Magento/Persistent/Model/QuoteManager.php It has been corrected in 2.3.4-p2. But otherwise, the bug was a bit "...
LitExtension Magento Migration's user avatar
1 vote
Accepted

Magento 2 open fullscreen/lightbox view when clicking on product thumbnails

In the end this is what did it for me: require(['jquery', 'mage/gallery/gallery'], function($, gallery) { $('[data-gallery-role=gallery-placeholder]').on('gallery:loaded', function () { $('...
joeybab3's user avatar
  • 378
1 vote

How to Install Magento 2.3.5-p2 in linux mint 19.3?

This might help you to install magento https://www.alpineinc.com/2020/05/how-to-install-magento-v2-3-5-locally-via-the-composer/
Hamendra Sunthwal's user avatar
1 vote

I want to develop custom grid module with add buttons in Magento2

Here is the full article on Crud operations :- Mageplaza Sparsh Technologies. Mage World You can also create custom module with module creator :- Mage2Gen
Ronak Rathod's user avatar
  • 6,426
1 vote
Accepted

How to change the default catalog ordering direction Date Added on the frontend product lists from ascending to descending?

You can Change it in Core Magento Files I figured out. /httpdocs/vendor/magento/module-catalog/Helper/Product/ProductList.php, you can set asc or desc. Proper way is to do it via extension/plugin.
Jonathan's user avatar
  • 113
1 vote
Accepted

how to save data into custom table

To be able to save a model without a primary key that is auto incremented you will need to set the flag _isPkAutoIncrement in your resource model: class ProxyQuote extends AbstractDb { protected $...
Kristoffer's user avatar
  • 1,068
1 vote

Magento 2.4.0 versus 2.3.5 regarding CentOS 6 vs CentOS 7 and the version of Elasticsearch

Magento installation will depend on your php version not on your os as per my understanding wheras magento 2.3.5 does not have support for php 7.4 so it would be better to use php 7.3 as of now which ...
Pramod's user avatar
  • 1,464
1 vote
Accepted

Plugin for an existing plugin

Yes It's Possible possible to create a plugin for an existing plugin class . The sortOrder property from the plugin node declared in di.xml determines the plugin’s prioritization when more than one ...
Msquare's user avatar
  • 9,268

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