Shopping carts to sell a service based on a reoccurring calendar date


(Ryan Thorburn) #1

Hi All,

I'm fairly new to Squiz but I have had some Squiz training.

I am trying to create a site for a tour company which means that I need to create a shopping cart that allows people to buy a spot on the tour. There will be a number of different tours to different locations and each tour will be going at certain times to it's destination.

Has any one been able to solve this problem? I have thought about creating a product item for every tour for every day but that is a lot of ongoing manual work. Plus over time I'm not sure if having thousands of products will slow down the system or not.

I have also tried creating a calendar with a reoccurring event and then create links from the list to the cart but it appears that the shopping cart requires an asset id to link against in order to be able to add an item to it instead of a date. Also there are only a limited number of spots on the tour so I can't sell any more than are available.

Any help would be appreciated as I've spent about 2 days on this problem already trying to learn how carts work.


(Bart Banda) #2

Hi Ryan,

what you are trying to do is pretty complex, especially when you are incorporating eCommerce with it.

You would probably most likely need to have a product for each available tour, as you can control and enforce quantities using metadata on the product asset, see http://manuals.matrix.squizsuite.net/e-commerce/chapters/checkout-page#Quantity-Tracking-Screen.

 

You will probably need to use single calendar events, or multi date calendar events (which are just a collection of single calendar events anyway), so that you can put the tours into a calendar page. But you only need this if you want to present the products within a calendar, if you can simply list them in an asset listing and sort them by a data metadata field, that would be a lot easier. 

 

I probably suggest you try and start simple, create a product for each tour, create a metadata schema for these products which will contain fields such as quantity, departure date, expiry date etc.. And then implement your shopping cart and checkout page. 

 

Hopefully that helps and points you in the right direction.

 

Cheers