Hi,

I recently installed the module and I get the following error as soon as I choose a quantity (of 1) and select "Add to cart":

Fatal error: Call to undefined function commerce_cart_product_add() in /Users/storm/Sites/outsourcelogic/sites/all/modules/commerce_add_to_cart_extras/commerce_add_to_cart_extras_handler_field_quantity.inc on line 196

I only have one commerce product setup for testing purposes.

Any help in this matter will be appreciated.

Comments

Stormvdm created an issue. See original summary.

Stormvdm’s picture

Issue summary: View changes
Stormvdm’s picture

Issue summary: View changes
joelpittet’s picture

Looks like we don't have a dependency on commerce_cartwhich is where that function is defined.

  • joelpittet committed bcd9633 on 7.x-1.x
    Issue #2865062 by Stormvdm, joelpittet: Fatal error: Call to undefined...
joelpittet’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Active » Fixed

Put the dependency in the latest dev.

Status: Fixed » Closed (fixed)

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