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
'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?
Turns out I was kicking myself on this one. I forgot I had some custom
hook_js_alter code in my
template.php that removes unnecessary js from the page for anonymous users. This was done to improve site speed and because my custom theme didn't require these default Drupal js libraries.
request_path() check for
cart pages so the js would not be
I confirmed the My Shipping information is the same as my Billing information checkbox now works for anonymous users.