Author Topic: Reservation system  (Read 1994 times)

osp

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 66
Reservation system
« on: January 18, 2012, 09:40:39 am »
Hi guys,

we need to setup reservation system for some of our products.
Please, can you help with the following?

We need for our shop two scenarios to be handled:
1. for some products (eg. paragliding courses) we can make customfield of type Date, and enter valid dates for the courses. Here we need to control amount of buyed products per date
2. for some products (eg. equipmnet) we need to setup rental system based on date - we have limited amount of equipmnent for rent and we want to give to customer calendar to choose the Date of the resevation.

First scenario is quite simple despite detection of the amount available. Idea is to create simple table (eg VmProductReservation) product x datefrom x dateto and if the registration date is withing interval decrease available amount by the count from VmProductReservation.
Second scenario can be handled very similarly except I think  there's nothing like generic Date range  picker in VMart customfields.

We're using Joomla 1.7, VMart 2.0.

Any ideas? If solution is not currently implemented, question is if the cart plugin is the right way? (I think so but better is to ask)

Thx in advance.

Ondra