Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v:0.7.0:checkout [2011/05/11 09:08] – [Checkout Template Customization] foxybrett | v:0.7.0:checkout [2017/04/26 07:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== The Most Efficient One-Page Checkout Available ====== | ====== The Most Efficient One-Page Checkout Available ====== | ||
+ | ===== What Is the Checkout? ===== | ||
+ | When we refer to the " | ||
+ | |||
+ | ===== How and Why FoxyCart' | ||
One of the major piece we wanted to simplify and improve upon when we started FoxyCart was the checkout page. In addition to making it a very dynamic one-page checkout, we also revolutionized (big hypey word, we know, but we feel it's true) the way customers choose between a guest checkout or creating an account. | One of the major piece we wanted to simplify and improve upon when we started FoxyCart was the checkout page. In addition to making it a very dynamic one-page checkout, we also revolutionized (big hypey word, we know, but we feel it's true) the way customers choose between a guest checkout or creating an account. | ||
- | The checkout is also highly flexible, and can be modified in a variety of ways. | + | No longer will your customers be presented with inputs for their email and password, only to submit the form and be told that they don't have a user, and that if they'd like to register they can click the teeny tiny link in the bottom right. Odds are they don't care about registering; |
+ | |||
+ | The checkout is also highly flexible, and can be modified in a variety of ways. HTML, CSS, and JavaScript are all available for you to perform advanced customizations both of the design and the functionality. | ||
===== Checkout Template Customization ===== | ===== Checkout Template Customization ===== | ||
<wrap tip>The checkout can be quickly, easily, and automatically styled to match //your existing site's templates// | <wrap tip>The checkout can be quickly, easily, and automatically styled to match //your existing site's templates// | ||
- | ===== Adding Custom Checkout Fields ===== | ||
- | ==== Overview | + | ===== Errors On the Checkout |
+ | ==== " | ||
+ | Any " | ||
+ | ==== " | ||
+ | FoxyCart' | ||
+ | |||
+ | ==== Other Errors and Unexpected Behavior ==== | ||
+ | Because the checkout is complex, there are a variety of things that can go wrong if you're customizing things. If things aren't happening as expected... | ||
+ | * Check for JavaScript errors using [[http:// | ||
+ | * Check for required fields you may have hidden via CSS. | ||
+ | * Make sure your checkout template has a doctype, and is free of major validation errors. | ||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | ===== Adding Custom Checkout Fields ===== | ||
+ | ==== Overview ==== | ||
Sometimes it is necessary or desirable to include additional input fields on checkout, such as: | Sometimes it is necessary or desirable to include additional input fields on checkout, such as: | ||
* Checkbox to require Terms of Service agreement. | * Checkbox to require Terms of Service agreement. | ||
Line 79: | Line 99: | ||
==== What to name your fields ==== | ==== What to name your fields ==== | ||
- | |||
You can name your fields anything you want, but **we recommend using the underscore ('' | You can name your fields anything you want, but **we recommend using the underscore ('' | ||
Line 85: | Line 104: | ||
==== What about Receipts and the Datafeeds? ==== | ==== What about Receipts and the Datafeeds? ==== | ||
- | |||
The custom fields will be inserted at the bottom of your your receipt (after checkout), as well as in any emails that include the '' | The custom fields will be inserted at the bottom of your your receipt (after checkout), as well as in any emails that include the '' | ||
Custom checkout fields are included in all XML datafeeds from version 0.3. | Custom checkout fields are included in all XML datafeeds from version 0.3. | ||
+ | |||
==== What if I'm using multiship and I need a custom field per shipto? ==== | ==== What if I'm using multiship and I need a custom field per shipto? ==== | ||
- | |||
No problem! Just wrap your custom fields in '' | No problem! Just wrap your custom fields in '' | ||
==== A Note about Checkboxes ==== | ==== A Note about Checkboxes ==== | ||
- | |||
**Checkboxes do not post** if they are unchecked. This is standard HTML form behavior, but it's worth noting, especially if you're using checkboxes for your XML datafeeds. | **Checkboxes do not post** if they are unchecked. This is standard HTML form behavior, but it's worth noting, especially if you're using checkboxes for your XML datafeeds. | ||
Line 136: | Line 153: | ||
<wrap important> | <wrap important> | ||
+ | |||
+ | |||
+ | ===== Pre-Populating the Checkout with Customer Information ===== | ||
+ | Though we generally recommend [[.: | ||
+ | |||
+ | Pre-populating is done by passing in [[.: | ||
+ | |||
+ | |||
+ | ===== Other Checkout Actions ===== | ||
+ | The checkout is primarily used to pay for new purchases, but there are certain other situations that arise that are still handled through the checkout. It's important to understand when your checkout can be used for other purposes so you can design and style accordingly. | ||
+ | |||
+ | ==== Subscription Cancellation ==== | ||
+ | {{ : | ||
+ | If you're doing [[.: | ||
+ | - The normal email + password authentication section. | ||
+ | - The cart. | ||
+ | - The button that is normally labelled something like " | ||
+ | |||
+ | It is important to note that the password is still required in order to confirm the cancellation. This is to prevent an unauthorized user from modifying a subscription they aren't supposed to be modifying. | ||
+ | |||
+ | ==== " | ||
+ | If the '' | ||
+ | |||
+ | The '' |