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 );
CommentFileSizeAuthor
uc_ajax_cart_form_id.diff430 bytesjeffmace
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PieterDC’s picture

This also fixes it for me.
Thanks @jeffmace

stewart.adam’s picture

Version: » 6.x-2.x-dev
Status: Active » Fixed

Thanks for this, committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.