You are here

function commerce_multicurrency_selector_form_submit in Commerce Multicurrency 7

Submit handler for the currency selector block form.

File

./commerce_multicurrency.module, line 401
Enhancements for the commerce currency support.

Code

function commerce_multicurrency_selector_form_submit($form, &$form_state) {
  commerce_multicurrency_set_user_currency_code($form_state['values']['selected_currency']);
}