EShoppingCart


(Nosul Jan) #1

Hi, I have a question about EShoppingCart out of yii extension toolbox. It works cool, but Id love to have two instantions of this object within the session, one for the cart, and one for the whishlist. Is it possible?

Cheers


(Nosul Jan) #2

eeh, I solved it in a lame way probably. maby someone will use it. we can pass the key parameter to the init method. than we can use this parameter istead of CLASS variable during saving and reading from session( in restoreFromSession and saveState methods…