Commerce Shipping on Review Page
Categories
Component ID
2851962
Component name
Commerce Shipping on Review Page
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
164
Component created
Component changed
Component body
This module addresses a shortcoming in Commerce Shipping that causes the final order total to be inaccurate if the choice of shipping option is put on the final "Review" step of checkout.
This can be useful if, for example, you're attempting to reduce Drupal Commerce's typical four step checkout into two or three steps instead.
Once installed and enabled, this module exposes the following two new rules events:
- Commerce Shipping: Selecting the default shipping service - Invoked when the user is entering the Checkout review step, to control which shipping option is applied by default. This is not invoked again unless the user leaves and re-enters the review step.
- Commerce Shipping: After selecting a shipping service - Invoked each time a user makes a choice of shipping option.
In addition, this module automatically overrides the pane callbacks for both Commerce Shipping and Commerce Cart to ensure that the order total includes shipping. The shipping amount is also automatically updated via AJAX whenever the user chooses a shipping option.
