-
Hello,
we have a booking site and want to create the following special prices with this:
Frist condition is: Special price should be displayed when someone selects 7 days: then customer get a better price as normal. If he take 7 days he will get the motor vehicle for 100 € instead of 140 euro. It is a discount.Same thing fort he second condition: for weekend bookings from Friday to Monday 15 hrs customer will get special price for 50 euro (toatal price) fort he vehicle trailer instead of 4 days * 20€ = 80€
unfortunately, you can only set one condition at a time and you can’t change anything in the code.
Can you help me please?
You can create three conditions. For the first, for the second, and for the intersection of the first and second. Make the last condition a higher priority
correct. This is exactly what I have already tried. Unfortunately it does not work. Wen I give you the login data of the page, you can look and make yourself a picture ok?
Here you can check the details for login.
Private Content HiddenDescribe the situation in detail. Which dates should I choose in which product and which condition should work?
I just opened the first Condition. And I have some comments.
https://monosnap.com/file/VELMI21T74PK1tBk27jyiDhzx8yGnYIn the filter, the field “Days (from)” is not filled in, for which number of days, condition is triggered. There should be entered “7”
It is not necessary to select unnecessary parameters in the filter if they do not participate in the Condition (highlighted with a frame). This slows down performance, but does not affect filtering.
I have check it but it’s not working because there are three to four conditions. Then theme don’t know which one is first.
Frist condition is: Special price should be displayed when someone selects 7 days: then customer get a better price as normal. If he take 7 days he will get the motor vehicle for 100 € instead of 140 euro. It is a discount.
Second condition: for weekend bookings from Friday to Monday 15 hrs customer will get special price for 50 euro (toatal price) fort he vehicle trailer instead of 4 days * 20€ = 80€
Specify in the screenshot which Conditions I need to look at and in which product?
https://monosnap.com/file/PwJbWGAxu8uOz6s3OoHAG0hYhPWC3r
https://monosnap.com/file/KClfeJ96aIFqiwIusyx2NdqI7I6K7iThe working principle of Conditions is as follows: you choose the conditions for the days and choose what the price for the day will be if the day meet the condition.
The case is as follows we want to set a special price, in the period of 4 days Friday to Monday bookings for 12,50€/day. This also works.
However, the problem is that if a customer books from Tuesday – Friday he gets for the day from Tuesday to Thursday the normal price 20 €/day and on Fridays he takes the special price 12,50€/day (which is wrong, because the special price of 12,50€/day is only valid for the booking of 4 days Friday to Monday). Actually, if you book Tuesday – Friday, each day must cost 20€/day.
Do you understand what I mean?Here you can find remarks of your screenshots :):
https://we.tl/t-XybTGQn0rMYes, I understand that you have a very specific task, and it cannot be implemented with the current capabilities of the theme.
You can use this filter to extend any condition (this is a hint for the programmer):
add_filter( 'aucapina_condition_check', function ( $satisfies_condition, $term_id, $start, $end, $day ){ /** * @var bool $satisfies_condition The $day satisfies the condition if true * @var int $term_id Condition ID * @var DateTime $start Start of the selected range * @var DateTime $end End of the selected range * @var DateTime $day The day from the selected range to check **/ // filter... return $satisfies_condition; }, 10, 5 );
What you need is a customization of the theme. You will have to do this yourself or hire specialists. We may recommend you to contact WordPress Customization Professionals from Envato: https://studio.envato.com/explore/wordpress-customization?&sort=relevance&page=1
Special Prices in the booking calender are not working
This topic is: not resolved
Viewing 9 posts - 1 through 9 (of 9 total)