- Posts: 76
- Thank you received: 2
Pricing question-How would you do it?
- Kathy
- Topic Author
- Offline
- Senior Member
-
1st Family Member Rate:
1st Week: $450.00
2nd Week: $425.00
Sibling Rate:
1st Week: $425.00
2nd Week: $400.00
Half Day:
$250.00
So half-day campers don't get sibling or multiple-week discounts. Right now, I have:
Base charge $25 (only for first group member), week1,...,week6 400/250/250 for full day/half day (am)/half day (pm), and then a hidden surcharge field of $25 for each full week that the first registrant signs up for (dependent field on full-day option, but only applies to first member of a group--thanks for those options Tuan!).
What that means is if someone registers for one week of half-day camp, they're overcharged (the base charge of $25). If I change the main pricing field to 400/225/225, then if they register for more than one week of half-day camp, they're undercharged.
If I could create a little dependent field that asks whether none of the fields have had the full-day option selected, I could subtract the base charge. Or I could turn on the base charge only if one of the fields has the full-day option selected...What level of nesting is supported by conditional fields?
Please Log in or Create an account to join the conversation.
- Kathy
- Topic Author
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 2
Can I do a conditional field several levels deep?
Can I use "or" to join conditions rather than "and"?
Can I specify that "nothing" is a valid option for the field depended on?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
I haven't read your first post yet as it is quite confusing. For your second questions:
Can I do a conditional field several levels deep?
=> Yes. It is supported
Can I use "or" to join conditions rather than "and"?
=> Not sure how it works. But I don't think the extension support or conditions
Can I specify that "nothing" is a valid option for the field depended on?
=> Could you please explain more details? It is not very clear to me
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Kathy
- Topic Author
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 2
I have a follow-up question and an explanation. First, you say I can nest the conditional fields. Is there a limit to how deep?
Second, the explanation. I asked whether it was possible to specify "nothing" as an option for the parent field. The example is this: We have an optional select field, call it "Length" with options: a) not selected, b) "half-day", or c) "full-day". Is it possible to make a conditional field that comes into being if the value for "Length" is (a) or (b)?
Please Log in or Create an account to join the conversation.
- Calum
- Offline
- Elite Member
-
- Posts: 257
- Thank you received: 34
But ignoring that - Nesting I don't think there is any real limit - just how deep can you cope with configuring!! Tuan may say I'm wrong
IF the choices are None, Half Day or Full Day and you want Half or Full to enable another field. Then if you go to Depend of "Day Length" field - you should be offered some choices to match it to? That can't be an AND if the option is a drop down so I assume it is an OR. Have you tried it?
Please Log in or Create an account to join the conversation.
- Kathy
- Topic Author
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 2
So instead of having length of day be an optional field, I changed it to a required field with the first (default) option as "---". That way it's actually showing up as one of the options to match to.
Please Log in or Create an account to join the conversation.
- Calum
- Offline
- Elite Member
-
- Posts: 257
- Thank you received: 34
) and they can reduce it to a cheaper choice if they want Please Log in or Create an account to join the conversation.
- Kathy
- Topic Author
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 2
I assume they'll register for *something,* but I don't explicitly check. I suppose I'll let them register and pay me $25 (the base charge), but not sign up for camp at all
Please Log in or Create an account to join the conversation.
- Calum
- Offline
- Elite Member
-
- Posts: 257
- Thank you received: 34
Still think the cart is the right approach but I haven't thought how you'd pass the discount for second weeks through
Please Log in or Create an account to join the conversation.
- Kathy
- Topic Author
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 2
Unfortunately, passing the discount for multiple weeks through is where I'm running into the problem. It worked to have a base charge per person, and then add a per-camp cost to that, but there isn't a multiple week discount for half-day camps (argh!)
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.