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

Magento 2 on closing modal window prevent page from scrolling back to top

guys, I am using Magento model for popup when I close the model it scrolls to the top. Anyone know how to stop scrolling top. I want to stay where I close the popup. I am using default settings and default close button
1
vote
0 answers

Magento 2 passing Level 2 Data to Authorize.net

In Magento 1.9.x, while using the core Authorize.net Direct Post payment method, "Additional Details - Level 2 Data" was sent from Magento to Authorize.net when an order was authorized and captured. "Additional Details - Level 2 Data" includes Tax,…
Petrofy
  • 11
  • 1
1
vote
0 answers

Why Magento 2 language switcher doesn't change store view?

I'm using Magento 2.2.6 with porto theme. My store has three store views: en, it, fr. For en and it there aren't problems, but for fr when I try to change language sometimes it doesn't work and append '#' to URL. Here is my code for language…
ortoDev
  • 11
  • 1
1
vote
0 answers

how to keep same url structure for our new magento website

how do we keep same URL structure for my new Magento 2 website ex if we have this URL https://www.papilior.com/jewellery/earring/diamond-earrings in our existing site.how do we keep same in a new store.
Papilior
  • 11
  • 1
1
vote
1 answer

Valet-plus : how to install mcrypt with php7.2 or php7.1

Pre-Condition Magento 2.2.6 Mac Os Php7.1 or Php7.2 main.CRITICAL: Warning: Use of undefined constant MCRYPT_BLOWFISH - assumed 'MCRYPT_BLOWFISH' (this will throw an Error in a future version of PHP) in …
1
vote
0 answers

Magento 2 filterBuilder left join

I'm trying to filter product collection with multiple OR filter with this code : $values = ['xxx','xxx']; $filters = []; $filters[] = $this->_filterBuilder ->setField('field_a')->setConditionType('in') ->setValue($values) ->create(); $filters[] =…
dharth
  • 179
  • 4
  • 12
1
vote
1 answer

How i can get values order by the count of distinct values

I want to get those Product in ascending order who number is greater in mysql order_id | product_id 1 | 13 1 | 12 1 | 24 2 | 14 2 …
Waqar Ali
  • 163
  • 13
1
vote
0 answers

Minimal symbols amount for data upload in autocomplete

I'm trying to create city autocomplete in checkout, but the problem is that amount of data that being sent is too large. So i was thinking about uploading data only after certain amount of symbols typed in field, lets say 3. But I don't know how to…
1
vote
0 answers

Adding custom/extension attribute to shipping/billing address :: js set-shipping-infromation-mixin.js error

Magento 2.3.1 I referred to the following link for adding a custom/extension attribute to the shipping address https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_new_field.html However, when I pressed 'next' to go Review & Payments…
PhantomS
  • 420
  • 4
  • 14
1
vote
0 answers

How to correctly add an extra charge to a Magento 2 order's total amount?

We're using a custom module to calculate an amount we need to include in the grand total of the order, i.e. the customer will be charged for the product PLUS this custom amount, but it's getting set as Due Total and Stripe only receives the original…
porras
  • 21
  • 6
1
vote
1 answer

Buttons with no background from missing css file

Buttons on the website are missing their style and that turns them invisible all thought they are still there but white and the customers can't see them. The error is Mixed Content: The page at 'https://.com/mazhe/obleklo/dolnishta.html' was loaded…
1
vote
1 answer

Get saved value from browsers

How to get saved value from browsers in jquery,Im Using this script. require(['jquery', 'jquery/jquery.cookie', 'jquery/ui'], function($){ setTimeout(function(){ console.log($('input#email').val()); var subjectLength =…
1
vote
3 answers

Magento 2.3.1 Authorize.net Payment Method - The authenticity of the gateway response could not be verified

When you place an order using Authorized.Tet as a payment method on Magento 2.3.1 this error shows up "The authenticity of the gateway response could not be verified" Can someone enlighten me what this error is all about and help me fix this…
heartexcel
  • 11
  • 3
1
vote
0 answers

Magento REST API - "Specified request cannot be processed" Error

I've done some integrations with the Magento REST API successfully, but working with a new customer and I have created the integration and generated the Access Token with access to All resources. The store is running Magento 2.2.5. Whenever I make…
user982124
  • 4,416
  • 16
  • 65
  • 140
1
vote
0 answers

How to get option from child product(simple) in magento 2

I am working in magento 2.2.5. I need to get all option from child sku. For example : I have sku MH02-L-Purple I need to get that selected option from this sku. Result should be : Color: Purple Size : L
David Coder
  • 1,138
  • 2
  • 14
  • 48