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

Matrixrates compatibility #723

Open
Kroellie opened this issue Oct 24, 2022 · 1 comment
Open

Matrixrates compatibility #723

Kroellie opened this issue Oct 24, 2022 · 1 comment
Labels
compatibility Compatibility issues

Comments

@Kroellie
Copy link
Contributor

Kroellie commented Oct 24, 2022

What problem does this feature solve?

We have a matrix rates module where some methods are not eligible to display the MyParcel deliveryoptions. For example: stamp or store pickup. If the conditions of the cart enforce usage of such method, the deliveryoptions still get displayed, for example like:

store pickup: 5,00 EUR
postnl ophaal locatie: 5,00 EUR
handtekening voor ontvangst: 5,45 EUR
PostNL bezorging met alleen huisadres en handtekening: 5,75 EUR
etc. (the whole list)

I want to be able to remove the deliveryoptions of MyParcel for those specific methods, how can I do that? (preferably with JS) so that the end result above will only display:

store pickup: 5,00 EUR

What should the solution look like?

I want to have a piece of javascript which shows/hides the MyParcel deliveryoptions screen.

Relevant log output

No response

Additional context

No response

@RichardPerdaan RichardPerdaan added the compatibility Compatibility issues label Nov 4, 2022
@Kroellie
Copy link
Contributor Author

Kroellie commented Jan 3, 2023

@RichardPerdaan I get the feeling that waiting for compatibility will take a long time. While actually my question is rather simple: how do I hide the delivery options screen with javascript? It is displaying with javascript, so I would think hiding them would also be possible?

I'm not looking for a full-fledged integration with my matrix module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility issues
Development

No branches or pull requests

2 participants