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
0 answers

Magento 2 Min - max product attributes query

How do I filter using two separate product attributes? Say I have two attributes assigned to products min-height and max-height and I want to use the URL query to return all the products contained in the limits but not the products where they…
DohMoment
  • 117
  • 2
  • 8
1
vote
1 answer

Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration

I am getting this error when attempting to install Magento locally: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration. When running "app:config:import" nothing is resolved, when…
Francisco Ruiz
  • 101
  • 2
  • 8
1
vote
0 answers

How TO Get categories image in rest api magento 2?

I am Using this api URl "www.mydomain.com/rest/V1/categories" but can't show the categories image how to add image key in rest api please help me.
1
vote
1 answer

how to move billing address before payment method list using CSS magento 2?

I tried too much in vender but don't able to change the position of billing address on payment page. I copied vender/magento/module_checkout/view/frontend/web/template/payment.html file and putted at my…
Rohit Chauhan
  • 356
  • 1
  • 14
1
vote
2 answers

Magento 2.3 debug Path Hints dont show

I enabled Magento's frontend debug path hints but they are not showing. Infos: - Magento 2.3.0 with Porto Theme - Php 7.2 - Already tested to change Magento Single Store MOde and Multistore Mode - Already made di:compile - Already tested blank Dev…
1
vote
1 answer

How to setup PayPal Pro to get payment through Debit/Credit card directly from website in Magento 2?

The required solution for UK customer. Magento 1 comes with Debit/Credit cart option with PayPal. If we want the same thing then how can we achieve? Please check this video for Magento 1 PayPal Pro Payment…
1
vote
3 answers

Quickbooks PHP SDK OAuth2, How to get and store access / refresh tokens

I have a Magento 2.3 store that I'm trying to sync some data to Quickbooks Online. I've created a QBO App but this is my first time using oauth and I'm a bit confused on how to store and use the access / refresh tokens. According to Quickbooks doc…
AJK
  • 391
  • 9
  • 27
1
vote
1 answer

How to add multi line comments in knockout js

How to add multi line comments in knockout js in magento Such as we have add single line and multi lines comments on other languages.
Amit
  • 31
  • 2
1
vote
0 answers

whats is wrong when i tried to insert a custom attribute programatically?

I have the following code :
FlávioD
  • 11
  • 2
1
vote
0 answers

ifconfig and after not working after update Magento from 2.1.2 to 2.2.7

I updated the magento from version 2.1.2 to 2.2.7. When i want to go to the product page then i see this error: Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceContainer', attribute 'before': The attribute…
baca1616
  • 33
  • 7
1
vote
2 answers

Magento 2 collection loads before setting page limit

I'm getting memory exhaustion error when executing mass action on a model with large amount of records. I'm trying to optimize this by setting an limit on the collection, however it seems that the full collection is loaded before the limit is even…
1
vote
1 answer

Magento 2 Installation, 404 Files

After the installation of Magento 2 I get some errors. I share the screenshot of the error below. The error is exactly. Error: Magento is first installed with version folder. Example: pub/static/versionxxxxxxx/ A sample url…
Secrax
  • 13
  • 3
1
vote
1 answer

How Magento 2 handles images on frontend?

There are many elements in magento 2, where we can attach and insert images. So, how Magento 2 handles all type of images on frontend ? How it effect on performance ? Any help, suggestion, tricks and tips for Magento 2 images handling.
1
vote
2 answers

Magento 2 Can't Install Sample Data

Magento 2 Sample Data suddenly stopped at this junction @ "Module'Magento_DownloadableSampleData':" during installation. Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3449720 bytes) in…
1
vote
0 answers

Unable to override account creation email template

I need to modify the welcome email sent to user upon new account creation. I need to do this in my custom module. I tried to override the function sendNewAccountEmail in Magento\Customer\Model\Customer using preference method and also using plugin…
sreelakshmi
  • 264
  • 4
  • 18