Rates based on Rig Type |
Top Previous Next |
DISCLAIMER: This article involves Advanced Customizations, which can be technically challenging to get working and is not part of standard support. This is programming and must be done precisely or the results can be unpredictable. This information is provided as a service for those who have the technical skills to work through it -- we cannot help you solve any issues with getting it working. For more information about Advanced Customizations, see the full documentation:
https://campgroundmaster.com/help/overview32.html
Q: How do we make a Rate that depends on the rig type? For instance, if someone just puts a tent on an RV site, we charge a different rate.
A: If you're using version 4.2.2 or later, you can do this using the "Advanced Condition Expression" setting in the Rates definitions.
For your example, this is what needs to go in the Advanced Condition Expression for the tent rate:
Cust:Cust_Rigtype = "Tent"
It has to be exact (and the example assumes your Rig Type pick list selection is "Tent"), so use copy/paste if possible.
For the non-tent rate, you would make it:
Cust:Cust_Rigtype != "Tent"
Technically you would only need the expression in one or the other, as long as it's added to the one appearing first on the rates list -- it would use the other rate by default if the first one doesn't apply. However we recommend setting the expression in both rates in case you change the order later.