[SOLVED][Drupal Commerce] Fields of Add to Cart form disappear when adding a new product after an upgrade

| | 1 min read

A number of Drupal users were facing a situation where the Fields of the Add to Cart form disappear when adding a new product after upgrading the Drupal Commerce module to version 1.4. If you are facing the same situation with Drupal Commerce in your Drupal site then read on to find out the fix.

Here is the solution provided by a Drupal user who had been facing the same problem with their Drupal Commerce Module.

  • The problem seems to be with the current database language settings.
  • You can fix it by running.
    update commerce_product set language='und' where language!='und';
  • followed by a similar query for the field:
    update field_data_field_blabla set language='und' where language='nl';
  • Just replace the value of the language attribute to und where it is not currently set

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.