Zen Cart Logo
Forums / General Questions / class shoppingCart as inventory

class shoppingCart as inventory

Locked

Views: 881

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
6 Feb 2007, 6:14 PM
#1
david_bo avatar

david_bo

New Zenner

Join Date:
Oct 2006
Posts:
23
Plugin Contributions:
0

class shoppingCart as inventory

Can I override shoppingCart?

I want to modify the class so the method "reset" doesn't remove products of a certain type ("rental_product"). Only the customer can remove these products from the cart.
Then I can have a script which every month generate an invoice based on the products of that type in the cart.

What other modification to the the shoppingCart am I supposed to do in order to make that work?

The reason why I want to use shoppingCart also for inventory is that it handels attributes and pricecalculation so nicely.