commerce_shipping_best_method
Please use Commerce Shipping Best Rate instead!
Originally, we wanted this to be a more lightweight solution to "Commerce Shipping Best Rate", where we simply show one shipping method with its rate on checkout.
The problem with this is, that the "ShippingEvents::SHIPPING_RATES" event only has access to the rates of its shipping method, not all shipping rates. This way, we can not simply show the best price, as we can't compare them.
Other events like "ShippingEvents::FILTER_SHIPPING_METHODS" also exist, but seem to fire to early, although this isn't 100% confirmed.
We also can not simply alter the shipping method form as:
- It isn't its own pane form, its part of the "shipping information" pane form.
- There is currently no way to simply alter individual pane forms, see https://www.drupal.org/project/commerce/issues/3201864.
Features
Here, answer the following questions: What is the basic functionality? What unique features does enabling this project add? When and why would someone use this module? What use cases are there?
Post-Installation
How does this module actually work once I install it? Should I go to a config page? Should I look for a new content type? Should I go and manage my text formats? Provide an overview of the configuration process and any other special considerations for the module.
Additional Requirements
Does this project need anything beyond Drupal core? Include any dependent modules, libraries, APIs, etc., that are required for this project to work.
Recommended modules/libraries
Are there any projects that enhance or improve the functionality of this project?
Similar projects
Supporting this module
Support DROWL's ♥ FOSS work on this module on OpenCollective!
Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!
We're committed to building and maintaining Drupal modules that benefit the entire community.
Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!
If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.
Support our FOSS development ♥️
You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!
Let's make Drupal even better, together!
Development proudly sponsored by German Drupal Friends & Companies:
webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)