On the cart view page, no nid in the 'delete' url. See the code:

Index: sites/all/modules/contributions/ecommerce/ec_cart/ec_cart.module
===================================================================
--- sites/all/modules/contributions/ecommerce/ec_cart/ec_cart.module	(revision 11507)
+++ sites/all/modules/contributions/ecommerce/ec_cart/ec_cart.module	(working copy)
@@ -411,7 +411,7 @@
       '#value' => format_currency($item->total),
     );
     $form['products'][$item->nid]['ops'] = array(
-      '#value' => l(t('Remove'), "cart/delete/$nid", array('query' => drupal_get_destination())),
+      '#value' => l(t('Remove'), "cart/delete/{$item->nid}", array('query' => drupal_get_destination())),
     );
     $cart_total+= $item->total;
   }

Comments

gordon’s picture

Status: Active » Fixed

I have fixed this issue thanks, and also I have developed a test so this will not break again.

Status: Fixed » Closed (fixed)

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