I love this module so far it has been able to deal with anything a client throws at me, great work.

I came across a great feature controlled by the variable commerce_shipping_pane_require_service, if this is set and no valid shipping options are available the user can't complete checkout and is displayed a msg:

No valid shipping rates found for your order, and we require shipping service selection to complete checkout.
Please verify you have supplied all required information or contact us to resolve the issue.

you can easily configure this by adding somewhere in code (I use hook_init) the line

 <?php
 variable_set('commerce_shipping_pane_require_service', TRUE);
?>

however it would be good to have a UI for this and possibly any other configurations (if those exist).

Comments

googletorp’s picture

Status: Active » Closed (works as designed)

Hi Guy.

It's possible to set this, in the shipping pane, located at admin/commerce/config/checkout/form/pane/commerce_shipping

Since this setting is directly related to the pane itself, I find that it makes sense to have the setting in the pane itself. This is also how the payment module does, which has a very similar setting.

Feel free to reopen the issue, if you find that this solution is lacking somehow.

guy_schneerson’s picture

@googletorp you are a star :), it is the perfect place for it.