I am in the very early stages of using Vendr for a new course booking and purchase website that I am currently creating for a client, as part of this they want to sell courses that will have multiple spaces on specific course dates.
From a Vendr perspective, what is the best way of setting this up from a product perspective?
So you have a course and a course has multiple dates, and those dates have a set number of allocations?
If so, I'd probably set them up as follows
Home
- Courses
- Course1
- Date 1
- Date 2
- etc
In this scenario, I think your dates would be the actual products so on these you could add a stock property to state how many places are available.
If you take a look at the demo store, this is kind of how some of the products are setup, so there is a parent product, but variant products beneath https://github.com/vendrhub/vendr-demo-store
One think you might want to look at is the product adapter which is responsible for extracting product information. In this setup, you may want to override it in order to construct a composite product name, combining the course name from the parent node and the date from the date node. There is an example of this in the demo store https://github.com/vendrhub/vendr-demo-store/tree/master/src/Vendr.DemoStore/Web/Adapters
I think that should give you a decent starting point.
Products as bookable course dates
I am in the very early stages of using Vendr for a new course booking and purchase website that I am currently creating for a client, as part of this they want to sell courses that will have multiple spaces on specific course dates.
From a Vendr perspective, what is the best way of setting this up from a product perspective?
Thanks in advance.
Hey Graham,
So you have a course and a course has multiple dates, and those dates have a set number of allocations?
If so, I'd probably set them up as follows
In this scenario, I think your dates would be the actual products so on these you could add a stock property to state how many places are available.
If you take a look at the demo store, this is kind of how some of the products are setup, so there is a parent product, but variant products beneath https://github.com/vendrhub/vendr-demo-store
One think you might want to look at is the product adapter which is responsible for extracting product information. In this setup, you may want to override it in order to construct a composite product name, combining the course name from the parent node and the date from the date node. There is an example of this in the demo store https://github.com/vendrhub/vendr-demo-store/tree/master/src/Vendr.DemoStore/Web/Adapters
I think that should give you a decent starting point.
Matt
Hey Matt,
Thanks for the quick reply and my delay in replying, that is great and gives me a good starting point for the integration and setup.
On a different note, top marks on creating such an easy to use and scalable ecommerce plugin for Umbraco 8!
Cheers.
Hey Graham,
Glad I could help, and thanks for your kind words. Really made my day.
/Matt
is working on a reply...