Questions tagged [magento2]

Magento 2 is an eCommerce project facilitating the improvement of Magento Core products. Written in PHP-Zend Framework. Available under both open-source and commercial licenses via Adobe Commerce.

Magento 2 is the next major release of Magento. It differs from previous versions of Magento substantially, including fundamental changes such as directory structure and naming conventions.

It has been released for GA (General availability) on November 17, 2015 Magento Ushers In New Era of Commerce Innovation with Next-Generation Platform

Release Notes : Release Notes 2.2

Release Notes : Release Notes 2.3

Release Notes : Release Notes 2.4

Latest Release: Magento 2.4.5 Release notes

Links :

5108 questions
1
vote
3 answers

Remove added to cart message Magento 2

I want to remove the Success message when adding to cart. Right now when you click on the Add to Cart button it displays a message of Successfully added to cart but I don't want to display this. Is there a way to achieve this?
MadzQuestioning
  • 3,341
  • 8
  • 45
  • 76
1
vote
1 answer

Google Express - Orderinvoices: createchargeinvoice

I am integrating Google Express with Magento but the Create charge invoices API is failing for me. I tried to create the invoice from the "Try this API" option of Google merchant but it's throwing the following error: { "error": { "errors": [ …
abhilashv
  • 1,418
  • 1
  • 13
  • 18
1
vote
1 answer

Authorize.net accept js - Own payment form not working in localhost

I have integrated authorize.net accept js payment option on my local magento site. First of all, in my local site, I have integrated the hosted payment form (predefined payment form). It is working fine. It returns a successful transaction…
Ramya
  • 199
  • 10
1
vote
2 answers

magento2 adding customer attributes

Using Magento 2.3.0 Whenever trying to save customer I get errors that newly created attributes are required, even when I set their values. etc/extend_attributes.xml
Cmaclean066
  • 65
  • 2
  • 8
1
vote
0 answers

Magento 2 - Custom Payment Module Frontent Error

I have created a custom payment module in Magento 2 and I have made it accessible here in GitHub. The problem I'm sitting with is that, when I view my cart, I see the text Estimate Shipping and Tax after adding my custom payment module and there is…
Funk
  • 11
  • 1
1
vote
0 answers

Magento2 minify Javascript google page speed insights

While I have no different settings for Desktop and mobile,but google page speed insights pass the test for desktop as javascript minified, but fails for all JS files for mobile test as not minified. Does anyone faced similar issue, what could be…
Pawan
  • 3,864
  • 17
  • 50
  • 83
1
vote
0 answers

Can't find generateFixtureXml.php file in Magento 2.3 for Functional Testing Framework

According to the official documentation of Magento 2.3, we can generate fixtures executing this command. For example: php -f generateFixtureXml.php -- --name widget --entity_type widget_instance --collection…
Chen Hanhan
  • 1,549
  • 6
  • 15
  • 20
1
vote
1 answer

Uncaught TypeError: Return value of Magento\InventoryComposerInstaller must be an instance of Magento\InventoryComposerInstaller\void, none returned

I am trying to install Magento 2 via composer on my web server. After having to add the following in to the composer.json file in order to get everything working off a level playing field with the version of php being used: "config": { …
SGD
  • 63
  • 1
  • 7
1
vote
1 answer

How to call an external API in magento 2.2?

I am new to Magento 2. I need help in the following query. How to call an external API on page load or on click of a button in Magento 2.2? Do we need to create an observer for the same or is there a better way to do it. Will appreciate if any…
1
vote
1 answer

Show out of stock swatches in configurable (Magento 2.2.6)

I want to show out of stock product swatches in configure product. In the admin settings, Stores -> Configuration -> Catalog -> Inventory -> Display out of stock products, this is already set to "Yes" but not working. For example, if i have 3 color…
Khooshbu Patel
  • 80
  • 1
  • 12
1
vote
1 answer

Out of memory issue in laravel 5.5

We are developing some PHP tool to get data from magento2 API. We are able to get all the details finely. Whenever there is an error we need to store them in catch exception for further reference. We are trying to pass the wrong URL to magento2 for…
varsha
  • 1
  • 1
  • 4
1
vote
1 answer

Magento 2 rest API with React native

I was tried below the code I am using OAuth 1.0 I am having Consumer Key,Consumer Secret, Access Token, Token Secret I'm getting response message: "A consumer having the specified key does not exist" anyone guides me for the right track…
1
vote
2 answers

Magento 2 Varnish caching per instance

I have a Magento v2.2.6 webshop running and I want Varnish on that. Now I installed Varnish and it seems to be active. But I have a (big) problem. How Varnish should work is that it caches pages as soon as one person loads the page/files. The…
1
vote
2 answers

How to display my logo in panel wrapper instead of actual position in Magento 2.3?

I want to display my logo in panel wrapper instead of actual position in Magento 2.3. How can I do that? Something like instead of
somutesting
  • 289
  • 1
  • 5
  • 17
1
vote
0 answers

Magento 2 - Display Regular price, special price and %discount

I am trying to achieve this thing: Showing the current regular price of a configurable product, and next to it the special price and the percentage of discount applied. Apparently i can't get over it, and i swear i did google and search a lot…
marcob
  • 11
  • 3