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
1 answer

Add increase / decrease buttons to Magento 2 Minicart

I want to enable the user to increase/decrease the quantity inside the minicart on button click. 1. I added two new buttons to the Magento_Checkout/web/template/minicart/item/default.html
1
vote
0 answers

Uncaught TypeError: this.validateHandler is not a function Magento2.3

I am upgrading from Magento 2.2.7 to Magento 2.3 I checked after upgrading the code, My place order button at checkout page is not working.When i clicked on Place Order button, I found the below error. iframe.js:117 Uncaught TypeError:…
Prince
  • 401
  • 1
  • 7
  • 34
1
vote
2 answers

Need to return JSON with keys through Magento 2 webapi, but M2 removes first-level keys

I want to return JSON from M2 via webapi But M2 removes first-level keys Why is it happens? Is it feature or bug? Can it be ignored? Magento 2.3.2 In webapi.xml
pavdan
  • 31
  • 1
  • 4
1
vote
0 answers

Unable to serialize value. Error: Malformed UTF-8 characters, possibly incorrectly encoded

Getting "Unable to serialize value. Error: Malformed UTF-8 characters, possibly incorrectly encoded" error on admin panel while logged-in. We have upgraded the magento version from 2.0 to 2.3.2 1 exception(s): Exception #0…
Annu
  • 11
  • 3
1
vote
2 answers

Magento2 How to update product information programmatically (PHP Script)?

I tried to update all product information by product id but it's not working for me for all information. With below code "SKU" update successfully but unable to update other information like product name and other custom attribute value. How can I…
gunjanparekh
  • 11
  • 1
  • 3
1
vote
2 answers

Magento 2 - Extra category description below product listing

I need to display a category description ABOVE + BELOW the product listing. The description above is supposed to be a short, but the description below is a long description for SEO purposes. I don't want to display a long description on top, as…
Jason
  • 439
  • 1
  • 6
  • 21
1
vote
0 answers

What is the replacement for 'require_once' in PHP for Magento2 to resolve CodeSniffer test issue in Magento store?

I'm a beginner at PHP and Magento have developed a Magento2 extension and used this line code in it: require_once '/../knownuserv3/KnownUser.php'; But when I tried to put my extension in Magento Store, I got a series of test failure from Code…
S.Cheginy
  • 424
  • 2
  • 15
1
vote
0 answers

How to add an Image element for the new PageBuilder content-type in Magento2?

So I have created a new content-type PageBuilderQuote for PageBuilder following the documentation here https://devdocs.magento.com/page-builder/docs/create-custom-content-type/overview.html , however all the elements added are textarea, input and…
1
vote
1 answer

magento 2 export not working , after clicking continue its redirect to the dashboard

Product CSV created in var folder but it's not getting the download. Or CSV file shows 302 error. I tried all the solutions given for not working export. is there any other way? 1.expected result: It should download a CSV file 2.actual result: It…
1
vote
1 answer

How to Access Magento Rest API in iOS swift 4

I am write code to post data from Magento REST API for IOS Application put get me error. I try from login and register view controller in the same code get me the same error The api Magento REST API . I success to get data from api but error to…
1
vote
1 answer

cURL error 35: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

I have installed magento cloud CLI on my local machine when I run magento-cloud the welcome note is showing but there is curl error after the welcome note. I try different solutions like update curl,ssl, etc. but still nothing happen.
magekonect
  • 81
  • 1
  • 3
1
vote
1 answer

Upgrade Magento 2.2 > 2.3.2 - Type Error occurred when creating object: Magento\Framework\Communication\Config\Data

Upon Magento 2 upgrade 2.2.x -> 2.3.2, after running the deployment command php bin/magento setup:upgrade I am presented with the following error: ...... Module 'Magento_AdvancedPricingImportExport': Module 'Magento_Directory': Module…
Chris Rogers
  • 1,525
  • 2
  • 20
  • 40
1
vote
0 answers

Extra image adding while adding products in magento admin

In magento 2.2.5, while adding new product, another product image adding to that product, and getting issue. Can you please help me out how to solve this issue
lalith222
  • 309
  • 5
  • 16
1
vote
0 answers

How to pass tech review while submitting extension - Varnish error

While submitting an extension compatible with Magento 2.x, it failed the Technical review, and the test reports show this error: Command: Varnish PageCache Test Output: Cannot update product…
1
vote
0 answers

Magento 2 Rest Api as JSON

i need to return the response of custom web api as JSON. i need it to be like this: { "data": [ { "id": "1", "name": "Tiger Nixon", "position": "System Architect", "salary": "$320,800", "start_date":…
Zorox
  • 2,040
  • 2
  • 21
  • 28