New answers tagged

0 votes

How to edit search term format in Search Landing Page title

By default, Magento already has a single quote appended to the search term. Like: However, if you wish to change it, you can add a translation string to the en_US.csv file and add the below strings ...
0 votes

Magento 2 site optimization module and extensions needed. Paid or Free, any suggestions? SIte is around 64% optimized

Before installing any site optimization module you need to follow some steps so it will increase site performance easily. Please follow the below steps for site optimization. Disable Use Flat Catalog ...
0 votes

Customers get discount, but didn't set a coupon or cart rule

Please run the below commands if you have disabled all cart rules and coupons and still apply the discount. and same for the opposite like you have created coupon and cart rules and did not applicable ...
1 vote

Magento2.4.5: How to add custom text fields on checkout page?

In Magento 2.4.5, you can add custom text fields on the checkout page by creating a custom module and using layout updates and template files. Here are the general steps you can follow: Create a new ...
  • 474
1 vote

Magento2.4.5: How to add custom text fields on checkout page?

You can Refer to this blog and create a module:- https://blog.magezon.com/how-to-add-field-in-magento-2-checkout-page-mgt/
1 vote

Magento 2 Grid not showing up

Based on the code you've provided, it seems that there are a few things that may be causing the grid to not display. Make sure that your DataProvider class is correctly set up and that it is ...
0 votes

Magento2.3 installation issue on wamp Winodws 10

Magento is not compatible with windows. See here: https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements.html#operating-systems-linux-x86-64 Please use Linux in Docker, with Hyper-V ...
0 votes

setup:db:status still reports "Declarative Schema is not up to date" after update

Firstly generate a whitelist JSON for your module. php bin/magento setup:db-declaration:generate-whitelist --module-name=[MODULE-NAME] After whitelist file generation run php bin/magento setup:...
1 vote

Magento2.4.5: How to add custom text fields on checkout page?

Check this link , need to create a module https://bsscommerce.com/blog/add-magento-custom-checkout-fields/
  • 116
0 votes

Magento 2.4.5 performance issue

I think you can use Redis. Also see in the DB may be some queries takes more time. Also, use Magento's performance based configurations
  • 415
0 votes

Magento 2.3 The images not displayed in Gmail

In Gmail, base64 images will not be displayed because Gmail no longer supports that image format. Gmail does not support images using data: URLs
0 votes

How to make purchase order number optional in checkout page magento 2.3

@jrswgtr's answer is not the recommended way to disable the backend logic. Preferences should be avoided if possible. The recommended way would be to disable the plugin in di.xml: <?xml version=&...
  • 1
0 votes

Getting Magento 2 developer course online

These are the some sites that can teach you the Magento: I think the best website to learn Magento is Devdocs the official Magento documentation. https://experienceleague.adobe.com/#home Then I ...
  • 415
0 votes

Magento 2.3 - Unexpected error Exception: Warning: SessionHandler::read()

Open www.config file of php-fpm and locate the configs session.save_handler, session.save_path, and make the below changes: php_value[session.save_handler] = files ;php_value[session.save_path] = /...
0 votes

Exclude particular <script> tag moving to bottom of the page- Magento 2.3

To exclude a particular tag from moving to the bottom of the page, simply add type="text/x-magento-template" to the script tag and it will remain where originally inserted via layout ...
  • 2,159
0 votes

Magento 2.3 forgot password email not sending

There are a few possible reasons why the forgot password email may not be sending in Magento 2.3: Incorrect email settings: Make sure that the email settings in your Magento 2.3 store are configured ...
  • 3,422
0 votes

Magento 2.3 forgot password email not sending

For that, you need to install and configure SMTP extension. Extension link : https://www.mageplaza.com/magento-2-smtp/ Configuration link : https://www.mageplaza.com/blog/how-to-configure-mailcom-smtp-...
0 votes

The requested sku is not assigned to given stock. Product is not displayed

My problem was that the stock was not assigned to website. STORES > STOCKS > (Assing stock to website/sales channel)
0 votes

“Type Error occurred when creating object: Magento\\Eav\\Model\\Entity\\Attribute\\Source\\Config”

In my case it was a plug-in attribute. In \www\vendor\magento\module-customer\Model\AttributeMetadataResolver.php around line 116 there is the public function getAttributesMeta. Here add a bit of ...
0 votes

Move sign In or Create Account links to new container next to cart icon in header

step1:- You should add the below code in app/design/frontend/[vendor-name]/[theme-name]/Magento_Theme/layout/default.xml <move element="header.links" destination="header-wrapper&...
0 votes

Disable MSI extensions on Magento Enterprise 2.4.5-p1

I'm able to fix it by following below steps: Re-enabled MSI extensions, setup:di:compile, reindex, flush cache Add default inventory source and stock at Stores->Source and Stores->Stock Tried ...
  • 777
0 votes

How to add google recaptcha V3 for custom forms in magento 2

You need to check this link codes which how to add Google Recaptcha in Custom form explained. https://magento.stackexchange.com/a/133432/85907 In above link Very detailed explained. https://github.com/...
  • 3,422
0 votes

How to use special characters for cms pages meta description in magento 2

I Guess its best practice avoid of quote in meta. The use of quotation marks actually results in truncation, meaning that search engines will cut out this part of your meta description because it ...
0 votes

How to add google recaptcha V3 for custom forms in magento 2

You need to implement this code: Magento 2.4 Add Recaptcha in Custom From And then you need to follow the below actions. Add your action event in the events.xml file. Update your layout file like ...
  • 7,090
0 votes

magento 2 Uncaught TypeError: Argument 2 passed to Magento\Catalog\Block\Product\ImageFactory::getLabel() must be of the type string

Another cause for this error can be that Magento thinks your theme is virtual when it's not. Check the theme table for your current theme and look at the value of the type column. If it's set to 1, ...
0 votes

To add address edit link in existing shipping address in Magento 2 Checkout page

Try the code like this one : Replace address_id to customerAddressId then you can check it. I have tested.
1 vote

What is the use of php bin/magento dev:di:info command?

Ques : What is the use of php bin/magento dev:di:info command? Answer : bin/magento dev:di:info "<class-namespace>" This Command Will Generate the List of the preferences and plugins (...

Top 50 recent answers are included