Examples
Some worked examples and tutorials for achieving various things with the Shop App. These range from the simple to more complete tutorials.
Products
- Selling digital downloads details the steps for selling files such as music, software and ebooks.
Cart
- Add an item to the Cart with the simplest form example
- Programmatically add an item to the cart from your PHP page
- Add to Cart form with Product Options is a more complete add to cart form
- Empty the Cart
- Display the Cart on a page
- Creating a no-cart checkout shows how to create a process that doesn’t an obvious cart step
Checkout
- Create a customer account
- Managing addresses
- Adding an order confirmation step describes ways to add a final confirmation step to your checkout before going to payment.
- Handling payment results shows how to display success and failure messages to the customer after payment.
- Creating a no-account checkout shows how to skip setting passwords for an account