Hi,

We are using the drupal commerce module alongside this module. On our search pages we have noticed huge slow downs due to the module.

The issue is we have a lot of add_to_cart forms displayed on the page. And each of these forms have a unique id which forces the module to do a new query for each form.

Could it be possible to add a hook so that we might prevent some forms to be taken into account? The current variables for the job doesen't allow for dynamically cheking the forms.

For now I am using the fallowing horrible code in a form_alter of forms I don't wish to validate but it is ugly. Atleast it cuts nearly by half the loading time of some pages so it does work as intended.

  $conf['clientside_validation_validate_all'] = CLIENTSIDE_VALIDATION_VALIDATE_ALL_EXCEPT;
  $conf['clientside_validation_validate_specific'] = $form['#form_id'];

Thanks,

Comments

oliverde created an issue. See original summary.

AaronBauman’s picture

Status: Active » Closed (duplicate)