New answers tagged

0

The first of all, you should not use preferences to override classes, the preferences should be used only for interfaces https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/working-with-arch-bp.html. There multiple ways of how to add custom Reference Number to request without using preference for TransactionDataBuilder class. ...


0

You can enable free shipping method to your store. So that customer doesn't need to select the shipping method, it will be auto selected.


0

If cart contains only virtual or downloadable product, the cart will be marked as virtual cart, you don't need shipping address. In your case, I think you need the OneStepCheckout. You can google about this keyword. Build your own or buy an extension.


0

Extending the event Manager Magento2 has event manager which fires when a specific event is getting fired. If you want to code less Please also see webhooks inside Magento\vendor\temando\module-shipping-m2\etc\events.xml events.xml <?xml version="1.0" encoding="utf-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...


0

Open the below js file and update as per given below then do compilation and test. File path: vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js Old: define([ '../model/quote' ], function (quote) { 'use strict'; return function (paymentMethod) { if (paymentMethod) { paymentMethod....


1

We have created new extension for paytrace, you can review it here https://www.elsner.com/magento-extension/paytrace-payment-gateway-magento-2/ Thanks


0

I did it through a PHTML which I added in the before.body.end container. I'm loading my JS after the Ajax load on the checkout page using this snippet below. <script> require(['jquery', 'Magento_Customer/js/customer-data', 'domReady!'], function($) { 'use strict'; $(document).ajaxComplete(function( event, xhr, settings ) { ...


Top 50 recent answers are included