Skip to content
lat9 edited this page Feb 22, 2024 · 9 revisions

Welcome to the Wiki for the Zen Cart One-Page Checkout plugin!

This documentation contains implementation details associated with the guest-checkout and registered-account features introduced by v2.0.0 of the plugin and augments the information already present in the plugin's readme. The roots of OPC's guest-checkout and registered-account processing (OPC-GC/RA) are found in the COWOA (by @DivaVocals, @countrycharm and others) and COWAA (by @davewest) plugins … but the implementation is quite different.

Notes:

  1. Supports Zen Cart versions 1.5.7a, 1.5.8, 1.5.8a and has been tested with the current alpha version of 2.0.0.
  2. Supports PHP versions 7.4 through 8.3.

Overview

One-Page Checkout enables a Zen Cart store — without additional fees — to present an up-to-date checkout experience to its customers, with the introduction of the following features:

  • Guest checkout. Enables a store to provide a fast-path through its checkout process. An OPC-GC customer's information is gathered and saved for only the current order. In this checkout path, the create_account, checkout_shipping, checkout_payment and checkout_confirmation steps are combined in a single, AJAX-aided checkout_one page.

  • Registered accounts. Enables a store to gather minimal information from a customer in its account-creation processing. An OPC-RA customer has all the benefits of a regular store customer, but they have not yet provided any address-related information. They can sign up for newsletters, product notifications and wishlists … just like full-account holders. When an OPC-RA customer checks out, the checkout_one page's processing requires that they supply that address information.

  • Temporary addresses. A non-guest-customer has the option of using an address only for the current order.

Refer to the links below for additional information.

Additional Information

Refer to the readme.html in this GitHub repository for additional details.

See also:

Storefront Considerations

HTML/jQuery Selectors

Admin Considerations

Clone this wiki locally