Setting up your SimpleCaddy system

SimpleCaddy is now completely plugin driven. It means that you need articles (content) for SimpleCaddy to work.

So the first thing you need is think about your purchase process. For most it will go like this:

  1. Product page(s)
  2. Edit Cart page, where people can change quantities or remove items from the cart
  3. Enter client details, name, address, state, etc
  4. Show Cart page where you present the total of the purchase, including taxes. This is also the place where you can add a possibility to enter coupons/vouchers/discount codes/etc.
  5. Payment page, SimpleCaddy by default supports PayPal for checkout, other methods can be used too

 

So, you will start by creating a category in Joomla. Let’s call it “SimpleCaddy pages”. In that category, you will create the above pages, give them some text, that is not important for now. In general I start with only one product page.

Let’s assume we have the following pages with their IDs (rightmost column in the article list). These IDs are defined by Joomla, so your numbers will differ.

Product page – 48,

Edit Cart page – 49,

Client details – 50,

Show Cart + Tax – 51,

Payment/Checkout page – 52

Setting up the product page

The basic setup of the product page is simple: Add the following to your Product page:

{ simplecaddy code=abc123 nextcid=49}

Other options exists, but for now this will do the job. When the client clicks the Add to Cart button, the product is added to the cart and taken to the next page (ID = 49).

Setting up the Edit Cart page

The Edit Cart page will have some text you will define (or nothing, that’s ok with me). You add the following to the content of the article:

{ simplecaddy type=editcart nextcid=50}

This will show an Edit Cart layout with the contents of the cart. This will allow clients to modify or empty the cart. Once they click the “Order” button they will be taken to the next page (ID = 50)

Setting up the client details page

You now start to see how this works… Add { simplecaddy type=details nextcid=51} to your page and you collect all the data you need from your clients. How to set up those fields is detailed here.

Setting up the Show Finalized Cart page

The before-last step is to show the completed cart with only the possibility to start over or to go and pay. However, in the mix you may need to charge taxes for your beloved government.

Add the following to your page:

{ sctax}

{ simplecaddy type=showcart showbuttons=1 nextcid=52}

Yes, this time you need two different plugins, one for the taxes and one for the cart. Taxes are calculated by taking the destination field of the previous screen, most often that will be state/province or country. How to set up taxes is explained here.

In some cases, you will want to offer discounts or vouchers. This can also be done on this same page by adding another plugin to the mix.

{ scvouchers}

will add a possibility to enter a predefined code and get some kind of discount

Setting up the Checkout Page

The last step is to get people to leave you some money for all your effort of setting up shop, right?

Well, you simple need a page (ID=52 here) and add { scpaypal} to the text. It will display the familiar PayPal “Buy Now” button and lead your client to the PayPal site for payment.

From there on it’s money in the bank for you (ehm, paypal…)