1
Answers
Vote up!
0
Vote down!

Checkbox to make billing information same as shipping information does not work for Anonymous users

For Anonymous users, the **My Shipping information is the same as my Billing information** checkbox doesn't reload the Shipping Information checkout pane.

I have the checkbox working for authenticated users, but when an anonymous user is going through checkout, the ajax callback never fires. The `#element_validate` function `'commerce_customer_profile_copy_validate'` is never called. The `#ajax['callback'] => 'commerce_customer_profile_copy_refresh'` is never called.

Watching the network tab in Chrome, the ajax request is never fired.

The checkbox is checked by default and nothing happens when I un-check it. The Shipping Information pane doesn't expand and show the shipping information form fields via ajax.

Is there some permission I'm missing that would allow anonymous users to use this checkbox?

Wesley Musgrove
Asked by: Wesley Musgrove
on April 22, 2015

1 Answer

Vote up!
0
Vote down!

In my case it only works using JQuery 1.5... (authenticated or not), but I need JQuery 1.10 in a language selector...

Answer by: Johnny
Posted: Sep 9, 2015