Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mixin instead of map #14

Merged

Conversation

Coosos
Copy link
Contributor

@Coosos Coosos commented Feb 19, 2021

Description

Use mixin instead of map, bacause map prevent to use mixin on select-payment-method. (Example: Native Magento Sales rule add mixin on select-payment-method from 2.3.x)

  • Test require.define('Magento_SalesRule/js/action/select-payment-method-mixin') for avoid calling the server several times to indicate the payment method. From 2.3.x, magento send already payment method and update totals.

@mageprince mageprince merged commit e7f84f1 into mageprince:master Feb 20, 2021
@mageprince
Copy link
Owner

mageprince commented Feb 20, 2021

Hi @Coosos, thank you for your contribution. We will add this improvement in the next version of the module on Magento Marketplace.

@Coosos Coosos deleted the feature-use-mixin-instead-of-map branch February 20, 2021 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants