signalpoint / commerce

The Drupal Commerce module for DrupalGap.
8 stars 10 forks source link

No product id #12

Closed ssj1053 closed 8 years ago

ssj1053 commented 8 years ago

Hi there,

I'm newbie on drupalgap programming. I've followed most of the tutorials posted and they were perfectly understandable, never had any problem. But this time, while trying to make "Build a Mobile App to Sell Products with Drupal" from (http://tylerfrankenstein.com/code/build-mobile-app-sell-products-with-drupal), I've got some problems that I can't solve.

When we display the products list, we get this message at the console:

WARNING: theme_view() - No id specified on attributes! A random id will be generated instead.

Later when we press the "add to cart" button:

WARNING: drupalgap_entity_get_core_fields - Unknown anonymous comment setting (beer): 0 drupalgap-7.x-1.3.min.js:175 WARNING: theme_undefined() does not exist. Called by: drupalgap_render_page().

WARNING: _commerce_line_item_add_to_order - no product_id

We have tried many ways to solve it (dpms, fields, changing our drupal views etc) but it has been impossible to fix it.

Any help would be greatfully welcome. Here are some screenshots from our console:

image

image

image

image

image

image

signalpoint commented 8 years ago

@ssj1053 Thank you for the thorough debugging and screenshots. I have committed a fix for the WARNING: _commerce_line_item_add_to_order - no product_id, please create separate issues for any remaining problems.