Selling tickets to events
Events are generally defined by some or all of the following:
- Limited inventory
- Limited time availablity
- Selectable options
- Package pricing
- Requiring registration data
- 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"
-
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
-
Set the expiration date, and start date of the entry as needed to limit the items availability in time
-
Add customer selectable options (items like meal plans, number of tour stops, access levels)
-
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.