Cart32 is capable of creating a cart summary window which can be put on any page to let your customers know what they have in their cart. This article will explain how to create a cart summary window and how to style it.
Creating a cart summary window is actually very easy. In this example we will be using an IFrame, however you can use custom includes and HTML parsing if you wanted a bit more control. Here is some example code that will create a cart summary window for the client TEST on the server http://www.Cart32.com/cgi-bin/cart32.exe:
<iframe width="250" height="100" src="http://www.cart32.com/cgi-bin/cart32.exe/TEST-cartsummary"></iframe>
The code above will create a window 250 pixels wide by 100 pixels high, and it will pull in the response from the URL specified in the src attribute. You can change any of the attributes about the IFrame. You can make it wider or narrower, taller or shorter, et cetera. You can also put the src directly in your browser's address bar to see the cart summary output directly.
The example above gives a good start to a cart summary window, but most customers are going to want to change the way it looks. Here are some styling tips you can use to make your cart summary look more in accordance with your website's design.
Several changes can be made through your Cart32 Administration. To see these options and make changes, follow these steps: