Screen: ShopSite > Merchandising > Custom Templates
A shopping cart template defines the layout and elements of the shopping cart pages for a store. The template actually defines five separate pages in one file:
A template contains standard HTML tags to specify the layout of each page and ShopSite custom template tags to specify the shopping cart elements that are to appear on each page, such as the shipping address and payment method.
A shopping cart template uses fewer custom template tags than a page or product template. However, the amount of information produced by some of the tags can vary quite a bit, depending on options set by the merchant and selections made by the customer. Because of this, you have to construct the HTML layout carefully, and you should test your template thoroughly to make sure everything looks as expected in all situations.
If you do not have experience with ShopSite, you should become somewhat familiar with it before designing a shopping cart template. Place some orders using a ShopSite demo stores to see what information is gathered and displayed on the different cart pages.
Look over the custom template specification to see the tags that are available. It will be one of your primary references while creating templates, or you can use the short version once you have the hang of it.
Study these example shopping cart templates and resulting HTML pages. You can even copy any parts of these examples and paste them into your own template.
Shopping Cart Page | Shipping Page | Confirmation Page, Thank You Page and E-Mail Receipt |
---|---|---|
Required Tags
Page Colors Title, Header, and Footer Product Listing Tax and Shipping Surcharges Totals Coupons Buttons Ordering Instructions Payment Selection |
Required Tags
Page Colors Title, Header, and Footer Products and Totals Comments Addresses Payment E-Mail List Custom Checkout Fields Buttons |
Required Tags
Page Colors Title, Header, and Footer Order Number Products and Totals Ordering Instructions, Comments, and E-Mail List Addresses Payment Custom Checkout Fields Buttons |
Use an HTML authoring program or a text editor to create a shopping cart template.
Once you have your template complete (or at least ready for testing), you need to upload it into your store.
You can also use FTP to upload the template to the correct directory. Keep these points in mind:
You probably don’t want to test your template in a live store. Create a test store in which you can place test orders to see all aspects of the shopping cart pages.
<!-- VAR ASPARAGUS IS NOT DEFINED -->
Make any necessary changes and test the template again, then tell the merchant that it is available. The merchant should be able to select the template from the Commerce Setup > Order System > Layout screen.
ShopSite Help and Resource Center Give Feedback |
© 2007, ShopSite, Inc. ShopSite Shopping Cart Software |