CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 Appendix Search

CubeCart Version 4 Documentation - gateway.tpl

Google Translate:

gateway.tpl

Description

Step 3 of the checkout process. Gateways enabled in the Admin > Modules > Gateways section will display here.

Template file location

/skins/YOUR_SKIN/styleTemplates/content/gateway.tpl

Control file location

/includes/content/gateway.inc.php

Classic skin template output screenshot


Basic template structure

<!-- BEGIN: gateway -->

<!-- BEGIN: cart_false -->
          Page view is not valid.
<!-- END: cart_false -->

<!-- BEGIN: cart_true -->
          Displays valid gateway page.

     <!-- BEGIN: ec_pay -->
              Express checkout.
     <!-- END: ec_pay -->

     <!-- BEGIN: choose_gate -->
          Select a payment gateway to use.
         <!-- BEGIN: gateways_true -->
                  Valid gateway, and comments form.
         <!-- END: gateways_true -->

         <!-- BEGIN: gateways_false -->
                  Invalid gateway.
         <!-- END: gateways_false -->
     <!-- END: choose_gate -->

     <!-- BEGIN: transfer -->
         <!-- BEGIN: auto_submit-->
                  Forwards to payment gateway, with progress image.
         <!-- END: auto_submit-->
         <!-- BEGIN: manual_submit-->
                  Payment form using gateway module.
         <!-- END: manual_submit-->
     <!-- END: transfer -->

     <!-- BEGIN: affiliate_code -->
              Affiliate code.
     <!-- END: affiliate_code -->

<!-- END: cart_true -->

<!-- END: gateway -->




Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.