Selling tickets to events

Events are generally defined by some or all of the following:

  1. Limited inventory
  2. Limited time availablity
  3. Selectable options
  4. Package pricing
  5. Requiring registration data
  6. Repeat availability

CartThrob can easily handle all of those parameters, except for six. CartThrob will not automatically reset available inventory based on a time period, but each of the other parameters are simple to configure.

Setup the event "product"

  1. Create a product entry for the each event (one per day, or week, or whatever time period can be purchased individually), and set the availaable inventory

  2. Set the expiration date, and start date of the entry as needed to limit the items availability in time

  3. Add customer selectable options (items like meal plans, number of tour stops, access levels)

  4. Create an add_to_cart_form and use it to capture registration details. Generally it's best to require one event item be added to cart per registration. Using this method it's easy to get unique registration data per item. If you allow a person to add registration data and set the quantity of an even item, the registration data will then be set for each of those items.

Example

{exp:cartthrob:add_to_cart_form 
    return=""
    }
    // capture various bits of registration information using item_options (see [add\_to\_cart\_form][add-to-cart-form] for more details)
    <input type="text" value="" name="item_options[number_of_guests]" /> 
    <input type="text" value="" name="item_options[meal_plan]" /> 

    <input type="submit" value="Add to Cart" />

{/exp:cartthrob:add_to_cart_form}

Generally, events can be handled with CartThrob, but there are many special cases with events, so ultimately a little creativity, and some consultation or custom extensions may be needed to get you up and going fast. Please contact us on the forums if you need help with a specific case.

Setup Packages

If you need to offer an event packaged with one or more items, create all items first, then use CartThrob's Packages Fieldtype in an entry to assemble and price all of the items available in the package. You can use this field type to bundle multiple items, and set option settings per bundled item.