I just found Pacific Boat Rentals


3&&!e.resolved&&(e.resolved=!0,u.emit(“xhr-resolved”,[],t)),d.inPlace(t,g,”fn-“,c)}function o(t){y.push(t),h&&(b?b.then(a):w?w(a):(E=-E,R.data=E))}function a(){for(var t=0;t0&&d(“lcp”,[n[n.length-1]])}function o(t){t.getEntries().forEach(function(t){t.hadRecentInput||d(“cls”,[t])})}function a(t){if(t instanceof h&&!w){var e=Math.round(t.timeStamp),n={type:t.type};el.offset&&e<=Date.now()?(e-=l.offset,n.fid=l.now()-e):e=l.now(),w=!0,d("timing",["fi",e,n])}}function c(t){d("pageHide",[l.now(),t])}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var s,f,u,d=t("handle"),l=t("loader"),p=t(22),h=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){s=new PerformanceObserver(r);try{s.observe({entryTypes:["paint"]})}catch(m){}f=new PerformanceObserver(i);try{f.observe({entryTypes:["largest-contentful-paint"]})}catch(m){}u=new PerformanceObserver(o);try{u.observe({type:"layout-shift",buffered:!0})}catch(m){}}if("addEventListener"in document){var w=!1,v=["click","keydown","mousedown","pointerdown","touchstart"];v.forEach(function(t){document.addEventListener(t,a,!1)})}p(c)}},{}],20:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var i,o="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",a="",c=0;c FishingBooker - Online charter fishing reservations FishingBooker - Online charter fishing reservations

Pacific Boat Rentals operates out of the famous sportfishing town of Jaco, Costa Rica, meeting clients on the beautiful Playa Herradura and taking them out for a great day on the water. The Mad Marlin is their latest vessel and the perfect boat to really get the most out of these legendary waters.

The Mad Marlin is a 24’ Polar walkaround, completely overhauled in 2017 and now looking as good a the day she was built. She can carry groups of up to six guests, cruising at over 20 knots to take you to the very best fishing spots around. The boat features a covered top to escape the sun and an enclosed head for extra comfort and convenience.

The vessel is rigged and ready for big battles offshore. A full battery of Raymarine electronics starts sweeping the deep in search of fish as soon as you leave the dock. Once you find them, her Taco 15’ outriggers and Cannon Easi-Troll downriggers will make sure no fish is out of reach.

Choose between half and full day trips, with the option of morning and afternoon charters and the ability to fish offshore or stay in the nearby bays. Both of these will produce amazing fishing, with big Marlin and Sailfish offshore and tasty Snappers and Mackerel inshore.

All Pacific Boat Rentals trips come with quality light and heavy tackle for a variety of techniques, as well as plenty of bait and one fishing license (additional licenses must be purchased at the cost of $15 per angler). You will also be given plenty of snacks and drinks to keep you going.

At the end of your trip, all your fish will be cleaned and filleted for you. You can take this away and cook it up or have it prepared in a local restaurant as the perfect end to your day, while you celebrate your triumphs and toast to the perfect fishing trip aboard the Mad Marlin.

  • You Keep Catch

  • Catch cleaning & filleting

  • Drinks

  • Toilet

  • Child Friendly

  • Snorkeling Equipment

  • Ice Box

  • Rods, reels & tackle

  • Food (Lunch & Snacks)

Most Popular Features:

  •  You Keep Catch
  •  Catch cleaning & filleting
  •  Drinks
  •  Toilet
  •  Child Friendly
  •  Snorkeling Equipment
  •  Ice Box
  •  Rods, reels & tackle
  •  Food (Lunch & Snacks)
  • Private trip

    Private trip

    Extreme Offshore Full Day(40 miles)

    FREE Cancellation 30 days notice

    10 Hour Trip, starts at 7:00 AM

    Get 40 miles offshore for the Billfish with more time and more possibilities for you. Suited to 1 – 4 adults or adults with children only. Going up to (40 miles) offshore.

  • Private trip

    Private trip

    Full Day Trip

    FREE Cancellation 30 days notice

    8 Hour Trip, starts at 7:00 AM

    Head offshore in search of Sailfish, Marlin, Mahi Mahi, and Tuna on this eight-hour deep sea trip. Or inshore for Roosterfish, or Jacks. Full drinks, snacks and lunch included. Suited to 1 – 4 anglers only because the boat size.

  • Private trip

    Private trip

    Private Charter to Tortuga’s Island

    FREE Cancellation 30 days notice

    6 Hour Trip, starts at 7:00 AM

    Start your day at 7am, arrive to Tortuga’s Island for a light snack , swim with lot of reef fish, get some fruits and white sand beach. After 12md start a fishing time for Small Tuna, Amberjack or Mackarel! Than before end your travel get relaxed 45 minutes in Playa Mantas Bay.

  • Private trip

    Private trip

    Half Day Fishing Trip (AM)

    FREE Cancellation 30 days notice

    5 Hour Trip, starts at 7:00 AM

    Spend the morning fishing the local bays and coastal waters for Tuna, Snapper, Bonito, Spanish Mackerel, Amberjack, and Mahi Mahi.

  • Private trip

    Private trip

    Half Day Fishing Trip (PM)

    FREE Cancellation 30 days notice

    5 Hour Trip, starts at 1:00 PM

    Spend the evening fishing the local bays and coastal waters for Tuna, Snapper, Bonito, Spanish Mackerel, Amberjack, and sometimes Mahi Mahi or deep drop fishing at 450 feet.

Your listing is turned off. Activate it to enable bookings and inquiries.

About the Charter Operator

Pacific Boat Rentals Costa Rica

Jacó, Puntarenas Province, Costa Rica

Response time within an hour
Member since October 2017

Pacific Boat Rentals started out providing affordable trips for tourists in the area. With 4 boats and a stronger focus on fishing, they now offer awesome days out targeting anything from Snapper to Marlin, while still maintaining their low-cost high-standard focus. This is the perfect way to enjoy Jaco’s awesome waters without the premium prices!

