menu

SiteGenesis / Server-side JS / Module: controllers/COSummary

This controller implements the last step of the checkout. A successful handling of billing address and payment method selection leads to this controller. It provides the customer with a last overview of the basket prior to confirm the final order creation.

Source:

Members

(static) Start

Source:
See:
  • module:controllers/COSummary~Start

(static) Submit

Source:
See:
  • module:controllers/COSummary~Submit

Methods

(inner) showConfirmation()

Renders the order confirmation page after successful order creation. If a nonregistered customer has checked out, the confirmation page provides a "Create Account" form. This function handles the account creation.

Source:

(inner) start(context)

Renders the summary page prior to order creation.

Parameters:
Name Type Description
context Object

context object used for the view

Source:

(inner) submit()

This function is called when the "Place Order" action is triggered by the customer.

Source: