Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I set two occupancy modifier. - first treshold 2 people, second treshold 4 people - but only the first treshold was added. The idea is, if in the house are more people, they have to pay less.
Both modifiers were checked at the room edit site.
Comments
Comment #1
bryanhidalgo CreditAttribution: bryanhidalgo commentedSame here, seems that this bug has not been fixed yet
Comment #2
pucc CreditAttribution: pucc commentedgot the same error too in another version for drupal 7..but the module's mantainer isn't answering to our question on how to solve this problem
Comment #3
larowlanHi
I'm currently seeking co-maintainers for the project as I don't have time to maintain it to the level which I would like.
I've only ever used/tested occupancy modifiers for the following:
>2 adults + a fee
>0 children + a fee.
And they worked fine in this instance.
Please provide the exact configuration you have.
Lee
Comment #4
pucc CreditAttribution: pucc commentedi have a base rate (for 1 adult) and i'd like to have 3 occupancy modifiers:
- I'd like to charge 10 euros if they are 2 occupants
- I'd like to charge 25 euros if they are 3 adults
- I'd like to charge 20 euros if they are 2 occupants and one child
running the latest 7 version of your module (the dev one)
Thank u in advance
Lidia
Comment #5
pucc CreditAttribution: pucc commentedeuros if they are 2 occupants. I'd like to charge 25 euros if they are 3 adults..I'd like to charge 20 euros if they are 2 occupants and one child..running the latest 7 version of your module (the dev one)..Thank u in advance..Lidia
(i'm sorry for splitting my comment but I don't know why drupal wasn't able to publish all the text)
Comment #6
larowlanok so expected config should be:
base rate: 10 euro
occupancy modifier 1: threshold 2, type adults, price 15
occupancy modifier 2: threshold 0, type children, price 10
That worked in the D6 version cause I've got it running on the original site it was built for.
The issue is flagged as D6, if it's for D7 please update.
Comment #7
pucc CreditAttribution: pucc commentedThis issue is also for d7 I have wrote another post for it weeks ago..and I've 2 threshold..one for 2 adults and another one for 3 adults...but only the first one works..