Hi,
First of all, Thank you so much for the developing this module.
Is there a way that this module will return an error message to the user when there is something went wrong on ajax request?
I'm using hook_form_commerce_cart_add_to_cart_form_alter and alter #validate to made tweaking to the business logic of adding product to cart. Unfortunately I can't return any error message if my business logic doesn't meet the requirements.
Comments
Comment #1
imat90594 commentedComment #2
subhojit777I am using Drupal Ajax API for the Ajax requests. If anything goes wrong I am sure Drupal has exception handlers for it (haven't tested though). Please re-open this issue if you run into some exception.