Shipping Page Template: Required Tags
This example shows only the essential tags for a Shipping Page in a shopping cart template; it is not a fully functional template and produces no visible output. Your template must have these tags in this order for the shipping page to function. Of course, your template will also have tags for shipping and billing addresses and other elements, but you must have the framework shown here to get started.
Next: Confirmation Colors
- A Shipping Page template must start with [-- DEFINE Shipping --] and it must end with [-- END_DEFINE Shipping --]. (Note that the other cart pages are defined in the same file, but that isn't shown in this example.)
- The opening <html> and closing </html> tags are inside the [-- DEFINE Shipping --] and [-- END_DEFINE Shipping --] tags.
- The shipping page is an HTML form. You must include the [-- SC_Form --] tag -- which produces the opening <form> tag with the necessary attributes -- near the top of the <body> section of the template, and you must put a </form> tag near the end.
- The [-- ShopSiteMessages --] tag will produce any error messages, such as telling the customer that they must fill in required fields. It will not produce anything if there are no errors or messages for the customer.