This documentation contains implementation details associated with the guest-checkout and registered-account features introduced by v2.0.0 of One-Page Checkout (OPC) for Zen Cart 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:
- Supports Zen Cart versions 1.5.8 through 2.1.0.
- Validated on PHP versions 7.4 through 8.3.
v1.0.0 of One-Page Checkout enables a Zen Cart store — without additional fees — to present an up-to-date checkout experience to its customers.
v2.0.0+ continues that fee-less tradition, 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
andcheckout_confirmation
steps are combined in a single, AJAX-aidedcheckout_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.
Refer to the readme.html and the Wiki in this GitHub repository for additional details.