About this listing

Boat Specs

Polar (Walkaround) originally built in 2005, and restored in 2017. Powered by 2 115HP Yamaha 115TXR engines, with a maximum cruising speed of 26 knots.

Cancellation Policy

Customers can cancel or modify their booking up to 30 days before the trip date free of charge. If the trip is canceled or modified later, or in the event of a no-show, 100% of the deposit will be charged.

Booking confirmed

Cancel free of charge up to 30 days prior to your trip.

30 days before trip

After this, you may only cancel free of charge in the event of unsafe weather conditions, captain-related issues, or extenuating circumstances.

Trip date

Listing Policies

Pickup

Pickup not included

Transfer to/from departure site is not included in trip rates.

Payment

When paying the remaining balance with a credit card, there is a 2.5% fee.

Jacó Fishing Calendar

Loading Fish Calendar!

Please Wait…

Customer Reviews

Photos & videos by reviewers (83)

4.71

ExcellentExcellentExcellentExcellentExcellent out of 5 stars from 31 reviews

Boat

ExcellentExcellentExcellentExcellentExcellent

Crew

ExcellentExcellentExcellentExcellentExcellent

Experience

ExcellentExcellentExcellentExcellentExcellent

Anglers Claimed

Good experience

89%

Friendly captain

96%

Recommend this charter

94%

Appropriate for children

85%

Satisfied with the boat

96%

Catch intended fish

81%

Appropriate for children

85%

Satisfied with the boat

96%

Catch intended fish

81%

Anglers Claimed

Good experience

89%

Friendly captain

96%

Recommend this charter

94%

Appropriate for children

85%

Satisfied with the boat

96%

Catch intended fish

81%

Appropriate for children

85%

Satisfied with the boat

96%

Catch intended fish

81%
  Pacific Boat Rentals Costa Rica Charter Operator replied

Read More 

  Pacific Boat Rentals Costa Rica Charter Operator replied

Read More 

  Pacific Boat Rentals Costa Rica Charter Operator replied

Read More 

  Pacific Boat Rentals Costa Rica Charter Operator replied

Read More 

Loading Reviews!

Please Wait…

Finding the best local fishing charters for you…

Explore FishingBooker

© 2021 FishingBooker.com. All rights reserved.

