#StackBounty: #magento2 #checkout #modal Modal error in checkout

Bounty: 50

In default magento checkout page, mobile version, clicking the minicart icon opens a modal containing cart contents.

When checkout page is loaded for the first time, clicking that minicart icon gives javascript error:

Uncaught TypeError: No method named "openModal"
    at HTMLDivElement.<anonymous> (bootstrap.min.js:6)
    at Function.each (jquery.js:370)
    at jQuery.fn.init.each (jquery.js:137)
    at jQuery.fn.init.o._jQueryInterface [as modal] (bootstrap.min.js:6)
    at Object.show (sidebar.js:24)
    at UiClass.showSidebar (estimation.js:44)
    at HTMLButtonElement.<anonymous> (knockout.js:4255)
    at HTMLButtonElement.dispatch (jquery.js:5226)
    at HTMLButtonElement.elemData.handle (jquery.js:4878)

After refreshing page, modal opens normally.

Modal is defined in file vendor/magento/module-checkout/view/frontend/web/template/sidebar.html:

</div>

Is there any way to fix this and force Magento_Ui/js/modal/modal to load earlier in page? Any ideas?


Get this bounty!!!

#StackBounty: #magento2 #checkout #shipping-methods Remove specific shipping method based on condition in magento 2

Bounty: 50

I have installed a store pick up extension in our website.

This extension showing two option as radio buttons

Collect in Store

Yes

No

So if we select ‘NO’, then in shipping method,

There is an additional shipping method showing like below.

Store pickup 0.00

Can we hide this option from the list if the extension installed is enabled.

In which file we can hide specific shipping method based on condition.

Can anyone help me with the issue.

I need to hide the specific shipping method from the list of options.

Thanks in Advance


Get this bounty!!!

#StackBounty: #checkout #magento2.2 #payment-methods #paypal PayPal All-In-One Payment Solution – Clone to multiple options in checkout…

Bounty: 100

TLDR; Clone “PayPal All-In-One Payment Solution” payment method to have THREE different payment methods in “Payment Options” section of the checkout process.


Magento 2 comes with “PayPal All-In-One Payment Solution” that enables user to pay by PayPal but also by credit/debit card through the same payment method.

When this option is enabled, it shows only ONE payment option in the checkout process. This is understandable, however, I would like to offer more than one payment option in the checkout “Payment Method” section such as “Credit Card”, “Debit Card” and “PayPal” which all go to the same place.

In conclusion, my goal is to create two more radio buttons in the “Payment Method” section of the checkout that mimic “PayPal All-In-One Payment Solution” logic.

To visualise my goal:

Current setup:

PayPal Payment ---- [PayPal Method]

Desired result:

Credit Card ---
Debit Card  ----- [PayPal Method]
PayPal      --- 

I don’t even know where to start so any help or directions will be highly appreciated.


Get this bounty!!!

#StackBounty: #magento2 #checkout #orders #paypal Magento 2 Paypal Express Checkout order on hold

Bounty: 50

I’ve set up a Magento 2.3.0 shop, and as a payment method, I’m also using Paypal express checkout.
The “Payment Action” is set to “Authorization”, and I have received an order a few days ago, the amount is shown in the paypal account on hold, saying “Authorization”.
Is there anything else I should do in order to actually receive the amount?


Get this bounty!!!