I want to use zen cart as a checkout only, but still display the customers basket total on other pages (which may be hosted on other servers). Is there an easy way to get this information, perhaps a stand alone shopping_cart.php style file?
(and a more convoluted version)
Hello
I'm developing a site for a company with a handful of products that will be sold worldwide. I only need basic client side ecommerce features and would like to keep the design clean.
The index page will be a dispatcher where the customer can select their region from which will take them to a page hosted in their region (i.e uk.company.com or company.co.uk). I don't want to install zen cart on each server.
I'd like to have just plain PHP pages so I can have total control over the look of the site and then when they funnel all customers through to the checkout which will be hosted on our central server at checkout.company.com
So far so simple, however I would like on the regional pages (plain PHP hosted on another server) a total number of products/value of products in the basket to be displayed.
To do this I'm planning on having a script on the regional servers which contacts the central server to get that information and display using AJAX (so that any lag time doesn't stop the actual page being displayed only the totals)
Before I start to reinvent the wheel is there any kind of stand alone PHP script which I can use to query the database to get basket total? It should be pretty simple I'd have thought.
Many thanks



