﻿

#  Princess S78

Port - Marina Ibiza

 YACHT | 24M | 12 PAX

Online Booking Daily Charter Weekly Charter Skipper included

 **FROM: 7.260€ / day**

- [](https://api.whatsapp.com/send?text=https%3A%2F%2Fnautiza.com%2Fen%2Fboat-types%2Fyachts%2F159-princess-s78-why-knot-charter-ibiza.md)
- [](https://t.me/share/url?url=https%3A%2F%2Fnautiza.com%2Fen%2Fboat-types%2Fyachts%2F159-princess-s78-why-knot-charter-ibiza.md&text=)
- [](https://x.com/intent/post?url=https%3A%2F%2Fnautiza.com%2Fen%2Fboat-types%2Fyachts%2F159-princess-s78-why-knot-charter-ibiza.md&text=)
- [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnautiza.com%2Fen%2Fboat-types%2Fyachts%2F159-princess-s78-why-knot-charter-ibiza.md)
- [](#)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/05e17bb8550cc9fdb7aeadfedb72084b.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/05e17bb8550cc9fdb7aeadfedb72084b.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/6901ba25948ce59961e2f198308611de.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/6901ba25948ce59961e2f198308611de.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c5bf66f8acf107446df6a057361c94c0.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c5bf66f8acf107446df6a057361c94c0.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/493a40d13a499c1d4d77d1e8f1b9027c.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/493a40d13a499c1d4d77d1e8f1b9027c.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/53de97f0587aa80c113e66d1d0989c88.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/53de97f0587aa80c113e66d1d0989c88.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/fc039e4254c73a926812d5b877a42f71.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/fc039e4254c73a926812d5b877a42f71.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/23cb116ff4f185c6caec66dc27ee93e6.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/23cb116ff4f185c6caec66dc27ee93e6.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/da97f7a180c1601d54fe013730c1baf3.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/da97f7a180c1601d54fe013730c1baf3.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/9d5d91ac25e4d52a7d5eb9a2227d18c1.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/9d5d91ac25e4d52a7d5eb9a2227d18c1.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/60bec9f486a3a28eec81c1f26d8a2716.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/60bec9f486a3a28eec81c1f26d8a2716.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5437b8cd4e146b79ac404fb10855c0aa.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5437b8cd4e146b79ac404fb10855c0aa.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5a5f5fd34320285b6778f343ce346a71.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5a5f5fd34320285b6778f343ce346a71.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2b4d2b91e555b388e636854b1b558e43.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2b4d2b91e555b388e636854b1b558e43.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/e2f3f96a9bd5462a61dcea1b7cba2e49.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/e2f3f96a9bd5462a61dcea1b7cba2e49.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/0f2cfc9f194fd8dfd03d109017b13f88.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/0f2cfc9f194fd8dfd03d109017b13f88.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5ffd0750e24bd29e91acb6447cbde89b.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5ffd0750e24bd29e91acb6447cbde89b.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/1fd27a06489869faf756539edf3d9065.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/1fd27a06489869faf756539edf3d9065.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/8649c9315be7a47247e85f8b9a2eba2f.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/8649c9315be7a47247e85f8b9a2eba2f.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2d433481d06015d4a92ccbed3b698da9.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2d433481d06015d4a92ccbed3b698da9.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/02910375565b0e986183fab4ea54d45c.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/02910375565b0e986183fab4ea54d45c.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/6ed81827e2f1844c1f34fc5bd36fc5d9.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/6ed81827e2f1844c1f34fc5bd36fc5d9.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/918966da4119bd587057c4e1b01143f4.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/918966da4119bd587057c4e1b01143f4.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/0930142467afbebb8c80061b4073fd66.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/0930142467afbebb8c80061b4073fd66.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/8b56cdd6c0adbc00a576f586ee7db985.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/8b56cdd6c0adbc00a576f586ee7db985.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/96a3dd5d525abc3b43a07e1f4f363a34.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/96a3dd5d525abc3b43a07e1f4f363a34.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/0bd979c2fb91c280f9f1eecde3d102b2.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/0bd979c2fb91c280f9f1eecde3d102b2.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/9f316f9aed354fba203df417dfd0f92e.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/9f316f9aed354fba203df417dfd0f92e.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/b894fcec6688e211f3905b1c1d6cb096.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/b894fcec6688e211f3905b1c1d6cb096.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c7ccb813ab2fefce57350d2b35072886.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c7ccb813ab2fefce57350d2b35072886.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/fd584e44224e28770f91fc8c727cda06.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/fd584e44224e28770f91fc8c727cda06.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/f1e77f51c99c7ce61d1e258cf57fb5bc.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/f1e77f51c99c7ce61d1e258cf57fb5bc.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c4f70ed5d19c7ac0b0fd97badc7961c7.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c4f70ed5d19c7ac0b0fd97badc7961c7.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/124c2e4131fd035ccea5aa2ef484c785.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/124c2e4131fd035ccea5aa2ef484c785.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/bd67c475d0761320dc5857b932b4810f.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/bd67c475d0761320dc5857b932b4810f.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/80029b04fdde9c34dcf40f816afa58eb.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/80029b04fdde9c34dcf40f816afa58eb.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2f8246f5d6c935e09b2ba9bb4f61dc03.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2f8246f5d6c935e09b2ba9bb4f61dc03.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/66636829ba4ce8ce1bc4a943b02a99aa.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/66636829ba4ce8ce1bc4a943b02a99aa.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/d9091c9816bb6f26f57e7f6d74ddbbc3.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/d9091c9816bb6f26f57e7f6d74ddbbc3.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/89777860dd89225eabfe47a2eb839854.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/89777860dd89225eabfe47a2eb839854.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/212166e112a3f2b6477e5b59b8f817c4.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/212166e112a3f2b6477e5b59b8f817c4.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2373230e254030ccdb3af822ffcb393e.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/2373230e254030ccdb3af822ffcb393e.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/350eec95d3d8b992adf967ed499dc8a7.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/350eec95d3d8b992adf967ed499dc8a7.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c9a0e7ee71aaab1ae90f5c51aee7ec0b.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/c9a0e7ee71aaab1ae90f5c51aee7ec0b.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5c683cd27f21da448bc32580fe79120f.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/5c683cd27f21da448bc32580fe79120f.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/96140affc83128c4ef847340bcd6b12a.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/96140affc83128c4ef847340bcd6b12a.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/be7ced30b395ede017c833c746557115.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/be7ced30b395ede017c833c746557115.JPG)

 [ ![Princess S78 - Why Knot](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/836a3dcdd589900c631806ac3f0d2eb0.JPG) ](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/boats/30/gallery/836a3dcdd589900c631806ac3f0d2eb0.JPG)

##  Princess S78 - Why Knot

 Marina Ibiza

The **Princess S78 - Why Knot** stands as the flagship of Princess Yachts’ acclaimed S Class, delivering the ultimate expression of luxury, high performance, and sophisticated design for a **luxury yacht charter in Ibiza**. Measuring nearly 25 meters (78 feet) in length, she seamlessly combines sporty agility with the grand space and versatility of a premium flybridge yacht.

Her expansive exterior decks are masterfully crafted for outdoor living and effortless entertaining. Featuring a spacious bow lounge with sunbeds, a magnificent *Sportbridge* offering sweeping panoramic views across the Balearic coast, and a broad aft deck perfect for al fresco dining and cocktails. Below deck, her refined, light-filled interior is appointed with the highest level of luxury and comfort.

Delivering remarkable power, speed, and a smooth, stable ride, WHY KNOT is the definitive choice for launching an extraordinary **boat charter to Formentera**. Effortlessly set sail toward iconic turquoise paradises such as Espalmador, Ses Illetes, or Cala Saona and experience top-tier Mediterranean yachting within the available **charter fleet in Ibiza**.

This fantastic vessel is managed by Michl Marine.

####  Features

- Length:

    24m
- Beam:

    5.75m
- Draft:

    1.9m
- Capacity:

    12 pax
- Crew:

    3 pax
- Cabins:

    4
- Bathrooms:

    4
- Motor:

    2 x MAN 12V -1900 HP
- Fuel:

    DIESEL
- Fuel consumption:

    500 L/h l/h
- Cruising speed:

    25kn
- Maximum speed:

    34kn

 Included in price

21% VAT,CREW, MOORING ( BASE PORT ), SNACKS &amp; FRUIT, SOFT DRINKS, WELCOME CHAMPAGNE BOTTLE, TOWELS &amp; BEDDING, WATER TOYS.

 Not included

 FUEL, 35% APA

######   This boat belongs to

 ![](https://cdn.kpitanea.com/michlmarine/fea5ca32b6/uploads/logo/a9043726b557b33f3bd0e85c9e48da35.png)

##  Michl Marine

Con más de 35 años de experiencia en el sector náutico y como representante oficial de Mangusta en España, Michl Marine ha creado **Megayacht Ibiza** para ofrecer un servicio exclusivo de alquiler de yates y superyates de lujo en Ibiza y Formentera. Esta división especializada combina el prestigio y la experiencia de Michl Marine con un enfoque totalmente centrado en experiencias premium a medida.

 [ Saber más de Michl Marine... ](https://nautiza.com/en/partners/partner/michl-marine)

September 2026

M

T

W

T

F

S

S

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-

12

-

13

-

14

-

15

-

16

-

17

-

18

-

19

-

20

-

21

-

22

-

23

-

24

10.890€

25

10.890€

26

10.890€

27

10.890€

28

10.890€

29

10.890€

30

Ø

Disponible

Ø

No disponible

Cerrado

Select a date from the calendar

Contact informationName \*

Surname \*

Email \*

Phone \*

Number of guestsAdults \*Select number of adults

Charter detailsAdditional message

Booking summary

Boat

Why Knot

Date

-

Guests

-

Price

-

 Redirecting to secure payment platform...

'); }); } // Half day checkbox change jQuery('#halfday-159').on('change', function() { if (showScheduleSelector) { updateSchedule_159(); } }); // Extras quantity buttons jQuery('.uk-button-minus').on('click', function() { var dataBoat = jQuery(this).data('boat'); if (dataBoat != 159) return; var id_product = jQuery(this).data('idproduct'); var input = jQuery('#extra-' + id_product + '-159'); if (input.val() &gt; 0) { input.val(parseInt(input.val()) - 1); updatePrice_159(); } }); jQuery('.uk-button-plus').on('click', function() { var dataBoat = jQuery(this).data('boat'); if (dataBoat != 159) return; var id_product = jQuery(this).data('idproduct'); var input = jQuery('#extra-' + id_product + '-159'); var maximo = input.data('maximo'); if (input.val() &lt; maximo) { input.val(parseInt(input.val()) + 1); updatePrice_159(); } }); // Form validation setup jQuery('#bookingForm-159').validate({ errorPlacement: function(error, element) { var fieldName = element.attr('name'); var errorDiv = jQuery('#error-' + fieldName + '-159'); if (errorDiv.length) { errorDiv.removeClass('uk-hidden').html(error.html()); element.addClass('uk-form-danger'); } }, success: function(label, element) { var fieldName = jQuery(element).attr('name'); var errorDiv = jQuery('#error-' + fieldName + '-159'); if (errorDiv.length) { errorDiv.addClass('uk-hidden'); } jQuery(element).removeClass('uk-form-danger'); }, messages: { name: 'This field is required', surname: 'This field is required', email: { required: 'This field is required', email: 'Please enter a valid email' }, phone: 'This field is required', guests: 'This field is required' }, highlight: function(element) { jQuery(element).addClass('uk-form-danger'); }, unhighlight: function(element) { jQuery(element).removeClass('uk-form-danger'); } }); // Submit button jQuery('#submitButton-159, #submitButtonRequest-159').on('click', function() { var isRequestForm = jQuery(this).attr('id') === 'submitButtonRequest-159'; // Clear all previous errors jQuery('.error-message').addClass('uk-hidden'); jQuery('.uk-form-danger').removeClass('uk-form-danger'); // Check if date is selected (only for online booking form) if (!isRequestForm &amp;&amp; !jQuery('#date-159').val()) { jQuery('#alert-date-159') .removeClass('uk-hidden') .html(' ' + 'Please select a date'); jQuery('html, body').animate({ scrollTop: jQuery('#alert-date-159').offset().top - 100 }, 400); return false; } jQuery('#alert-date-159').addClass('uk-hidden'); // Validate form if (jQuery('#bookingForm-159').valid()) { UIkit.modal('#modal-booking').show(); setTimeout(function() { jQuery('#bookingForm-159').submit(); }, 2000); } else { // Scroll to first error var firstError = jQuery('.uk-form-danger').first(); if (firstError.length) { jQuery('html, body').animate({ scrollTop: firstError.offset().top - 150 }, 400); } } }); // Update booking summary function updateSummary_159() { // Update date var selectedDate = jQuery('#date-159').val(); if (selectedDate) { var dateObj = new Date(selectedDate + 'T00:00:00'); var day = dateObj.getDate(); var month = dateObj.getMonth() + 1; var formattedDate = day + '/' + month; jQuery('#summary-date-159').html(formattedDate).removeClass('uk-text-muted'); } else { jQuery('#summary-date-159').html('-').addClass('uk-text-muted'); } if (showScheduleSelector) { // Update schedule var selectedSchedule = jQuery('#scheduleSelect-159 select').find(':selected').text(); if (selectedSchedule &amp;&amp; selectedSchedule !== '') { jQuery('#summary-schedule-159').html(selectedSchedule).removeClass('uk-text-muted'); } else { jQuery('#summary-schedule-159').html('-').addClass('uk-text-muted'); } } // Update guests var adults = jQuery('#guests-159').val() || 0; if (adults &gt; 0) { var total = parseInt(adults, 10); jQuery('#summary-guests-159').html(total + ' pax').removeClass('uk-text-muted'); } else { jQuery('#summary-guests-159').html('-').addClass('uk-text-muted'); } } // Listen to changes to update summary jQuery('#date-159').on('change', function() { updateSummary_159(); }); if (showScheduleSelector) { jQuery('#scheduleSelect-159').on('change', 'select', function() { updateSummary_159(); }); } jQuery('#guests-159').on('change', function() { updateSummary_159(); updatePrice_159(); }); // Listen for extras and pricing changes jQuery('.select-product-qty, #skipper-159, #halfday-159').on('change', function() { var dataBoat = jQuery(this).data('boat'); if (!dataBoat || dataBoat == 159) { updatePrice_159(); } }); // Coupon field debounce (kept optional if field is re-enabled later) if (jQuery('#cupon-159').length) { var cuponTimer_159; jQuery('#cupon-159').on('keyup change', function() { clearTimeout(cuponTimer_159); cuponTimer_159 = setTimeout(function() { updatePrice_159(); }, 1000); }); } // Update price function function updatePrice_159() { var date = jQuery('#date-159').val(); var guests = jQuery('#guests-159').val(); // Only calculate price if date and guests are selected if (!date || !guests) { jQuery('#summary-price-159').html('-').removeClass('uk-text-success').addClass('uk-text-secondary'); return; } var barco = jQuery('#boat-159').val(); var skipper = jQuery('#skipper-159').val() || 0; var coupon = jQuery('#cupon-159').length ? (jQuery('#cupon-159').val() || '') : ''; var half_day = jQuery('#halfday-159').is(':checked') ? 1 : 0; var extras = []; // Collect extras jQuery('.select-product-qty').each(function() { var dataBoat = jQuery(this).data('boat'); if (dataBoat == 159) { var fullId = jQuery(this).attr('id'); // e.g. 'extra-123-456' var parts = fullId.split('-'); var id_product = parts[1]; // Extract the actual extra ID var qty = parseInt(jQuery(this).val()) || 0; if (qty &gt; 0) { extras.push({id: id_product, cantidad: qty}); } } }); // Show loading jQuery('#summary-price-159').html('').removeClass('uk-text-success uk-text-danger').addClass('uk-text-secondary'); jQuery.ajax({ data: JSON.stringify({ boat: barco, date: date, guests: guests, extras: extras, coupon: coupon, half_day: half_day, skipper: skipper }), type: 'POST', dataType: 'json', contentType: 'application/json', url: 'https://nautiza.com/index.php?option=com_kpitanea&amp;view=ajax&amp;funcion=getPrice&amp;tmpl=raw' }) .done(function(response) { if (response.success &amp;&amp; response.price) { // Extract just the price number from response var priceMatch = response.price.match(/([0-9.,]+€)/); var priceText = priceMatch ? priceMatch[1] : response.price; jQuery('#summary-price-159').html(priceText).removeClass('uk-text-danger uk-text-secondary').addClass('uk-text-success'); } else { jQuery('#summary-price-159').html('-').removeClass('uk-text-success').addClass('uk-text-danger uk-text-secondary'); } }) .fail(function(xhr, status, error) { console.error('Price AJAX error:', status, error, xhr.responseText); jQuery('#summary-price-159').html('-').removeClass('uk-text-success').addClass('uk-text-danger uk-text-secondary'); }); } // Half day check function function checkHalfDay_159() { var date = jQuery('#date-159').val(); var barco = jQuery('#boat-159').val(); if (!date || !barco) return; jQuery.ajax({ data: JSON.stringify({date: date, boat: barco}), type: 'POST', dataType: 'json', contentType: 'application/json', url: 'https://nautiza.com/index.php?option=com_kpitanea&amp;view=ajax&amp;funcion=checkHalfDayAvailable&amp;tmpl=raw' }) .done(function(response) { if (response.success) { jQuery('#halfday-159').prop('disabled', false); jQuery('#half_day_not_available-159').addClass('uk-hidden'); } else { jQuery('#halfday-159').prop('disabled', true).attr('checked', false); jQuery('#half_day_not_available-159').removeClass('uk-hidden'); } }); } });
