Wasn’t possible to book the same start and end date

A while ago, I had a problem regarding the dates where it wasn’t possible to book the same start and end date. For example, I wanted to select from the 28th to the 28th, but it wasn’t feasible. To resolve this, I created my own plugin that uses JavaScript and PHP to modify the fields of the search and booking form, ensuring that the booking and search work correctly.

However, now I’ve noticed something. If you use the booking form on this page:

https://timiboat.com/listing/marsea-1/?boatId=2496

when you select the dates, it calculates 15% of the amount I should pay.

You can verify that the boat costs €160.00, but after the 21st, it costs €180.00. Now, let me explain the issue:

If you try to select two dates, such as from July 27th to July 28th, you can see that it calculates €54.00, which is 180 * 15/100 = 27 * 2 = 54. So that’s correct.

However, if I try to select just one day, for example, from July 27th to July 27th, you can see that it no longer calculates €27.00, but rather €24.00, which is 15% of €160.00 instead of €180.00. Meanwhile, the selected date range from the 27th to the 27th has a price of €180.00.

Hi,

Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.

If the issue still exists, please provide more detailed information (your actions did step by step, what settings you have installed, etc.).

P.S. If you purchased a theme or extension, please enter the license key in the forum profile settings, this will enable the Premium Support badge and ensure a 24-hour turnaround time.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.