sharky92663 Posted December 19, 2005 Posted December 19, 2005 Hi, Can anyone point me to the file(s) that actually calculate the total number of items in the order? Also, is there a contribution out there that allows me to look up each item in the cart? I want to go through each item in the shopping cart and determine if it is within a certain category/group. Any help would be great. JH
boxtel Posted December 19, 2005 Posted December 19, 2005 Hi, Can anyone point me to the file(s) that actually calculate the total number of items in the order? Also, is there a contribution out there that allows me to look up each item in the cart? I want to go through each item in the shopping cart and determine if it is within a certain category/group. Any help would be great. JH $products = $cart->get_products(); $n = sizeof($products); for ($i=0; $i<$n; $i++) { do your stuff } Treasurer MFC
Guest Posted December 19, 2005 Posted December 19, 2005 Hi, Can anyone point me to the file(s) that actually calculate the total number of items in the order? Also, is there a contribution out there that allows me to look up each item in the cart? I want to go through each item in the shopping cart and determine if it is within a certain category/group. Any help would be great. JH You can take a look at the shopping_cart.php file. Have a nice play with it. good luck.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.