Some modules implement hook_form_alter and modify any form that matches 'uc_product_add_to_cart_form_####'. The uc_ajax_cart module does not send the proper form_id in the uc_ajax_cart_add_item function.
The drupal_execute function should be modified to be
drupal_execute($data['form_id'], $formValues, $product );
| Comment | File | Size | Author |
|---|---|---|---|
| uc_ajax_cart_form_id.diff | 430 bytes | jeffmace |
Comments
Comment #1
pieterdcThis also fixes it for me.
Thanks @jeffmace
Comment #2
stewart.adam commentedThanks for this, committed.