checkout.tpl

The checkout.tpl template is shown when the user checks out from the cart. It is a page to enter their information - name, address, phone, etc.

Variables

<!--address_1-->
Field for the first line of the address.

<!--address_2-->
Field for the second line of the address.

<!--checkoutbutton-->
Display the checkout button to allow the client to continue. This variable is blank if the cart is below the minimum value set in options.

<!--checkout_err-->
If there was a problem with the form during submission (name missing, etc) this will display the error. Otherwise it will be blank.

The error message is styled with the CSS class pb_errormessage allowing you to style it to match your site. The error messages themselves are in the language files and can be edited using the theme editor.

<!--city-->
Field for the city.

<!--couponcode-->
A field for the client to enter a coupon, if they have one.

<!--email-->
Field for the email address.

<!--form_close-->
HTML code to close the form. This must come after the field variables.

<!--form_open-->
HTML code to open the form. This must come before any of the field variables.

<!--js_selectname-->
JavaScript code to auto select the name field when the page is loaded.

<!--name-->
Field for the client to enter their name.

<!--phone-->
Field for the phone number.

<!--selectshipping-->
A drop down list of all shipping options. This will also display the shipping price.

<!--selectshipping_byprice-->
Same as selectshipping, but sorts the list based on price rather than alphanumerically. Available starting in version 0.6.

<!--selectshipping_noprices-->
Same as select shipping, but does not show the prices. The client will still be charged shipping based on the shipping methods you define in your settings.

<!--state-->
A drop down list of all the states in your database.

<!--zip-->
Field for the zip code.

Leave a Reply