I am using Zen Cart to handle the ecommerce and user management functions of a website I am building for a client. It is fairly well integrated already but I keep running into a problem that I have so far been unable to solve.
I would like to be able to display sideboxes from Zen Cart in other areas of the website. Specifically I would like to keep the Shopping Cart Sidebox available to users as they navigate the rest of the site. As it stands now, both the custom application that I have developed and Zen Cart reside under the same domain in different directories and share the same PHP session.
My current line of thinking is to load the class definition for the "cart" object (cart is how it appears in the session array) so that I can call the methods in the cart object. Right now without knowing how to accomplish this I get the __PHP_Incomplete_Class Object message when viewing the session vars from the non Zen Cart portion of the site.
Can anyone tell me how to load the Class definition necessary to call the shoppingCart methods from a different directory under the same domain. I realize this is not going to necessarily be a preferred method of handling the situation and am prepared for a little hackery to accomplish it but would greatly appreciate help.