‘ + data.title + ”; } } }) .on(‘typeahead:select’, function (e, o, dataSet) { navTabFieldSelected = true; $form.attr(‘action’, o.url); $searchKind.val(o.kind); $hiddenLocationField.val(o.locationName); $hiddenFeaturedIdField.val(”); if ((o.locationName || ”).trim().length > 0) { $hiddenLocationField.val(o.locationName); } this.blur(); displayIcons(); }) .on(‘keydown’, function (e) { displayIcons(); if (e.which === 13 || e.keyCode === 13 || e.which === 9 || e.keyCode === 9) { if (!navTabFieldSelected) { $(‘.tt-suggestion:first-child’) .trigger(‘click’); } e.stopPropagation(); e.preventDefault(); } navTabFieldSelected = false; }) .on(‘keyup’, function (e) { toggleClearSearchButton(!!$(e.currentTarget) .val()); }) .on(‘focus’, function () { if ($(window) .width()

>”; var traffic_source_date_SEPARATOR = “|>” var NONE = “(none)”; domain = domain || window.location.hostname; /* * Uncomment currTime() in order to activate. You should also uncomment the lines in the code that call this function (all marked with a comment). If you do so, uncomment the line above them which does not employ currTime() function currTime() { var date = new Date(); var currDate = date.getDate(); var hours = date.getHours(); var minutes = date.getMinutes(); var month = date.getMonth() + 1; var year = date.getFullYear(); var ampm = hours >= 12 ? ‘pm’ : ‘am’; hours = hours % 12; hours = hours ? hours : 12; // the hour ‘0’ makes ’12’ minutes = minutes < 10 ? '0' + minutes : minutes; var strTime = traffic_source_date_SEPARATOR + currDate + '-' + month + '-' + year + ' ' + hours + ':' + minutes + ' ' + ampm + ')'; return strTime; } */ function getURLParameter(param){ var pageURL = window.location.search.substring(1); var URLVariables = pageURL.split('&'); for (var i = 0; i < URLVariables.length; i++) { var parameterName = URLVariables[i].split('='); if (parameterName[0] == param) { return parameterName[1]; } } pageURL = removeProtocol(document.referrer); var pos = pageURL.indexOf("?"); pageURL = pageURL.substring(pos+1, pageURL.length); URLVariables = pageURL.split('&'); for (i = 0; i < URLVariables.length; i++) { parameterName = URLVariables[i].split('='); if (parameterName[0] == param) { return parameterName[1]; } } return null; } function getUtmParameter(){ var pageURL = window.location.search.substring(1); if(!isNotNullOrEmpty(pageURL)) { pageURL = removeProtocol(document.referrer); var pos = pageURL.indexOf("?"); pageURL = pageURL.substring(pos+1, pageURL.length); } var URLVariables = pageURL.split('&'); var result = {hasUtm : false, hasCpc : false}; for (var i = 0; i -1) { //if(end === -1) { // end = utmzCookie.length; //} //cookieCampaignName = "utmz:" + utmzCookie.substring((start + UTMSRC.length), end); data['old_utmz'] = cookieCampaignName = utmzCookie.substring(start); } } var UTMParams = getUtmParameter(); var UTMString = ""; var p = ""; var q = ""; var refererParam = ""; var rurlReferer = ""; var refererHost = ""; if (UTMParams.hasUtm == true) { for (var s in UTMParams) { if(s != "hasUtm" && s != "hasCpc") { UTMString += s + ": " + UTMParams[s] + "|"; } } UTMString = UTMString.substring(0, UTMString.length - 1); } if(cookieCampaignName != "" && isNotNullOrEmpty(urlParamSRC)){ data['trafficSource'] = urlParamSRC + traffic_source_COOKIE_TOKEN_SEPARATOR + cookieCampaignName; } else if(cookieCampaignName != ""){ if(document.referrer != ""){ refererHost = removeProtocol(document.referrer); data['trafficSource'] = "cookieCampaignName"; data['link'] = refererHost; } if(refererHost) { if(getURLParameter("gclid")) { data['trafficType'] = "Google Paid"; } else if(UTMParams.utm_source == "bing"){ if(UTMParams.hasCpc == true) { data['trafficType'] = "Bing Paid"; } else { data['trafficType'] = "Bing Organic"; } } else if(UTMParams.utm_source == "facebook"){ data['trafficType'] = "Facebook"; } else { data['trafficType'] = "old Cookie Campaign Traffic"; } if(UTMString){ data['utmData'] = UTMString; } } data['oldCookie'] = cookieCampaignName; } else if(document.referrer != ""){ var referrerHostName = removeProtocol(document.referrer); var GOOGLE = /www.google/; var YAHOO = /search.yahoo/; var BING = /www.bing/; var TRIPADVISOR = /www.tripadvisor/; var FACEBOOK = /facebook.com/; var TWITTER = /twitter.com/; var HULLTRUTH = /www.thehulltruth/; var SURFINGGATOR = /surfinggator.com/; var NEWORLEANS = /neworleanswebsites.com/; var ADDICTIVE = /addictivefishing.com/; var DESTINFISHING = /destinfishingforums.com/; if(GOOGLE.test(referrerHostName)){ data['trafficSource'] = "Google"; data['link'] = referrerHostName; if(getURLParameter("gclid")) { data['trafficType'] = "Google Paid"; } else { data['trafficType'] = "Google Organic"; } if(UTMString){ data['utmData'] = UTMString; } q = getURLParameter('q'); if(q){ data['q'] = decodeURIComponent(q); } refererParam = getURLParameter('referer'); if(refererParam){ data['referer'] = decodeURIComponent(refererParam); } rurlReferer = getURLParameter('rurl'); if(rurlReferer){ data['rurlReferer'] = decodeURIComponent(rurlReferer); } } else if(YAHOO.test(referrerHostName)){ data['trafficSource'] = "Yahoo"; data['link'] = referrerHostName; if(UTMParams.utm_source == "bing" && UTMParams.hasCpc == true){ data['trafficType'] = "Bing Paid"; } else { data['trafficType'] = "Yahoo Organic"; } if(UTMString){ data['utmData'] = UTMString; } p = getURLParameter('p'); if(p){ data['p'] = decodeURIComponent(p); } q = getURLParameter('q'); if(q){ data['q'] = decodeURIComponent(q); } refererParam = getURLParameter('referer'); if(refererParam){ data['referer'] = decodeURIComponent(refererParam); } rurlReferer = getURLParameter('rurl'); if(rurlReferer){ data['urlReferer'] = decodeURIComponent(rurlReferer); } } else if(BING.test(referrerHostName)){ data['trafficSource'] = "Bing"; data['link'] = referrerHostName; if(UTMParams.utm_source == "bing" && UTMParams.hasCpc == true){ data['trafficType'] = "Bing Paid"; } else { data['trafficType'] = "Bing Organic"; } if(UTMString){ data['utmData'] = UTMString; } p = getURLParameter('p'); if(p){ data['p'] = decodeURIComponent(p); } q = getURLParameter('q'); if(q){ data['q'] = decodeURIComponent(q); } refererParam = getURLParameter('referer'); if(refererParam){ data['referer'] = decodeURIComponent(refererParam); } rurlReferer = getURLParameter('rurl'); if(rurlReferer){ data['urlReferer'] = decodeURIComponent(rurlReferer); } } else if(TRIPADVISOR.test(referrerHostName)){ data['trafficSource'] = "TripAdvisor"; data['link'] = referrerHostName; } else if(FACEBOOK.test(referrerHostName)){ data['trafficSource'] = "Facebook"; data['link'] = referrerHostName; if(UTMParams.utm_source == "facebook"){ data['trafficType'] = "Facebook"; } if(UTMString){ data['utmData'] = UTMString; } } else if(TWITTER.test(referrerHostName)){ data['trafficSource'] = "Twitter"; data['link'] = referrerHostName; } else if(HULLTRUTH.test(referrerHostName)){ data['trafficSource'] = "The Hull Truth"; data['link'] = referrerHostName; } else if(SURFINGGATOR.test(referrerHostName)){ data['trafficSource'] = "The Surfinggator"; data['link'] = referrerHostName; } else if(NEWORLEANS.test(referrerHostName)){ data['trafficSource'] = "The Surfinggator"; data['link'] = referrerHostName; } else if(ADDICTIVE.test(referrerHostName)){ data['trafficSource'] = "Addictive Fishing"; data['link'] = referrerHostName; } else if(DESTINFISHING.test(referrerHostName)){ data['trafficSource'] = "Destin Fishing Forum"; data['link'] = referrerHostName; } else { data['trafficSource'] = "[Unknown Referer] Traffic"; data['link'] = referrerHostName; if(getURLParameter("gclid")) { data['trafficType'] = "Google Paid"; data['trafficSource'] = "[Unknown Referer] Google Traffic"; } else if(UTMParams.utm_source == "bing"){ if(UTMParams.hasCpc == true) { data['trafficType'] = "Bing Paid"; } else { data['trafficType'] = "Bing Organic"; } data['trafficSource'] = "[Unknown Referer] Bing Traffic"; } else if(UTMParams.utm_source == "facebook"){ data['trafficType'] = "Facebook"; data['trafficSource'] = "[Unknown Referer] Facebook Traffic"; } else { data['trafficType'] = "Unknown Organic"; } if(UTMString){ data['utmData'] = UTMString; } } } else { data['trafficSource'] = "(none) Traffic"; refererHost = removeProtocol(document.referrer); if(refererHost) { data['link'] = refererHost; } else { refererHost = window.location.search.substring(1); data['link'] = "[No Referer] "+refererHost; } if(getURLParameter("gclid")) { data['trafficType'] = "Google Paid"; } else if(UTMParams.utm_source == "bing"){ if(UTMParams.hasCpc == true) { data['trafficType'] = "Bing Paid"; } else { data['trafficType'] = "Bing Organic"; } } else if(UTMParams.utm_source == "facebook"){ data['trafficType'] = "Facebook"; } else { data['trafficType'] = "[No Referer] Traffic"; } if(UTMString){ data['utmData'] = UTMString; } } var cookieData = ""; $.each(data, function(index, value){ switch(index) { case 'trafficSource': cookieData += "ts= "+ value + "> “; break; case ‘link’: cookieData += “l= “+ value + “> “; break; case ‘trafficType’: cookieData += “tt= “+ value + “> “; break; case ‘utmData’: cookieData += “ud= “+ value + “> “; break; case ‘q’: cookieData += “q= “+ value + “> “; break; case ‘p’: cookieData += “p= “+ value + “> “; break; case ‘refererParam’: cookieData += “rp= “+ value + “> “; break; case ‘rurlReferer’: cookieData += “rur= “+ value + “> “; break; case ‘oldCookie’: cookieData += “oc= “+ value + “> “; break; default: cookieData += “”; } }); if(cookieData) { cookieData = cookieData.substring(0, cookieData.length – 2); } window.setCookie(cookieName, cookieData, { expires : 90, path: ‘/’ }); data[‘cookieValue’] = window.getCookie(cookieName); } })(“fbac”, “.fishingbooker.com”); ]]>

×’, content: fishContent2 }).on(‘shown.bs.popover’, function (e) { var popover = $(this); $(‘#close-2’).on(‘click’, function (e) { popover.popover(‘hide’); }); }); var fishContent90 = $.parseHTML(” + ” + ‘Size’ + ‘2 to 12lbs’ + ” + ” + ” + ‘Food Value’ + ‘Average’ + ” + ” + ” + ‘Game Qualities’ + ‘Low’ + ” + ” + ” + ‘Habitats’ + ‘Nearshore’ + ” + ” + ” + ‘Techniques’ + ‘Deep Sea Fishing, Light Tackle, Jigging, Trolling, Drift Fishing’ + ” + ”); $(‘#fish-species-item-90 .popover-trigger’).popover({ container: ‘body’, html: true, placement: ‘bottom’, title: ‘Bonito 1; $(document) .on(‘click’, ‘.js-report-card-item’, function (event) { $(‘.js-report-card-modal’) .modal(‘show’); var element = event.target; while (!element.classList.contains(‘js-report-card-item’)) { element = element.parentNode; } var reportId = element.getAttribute(‘data-id’); reports.forEach(function (report, index) { if (report.id === reportId) { currentReportIndex = index; } }); showModalContent(currentReportIndex); }); function showModalContent(reportIndex) { currentPhotoIndex = 0; var selectedReport = reports[reportIndex]; var dateReported = new Date(selectedReport.date_fishing); var tempReportPhotoUrls = reportPhotoUrls[selectedReport.id]; if (shouldDisplayNextAndPrevButtons) { $(‘.js-report-card-modal-prev-button-container’) .toggle(true); $(‘.js-report-card-modal-next-button-container’) .toggle(true); $(‘.js-report-card-modal-close-button-container’) .css(‘width’, ‘33%’); } else { $(‘.js-report-card-modal-prev-button-container’) .toggle(false); $(‘.js-report-card-modal-next-button-container’) .toggle(false); $(‘.js-report-card-modal-close-button-container’) .css(‘width’, ‘100%’); } if (tempReportPhotoUrls.length === 1) { $(‘.js-report-card-modal-prev-photo’) .toggle(false); $(‘.js-report-card-modal-next-photo’) .toggle(false); $(‘.js-report-card-modal-header-info-photo-count-container’) .toggle(false); } else { $(‘.js-report-card-modal-prev-photo’) .toggle(true); $(‘.js-report-card-modal-next-photo’) .toggle(true); $(‘.js-report-card-modal-header-info-photo-count-container’) .toggle(true); } $(‘.js-report-card-modal-header-title’) .text(selectedReport.title); $(‘.js-report-card-modal-header-info-date’) .text(monthNames[dateReported.getMonth()] + ‘ ‘ + dateReported.getDate()); $(‘.js-report-card-modal-header-info-photo-count’) .text(tempReportPhotoUrls.length + ‘ photos’); $(‘.js-report-card-modal-body-content’) .text(selectedReport.content); showGalleryPhoto(currentPhotoIndex); } function showGalleryPhoto(photoIndex) { if (currentReportIndex === reports.length – 1) { $(‘.js-report-card-modal-next-button’) .attr(‘disabled’, ‘disabled’); } else { $(‘.js-report-card-modal-next-button’) .removeAttr(‘disabled’); } if (currentReportIndex === 0) { $(‘.js-report-card-modal-prev-button’) .attr(‘disabled’, ‘disabled’); } else { $(‘.js-report-card-modal-prev-button’) .removeAttr(‘disabled’); } var tempCurrentReportId = reports[currentReportIndex].id; var tempReportPhotoUrls = reportPhotoUrls[tempCurrentReportId]; if (tempReportPhotoUrls.length === 1) { $(‘.js-report-modal-gallery-index-info-container’) .toggle(false); } else { $(‘.js-report-modal-gallery-index-info-container’) .toggle(true); $(‘.js-current-gallery-index’) .text(photoIndex + 1); $(‘.js-total-gallery-images’) .text(tempReportPhotoUrls.length); } $(‘.js-report-card-modal-body-gallery’) .css(‘background-image’, ‘url(‘ + tempReportPhotoUrls[photoIndex] + ‘)’); } $(document) .on(‘click’, ‘.js-report-card-modal-prev-button’, function () { currentReportIndex = (currentReportIndex – 1) < 0 ? 0 : currentReportIndex - 1; showModalContent(currentReportIndex); }); $(document) .on('click', '.js-report-card-modal-next-button', function () { currentReportIndex = (currentReportIndex + 1) === reports.length ? (reports.length - 1) : currentReportIndex + 1; showModalContent(currentReportIndex); }); $(document) .on('click', '.js-report-card-modal-prev-photo', function () { var tempCurrentReportId = reports[currentReportIndex].id; var tempReportPhotoUrls = reportPhotoUrls[tempCurrentReportId]; currentPhotoIndex = (currentPhotoIndex - 1) 0) { mode = 'add'; } var glyph = $('.js-near-me-glyph'); var glyphRemove = $('.js-reset-search'); switch (mode) { case 'add': if (action.endsWith('/charters/search') && input.val() === 'Fishing near me') { input.css('padding-left', '35px'); $('.tt-hint') .css('padding-left', '30px'); glyph.show(); glyphRemove.show(); } else { input.css('padding-left', '12px'); glyph.hide(); glyphRemove.hide(); } break; default: input.css('padding-left', '12px'); glyph.hide(); glyphRemove.hide(); break; } } function initializeDatepicker(elem) { var myDate = new Date(); var monthNames = [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ]; var daysInAdvance = 1; var displayDate = monthNames[myDate.getMonth()] + ' ' + (myDate.getDate() + daysInAdvance) + ', ' + myDate.getFullYear(); var endDate = monthNames[myDate.getMonth()] + ' ' + (myDate.getDate()) + ', ' + (myDate.getFullYear() + 1); $(elem) .datepicker({ format: 'M d, yyyy', startDate: displayDate, endDate: endDate, todayBtn: false, keyboardNavigation: false, forceParse: false, autoclose: true, maxViewMode: 0, disableTouchKeyboard: true, language: 'en', orientation: 'bottom left' }); } function initializeTypeahead(elem) { var omnisearch = new Bloodhound({ name: 'omnisearch', datumTokenizer: Bloodhound.tokenizers.whitespace, queryTokenizer: Bloodhound.tokenizers.whitespace, remote: { url: '/api/searchapi?q=%QUERY&source=sidebar', wildcard: '%QUERY' } }); omnisearch.initialize(); var charterpageSearchItemSelected = false; var elemId = '#' + $(elem) .attr('id'); $(elem) .typeahead({ hint: true, highlight: true, minLength: 1 }, { name: 'omnisearch', displayKey: 'title', source: omnisearch.ttAdapter(), templates: { notFound: function () { return "Sorry, there are no results for your search criteria."; }, pending: function () { return "n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n "; }, suggestion: function (data) { var suggestionIcon = resolveTypeaheadIcons(data.kind); return ' ‘ + data.title + ”; } } }); $(document) .on(‘typeahead:select’, elemId, function (e, o, dataSet) { charterpageSearchItemSelected = true; $form.attr(‘action’, o.url); $searchKind.val(o.kind); $hiddenLocationField.val(o.locationName); $hiddenFeaturedIdField.val(”); if ((o.locationName || ”).trim().length > 0) { $hiddenLocationField.val(o.locationName); } if (o.kind === ‘charter’) { $searchTriggered.val(1); $searchTriggered.removeAttr(‘disabled’); } if (!$dateField.val()) { $dateField.datepicker(‘show’); } this.blur(); displayIcons(); }); $(document) .on(‘keypress’, elemId, function (e) { if (e.which === 13 || e.keyCode === 13 || e.which === 9 || e.keyCode === 9) { if (!charterpageSearchItemSelected) { $(‘.tt-suggestion:first-child’) .trigger(‘click’); } e.stopPropagation(); e.preventDefault(); } charterpageSearchItemSelected = false; }); $(document) .on(‘focus’, elemId, function () { if ($(window) .width() < 1000) { setTimeout(function () { $(this) .select(); }.bind(this), 1); } }); } function initSelectors() { $form = $('#charter_search_form'); $searchField = $('#charterpageSearch-input'); $hiddenLocationField = $('#search_location'); $hiddenFeaturedIdField = $('#featured_id'); $searchKind = $('#search_kind'); $dateField = $('#search_booking_date'); $dateServerField = $('#booking_date'); $dateFieldContainer = $('.date-container'); $priceFrom = $('#priceFrom'); $priceTo = $('#priceTo'); $checkboxFilters = $('#filters input:checkbox'); $searchTriggered = $('#search_triggered'); initializeDatepicker($dateField); initializeTypeahead($searchField); $('.js-reset-search') .on('click', function () { $searchField.val(''); displayIcons(); }); } var $form, $searchField, $hiddenLocationField, $hiddenFeaturedIdField, $searchKind, $dateField, $dateServerField, $dateFieldContainer, $priceFrom, $priceTo, $checkboxFilters, $searchTriggered; displayIcons(); initSelectors(); $(document) .on('submit', '#charter_search_form', function (e) { var form = this; var $btn = $(document.activeElement); var buttonTriggeredSubmit = false; var actionUrl = $(this) .attr('action') || ''; if ($btn.length && $form.has($btn) && $btn.is('button[type="submit"], input[type="submit"], input[type="image"]')) { buttonTriggeredSubmit = true; } if (buttonTriggeredSubmit) { $priceFrom.attr('disabled', 'disabled'); $priceTo.attr('disabled', 'disabled'); $checkboxFilters.attr('disabled', 'disabled'); if (actionUrl.trim().length === 0) { e.preventDefault(); alert('Sorry, we need at least a city, charter company or captain to start searching.'); $searchField.focus(); } else { e.preventDefault(); if ($searchKind.val() !== 'location') { $hiddenLocationField.attr('disabled', 'disabled'); } if ($hiddenFeaturedIdField.val().length === 0) { $hiddenFeaturedIdField.attr('disabled', 'disabled'); } fbkrTrackEvent('Search', 'Submit', $searchKind.attr('value')); if (actionUrl.endsWith('/charters/search') && navigator.geolocation) { displayIcons(); $('#search-form-input') .val("Loading current location"); navigator.geolocation.getCurrentPosition( function (position) { $(form) .find('input[name="lat"]') .val(Math.round(position.coords.latitude * 10000) / 10000) .removeAttr('disabled'); $(form) .find('input[name="lng"]') .val(Math.round(position.coords.longitude * 10000) / 10000) .removeAttr('disabled'); setTimeout(function () { this.submit(); }.bind(this), 500); }.bind(this), function () { setTimeout(function () { this.submit(); }.bind(this), 500); return false; }.bind(this), { timeout: 10000 } ); } else { setTimeout(function () { this.submit(); }.bind(this), 500); } } } }); $(document) .on('change', '#filters input:checkbox', function (e) { e.preventDefault(); e.stopPropagation(); $('#sidebar-filters-offset') .val(0); $('#sidebar-search-filters') .submit(); var action = $(this) .is(':checked') ? 'Selected' : 'Deselected', filterType = $(this) .attr('name') .replace('[]', ''), filterName = $(this) .val(); fbkrTrackEvent('FilterGroup', action, filterType); fbkrTrackEvent('FilterItem', action, filterName); }); $(document) .on('click', '.selected-additional-filter', function (e) { e.preventDefault(); $(this) .remove(); var checkbox = document.querySelectorAll('input[value="' + $(this) .attr('data-filter-param-value') + '"]')[0]; checkbox.checked = false; if ($('.selected-additional-filter').length === 0) { $('#selected-sidebar-filters') .addClass('hidden'); } $(checkbox) .trigger('change'); }); var currentRequest; $(document) .on('submit', '#sidebar-search-filters', function (e) { e.preventDefault(); e.stopPropagation(); var getParams = $(this) .serialize(); if (currentRequest && currentRequest.readyState !== 4) { currentRequest.abort(); } var startTime = new Date().getTime(); currentRequest = $.ajax({ url: '/charters/view/9007?' + getParams, method: 'GET', beforeSend: function () { $('#search-result-loader') .show(); }, success: function (response) { var requestTime = new Date().getTime() - startTime; setTimeout(function () { $('#neo-search') .replaceWith(response); if ($('#empty-search-results-form').length) { fbkrTrackEvent('Search', 'Empty search results'); } initSelectors(); displayIcons(); $('html, body') .animate({ scrollTop: $('.navbar-header') .offset().top }, 'slow'); history.replaceState('', '', '/charters/view/9007?' + getParams); $('.fishFilter-inner') .expendable({ lineNumber: 15, moreText: 'Show more' }); $('.fishingTypeFilter-inner') .expendable({ lineNumber: 15, moreText: 'Show more' }); $('.fishingTechniqueFilter-inner') .expendable({ lineNumber: 15, moreText: 'Show more' }); $('[rel=tooltip]') .tooltip(); if (window.lazyLoadInstance) { window.lazyLoadInstance.update(); } $(document) .trigger('search.form.updated'); }, requestTime -1) return { enabled: false }; }, language: ‘en’ }); $datepicker.datepicker() .on(‘changeDate’, function (e) { $datepickerServerField.val(e.format(‘mm-dd-yyyy’)); }); $datepickerAddon.on(‘click’, function (e) { $datepicker.datepicker(‘show’); }); }); $(document) .ready(function () { var packagesXhr = null; function addEventListenerOnNextAvailableDate() { $(‘.date-button’) .on(‘click’, function (e) { e.preventDefault(); var availableDate = $(this) .attr(‘data-date’); var bookingAvailabilityForm = $(‘#booking_date_availability_form’); var searchedDate = bookingAvailabilityForm.val(); var intervalDays = (new Date(availableDate) – new Date(searchedDate)) / 1000 / 60 / 60 / 24; if ($(‘.availability-widget’) .is(‘:visible’)) { window.fbkrTrackEvent( ‘Availability widget’, ‘Clicked’, ‘Unavailable dates’, intervalDays ); } if ($(‘.short-notice-widget’) .is(‘:visible’)) { window.fbkrTrackEvent( ‘Availability widget’, ‘Clicked’, ‘Short notice dates’, intervalDays ); } $(‘#booking_date_availability_form_search’) .datepicker(‘update’, availableDate); bookingAvailabilityForm.val(availableDate); reloadTrips(packagesXhr); }); } addEventListenerOnNextAvailableDate(); var $datepicker = $(‘#booking_date_availability_form_search’); //hide error field for not selected package $(‘#packages-error-container’) .hide(); $(‘#packages-container’) .on(‘load’, function () { var bookingForm = $(‘#booking_form_step1’); bookingForm.off() .on(‘submit’, function (e) { var tripDate = $(‘#booking_date_availability_form’) .val(); if (tripDate === ”) { e.preventDefault(); e.stopPropagation(); $(‘html, body’) .animate({ scrollTop: $(‘#booking_form_step1’) .offset().top – 50 }, 200); $datepicker.datepicker(‘show’); } else { if ($(‘[id^=view-availability]’).length !== 0) { reloadTrips(packagesXhr); $(‘#change-search-header’) .addClass(‘hidden’); $(‘#change-search-header-date-empty’) .removeClass(‘hidden’); if (isMobile) { $(‘.selected-trip-options-container’) .show(); $(‘.packages-outer-container’) .hide(); } else { $(‘.selected-trip-options-container’) .hide(); $(‘.packages-outer-container’) .show(); $(‘.packages-outer-container’) .removeClass(‘without-date’); $(‘.packages-form-header’) .find(‘input’) .css(‘padding-left’, ’12px’); $(‘.packages-form-header’) .find(‘.search-form-icon-left’) .addClass(‘hidden’); $(‘.packages-form-header’) .find(‘select, input’) .addClass(‘form-filled’); $(‘.packages-form-header’) .find(‘select, input’) .removeClass(‘arrow’); $(‘#check-availability-btn’) .addClass(‘hidden’); $(‘#change-search-btn’) .removeClass(‘hidden’); } e.preventDefault(); e.stopPropagation(); return; } else { window.fbkrTrackEvent(‘Checkout’, ‘Clicked’, ‘Book now – charter view’); var prebookSpinner = $(‘#prebook-spinner’); if (prebookSpinner) { prebookSpinner.show(); } } } }); bookingForm.on(‘click’, ‘:submit’, function () { var submitButtonName = $(this) .attr(‘name’); //mark submit btn as clicked $(‘button[name=’booking_package’]’, $(this) .parents(‘form’)) .removeAttr(‘clicked’); $(this) .attr(‘clicked’, ‘true’); }); $(‘.bookbtn-single-package’) .off() .on(‘click’, function (e) { var $this = $(this); if (!$this.hasClass(‘single-package-bookbtn-mobile’) && !$this.hasClass(‘single-package-bookbtn-desktop’)) { $(‘#booking_date_availability_form_search’) .click(); $(‘.change-date-action’) .click(); if ($this.hasClass(‘check-availability’) && $(‘#booking_date_availability_form’) .val()) { setTimeout(function () { reloadTrips(packagesXhr); }, 200); } else { $datepicker.datepicker(‘show’); } } }); }) .trigger(‘load’); function reloadTrips(packagesXhrItem) { var $packagesContainer = $(‘#packages-container’); var oldDate = $packagesContainer.data(‘newDate’); var oldDays = $packagesContainer.data(‘newDays’); var oldPersons = $packagesContainer.data(‘newPersons’); var featuredPackage = null; var newDateFormatted = $(‘#booking_date_availability_form_search’) .val(); var newDate = $(‘#booking_date_availability_form’) .val(); var newDays = $(‘#booking_days’) .val(); var newPersons = $(‘.charter-availability-form’) .find(‘[name=”booking_persons”]’) .val(); var coupon = $(‘[name=”coupon”]’) .val(); if (newDate !== oldDate || newDays !== oldDays || newPersons !== oldPersons) { $packagesContainer.data(‘newDate’, newDate); $packagesContainer.data(‘newDays’, newDays); if (packagesXhrItem != null) { packagesXhrItem.abort(); } setTimeout(function () { $.ajax({ url: ‘https://fishingbooker.com/charters/view_ajax_packages/9007?’ + $.param({ booking_date: newDate, booking_days: newDays, booking_persons: $(‘.charter-availability-container’) .find(‘[name=”booking_persons”]’) .val(), booking_children: $(‘.charter-availability-container’) .find(‘input[name=”booking_children”]’) .val(), coupon: coupon, featured_package: featuredPackage }), beforeSend: function () { $(‘#change-search-btn, #check-availability-btn’) .addClass(‘disabled’); $(‘#change-search-btn, #check-availability-btn’) .attr(‘disabled’, ‘disabled’); $(‘#packages-container’) .find(‘li’) .each(function (index, elem) { $(”) .css({ position: ‘absolute’, left: ’10px’, top: ’10px’, right: ’10px’, bottom: ’10px’, zIndex: 100, backgroundColor: ‘#fff’, borderRadius: ‘3px’ }) .appendTo($(elem) .css(‘position’, ‘relative’)); }); }, success: function (response) { $packagesContainer.html(response) .trigger(‘load’); checkIfWidgetIsAvailable(); $(‘#change-search-btn, #check-availability-btn’) .removeClass(‘disabled’); $(‘#change-search-btn, #check-availability-btn’) .removeAttr(‘disabled’); //no packages available if ($(‘.packages-container-header-unavailable’)[0] !== undefined) { $(‘.recommended-charters’) .removeClass(‘hidden’); } bindPackageModalTitles(); bindTooltip(); wrongNumberOfDaysPersons(); createSwiper(); bindCollapseCallback(); addEventListenerOnNextAvailableDate(); updateCancellationPolicy(newDate); $(‘#change-search-header’) .addClass(‘hidden’); $(‘#change-search-header-date-empty’) .removeClass(‘hidden’); if (isMobile) { $(‘.selected-trip-options-container’) .show(); $(‘.packages-outer-container’) .hide(); } else { $(‘.selected-trip-options-container’) .hide(); $(‘.packages-outer-container’) .show(); $(‘.packages-outer-container’) .removeClass(‘without-date’); $(‘.packages-form-header’) .find(‘select, input’) .addClass(‘form-filled’) .removeClass(‘arrow’); $(‘.packages-form-header’) .find(‘input’) .css(‘padding-left’, ’12px’); $(‘.packages-form-header’) .find(‘.search-booking-persons’) .css(‘padding-left’, ’12px’); $(‘.packages-form-header’) .find(‘.search-form-icon-left’) .addClass(‘hidden’); $(‘#check-availability-btn’) .addClass(‘hidden’); $(‘#change-search-btn’) .removeClass(‘hidden’); } }, error: function () { $packagesContainer.html( ‘

Error ocurred’); } }); }, 0); } if (history.replaceState) { history.replaceState(”, ”, URI(location.search) .setSearch({ booking_date: newDate, booking_days: newDays, booking_persons: newPersons, booking_children: $(‘.charter-availability-container’) .find(‘input[name=”booking_children”]’) .val() })); } $(‘#search_booking_date’) .datepicker(‘update’, newDateFormatted); $(‘#booking_date’) .val(newDate); $(‘a#search_booking_date’) .html(newDateFormatted); $(‘a#search_booking_days’) .html($(‘#booking_days option:selected’) .text()); $(‘a#search_booking_persons’) .html($(‘#booking_persons option:selected’) .text()); $(‘a[href*=”/charters/”]’) .each(function (index, link) { var $link = $(link); var aHref = $link.attr(‘href’); if (!aHref.match(//charters/(search|view|d+)/)) { return; } var uri = URI($link.attr(‘href’)); var domain = uri.domain(); uri.setSearch({ booking_date: newDate, booking_days: newDays, booking_persons: newPersons, booking_children: $(‘.charter-availability-container’) .find(‘input[name=”booking_children”]’) .val() }); if (domain == ‘localhost’ || domain == ‘dev.fishingbooker.com’ || domain == ‘fishingbooker.com’) { $link.attr(‘href’, uri); } }); addEventListenerOnNextAvailableDate(); } $(‘#search_booking_days’) .on(‘change’, function () { $(‘#booking_days’) .val($(this) .val()); }); $(‘#search_booking_persons’) .on(‘change’, function () { $(‘#booking_persons’) .val($(this) .val()); }); $(‘#check-availability-btn’) .on(‘click’, function (e) { e.preventDefault(); if (!$(‘#booking_date_availability_form’) .val()) { $datepicker.datepicker(‘show’); } else { reloadTrips(packagesXhr); } }); $(‘a#search_booking_date’) .on(‘click’, function (e) { e.preventDefault(); $datepicker.datepicker(‘show’); }); $(‘#change-search-btn, #booking_date_availability_form_search, #booking_days, #booking_persons, .search-booking-persons’) .on(‘click’, function (e) {onChangeSearch(e, this);}); bindCollapseCallback(); wrongNumberOfDaysPersons(); //deprecated, forgot to remove when deleting old experiment $(document) .on(‘click’, ‘.package-read-more’, function (e) { e.stopPropagation(); packageReadMoreDescription($(this)); }); $(document) .on(‘click’, ‘.package-read-less’, function (e) { e.stopPropagation(); packageReadLessDescription($(this)); }); $(‘.free-cancellation-link’) .click(function (event) { dataLayer.push({ ‘event’: ‘GAEvent’, ‘eventCategory’: ‘CTA’, ‘eventAction’: ‘FreeCancellation’, ‘eventLabel’: $(event.currentTarget) .data(‘location’), ‘eventValue’: undefined }); }); $(document) .on(‘click’, ‘.bpg-modal-open’, function (event) { $(‘#bpg-modal’) .modal(‘show’); bestPriceGuaranteeCTAEvent($(event.currentTarget) .data(‘location’)); }); function bestPriceGuaranteeCTAEvent(eventLabel) { dataLayer.push({ ‘event’: ‘GAEvent’, ‘eventCategory’: ‘CTA’, ‘eventAction’: ‘BPGModal’, ‘eventLabel’: eventLabel, ‘eventValue’: undefined }); } $(document).on(‘click’, ‘.js-destination-block-button’, function () { $(‘#booking_date_availability_form’) .val($(this).attr(‘data-date’)); reloadTrips(null); }); }); function updateCancellationPolicy(newDate){ var cancellationPolicyContainer = $(‘.js-cancellation-policy-container’); $.ajax({ url: ‘https://fishingbooker.com/charters/get_cancellation_policy/9007?trip_date=’ + newDate, success: function (response) { cancellationPolicyContainer.html(response); } }); } $(window) .load(function () { if ($(‘.matched-package’)[0]) { $(‘html, body’) .animate({ scrollTop: $(‘.charter-availability-form’) .offset().top – 40 }, ‘slow’); } }); ]]>

767 && $(this) .scrollTop() >= 65) { alertContainer.addClass(‘sticky’); } else { alertContainer.removeClass(‘sticky’); } }); var showPageViewsDestinationAlert = false; var showPeakSeasonAlert = false; var showBookingAbandonmentAlert = false; var showPageViewsListingAlert = true; var showLastBookedAlert = false; var alertsTriggered = 0; var alertsLimit = isMobile ? 1 : 3; var alertDelays = [4000, 7000, 10000]; if (showBookingAbandonmentAlert === true && alertsTriggered < alertsLimit) { setTimeout(function () { var alert = $('#abandonedBooking'); $(alert) .addClass('in'); $(alert) .removeClass('hidden'); setTimeout(function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }, 120000); $(alert) .on('click', function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }); }, alertDelays[alertsTriggered]); alertsTriggered++; } var alertClose = $('#cartAbandonmentButton'); $(alertClose) .on('click', function () { $.ajax({ method: 'POST', url: '/api/alertsapi/blockAlert' }); }); if (showPageViewsDestinationAlert && alertsTriggered < alertsLimit) { setTimeout(function () { var alert = $('#pageViewsDestinationAlert'); $(alert) .addClass('in'); $(alert) .removeClass('hidden'); setTimeout(function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }, 12000); $(alert) .on('click', function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }); }, alertDelays[alertsTriggered]); alertsTriggered++; } if (showPeakSeasonAlert && alertsTriggered < alertsLimit) { setTimeout(function () { var alert = $('#peakSeasonAlert'); $(alert) .addClass('in'); $(alert) .removeClass('hidden'); setTimeout(function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }, 12000); $(alert) .on('click', function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }); }, alertDelays[alertsTriggered]); alertsTriggered++; } if (showPageViewsListingAlert && alertsTriggered < alertsLimit && !isMobile) { setTimeout(function () { var alert = $('#pageViewsListingAlert'); $(alert) .addClass('in'); $(alert) .removeClass('hidden'); setTimeout(function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }, 12000); $(alert) .on('click', function () { $(alert) .addClass('hidden'); $(alert) .removeClass('in'); }); }, alertDelays[alertsTriggered]); alertsTriggered++; } if (showLastBookedAlert && alertsTriggered
Source

Leave a Reply

Your email address will not be published. Required fields are marked *