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
Comment #1
gordon commentedI have fixed this issue thanks, and also I have developed a test so this will not break again.