Questions tagged [magento24]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

RequireJS - Path to file not in module

Is there a way to load a js file, with RequireJS, that is not within a module, or theme, but still within your project. I had assumed relative pathing would work but when deployed, I get a 404 as the ...
0 votes
0 answers
65 views

Strange AJAX error in Magento 2.4

I developed a module for Magento 2.4 that consumes an API with multiple endpoints and one of them is returning the response as JSON. If I create an AJAX call, the response I will get on the desktop ...
  • 19
0 votes
1 answer
63 views

Magento 2 different routes per store view

I have one online store with two store views, English and French. How can I add different routes per store view in a custom module on a Magento 2.4 store, following the attached example? EN: www....
  • 95
0 votes
1 answer
66 views

Risks of updating composer from 1.10.24 to 2.1.0 on a Magento 2 instance

I want to update Magento from 2.4.1 to 2.4.4-p2 and I need to do other updates first, including updating the Composer from 1.10.24 (current version) to at least 2.1.0. The issue is that my production ...
  • 19
1 vote
1 answer
185 views

Magento 2.4.4: How to get Configurable child product id using Swatch option

How can I get the child product Id of Configurable product on selecting swatch option. I have used following code <script type="text/javascript"> requirejs(['jquery','underscore'], ...
0 votes
0 answers
30 views

Magento 2.4.5: Abstract class does not see another class?

I'm working on fixing one of the plugins that stopped sending emails. It uses: use Magento\Framework\Mail\Template\TransportBuilder To send email: $transport = $this->transportBuilder->...
  • 17
0 votes
0 answers
21 views

How to create custome picking shipping method in magento2

Create a 'picking shipping method' and on checkout when customer select picking shipping method on checkout display custom message after shipping methods list
  • 3
1 vote
3 answers
588 views

Magento 2 How to use header variable in resolver?

I have created one graphql extension for customer OTP send and verify for login with OTP in the project's POS app. There are two requests When POS app request OTP with customer_id and pos session_id, ...
0 votes
1 answer
91 views

Pagination not working fine after filter product collection

We have created two attribute set inside admin area one is default attribute set. From default attribute set, we have created one more attribute set that is "migrated" which id is "101&...
0 votes
2 answers
364 views

magento 2.4 get scoped store id (or website id) for button in system config section

I need a button in stores > configuration that retrieves product data for the store view selected in the "scope" of the configuration. I created the button but I cannot retrieve the store ...
  • 309
1 vote
1 answer
1k views

Magento2 bin/magento setup:upgrade taking too long time to complete

I have 2 different servers and same magento243 setup in both server. and in one server setup:upgrade is completed fast but in another server it takes approx 15 minutes to complete upgrade command. ...
3 votes
1 answer
1k views

Magento 2.4 Checkout error Failed to load the "Magento_Checkout/shipping" template

I've some error console bus in checkout page when upgrading core. Does anybody know where this bug is from? Failed to load the "Magento_Checkout/shipping" template requested by "...
  • 103
0 votes
2 answers
143 views

how to override elementTmpl for billing address fields properly in checkout_index_index.xml?

I would like to change the way the company field is rendered in the billing address and I'm trying to apply a new elementTmpl that I've defined and works well for shipping address fields. Here's the ...
  • 581
0 votes
1 answer
218 views

Magento 2 checkout input field remove CSS class

I want to remove control css class and add custom css class. Thanks advance!!
0 votes
2 answers
1k views

The "--remote-storage-driver" option does not exist Magento 2.4.1

I'm trying to set AWS S3 to storage magento media, but when I follow the tutorial in official Magento Page here the bin/magento setup:install --remote-storage-driver=aws-s3 an error shows in terminal:...