{"id":21458,"date":"2020-12-02T11:03:22","date_gmt":"2020-12-02T11:03:22","guid":{"rendered":"https:\/\/www.avantcar.hr\/rezervacije\/"},"modified":"2021-04-21T08:13:14","modified_gmt":"2021-04-21T08:13:14","slug":"reservations","status":"publish","type":"page","link":"https:\/\/www.avantcar.hr\/en\/reservations\/","title":{"rendered":"Reservations"},"content":{"rendered":"<h3>Reservation<\/h3>\n<p>\t\t\n<form action=\"https:\/\/booking.avantcar.hr\/search\" method=\"get\" class=\"wpcf7-form init cf7_custom_style_1\" novalidate=\"novalidate\" data-status=\"init\" id=\"rez-forma\">\n    <div style=\"display:none;\">\n        <input type=\"hidden\" name=\"lang\" value=\"en\">\n\n        <!-- Renteon drop-off params -->\n        <input type=\"hidden\" name=\"DropOffLocationId\" id=\"DropOffLocationId\" value=\"\">\n        <input type=\"hidden\" name=\"dropOffLocationId\" id=\"dropOffLocationId\" value=\"\">\n\n        <!-- IMPORTANT: actual city_do_id we send (so we can keep dropdown value visible) -->\n        <input type=\"hidden\" name=\"city_do_id\" id=\"city_do_id_hidden\" value=\"\">\n    <\/div>\n\n    <div class=\"rezervacija\">\n\n        <div class=\"mjesto-icon\">\n            <label>Pick-up location<\/label>\n            <div class=\"polje\">\n                <img decoding=\"async\" src=\"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/11\/dot.png\" alt=\"dot\">\n                <span class=\"wpcf7-form-control-wrap mpreuzimanje\">\n                    <select name=\"city_pu_id\" id=\"kraj-prevzem\" class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\">\n                        <option value=\"28\">Zagreb Airport<\/option>\n                        <option value=\"32\">Zagreb Downtown<\/option>\n                        <option value=\"35\">Zadar Airport<\/option>\n                        <option value=\"33\">Split Downtown<\/option>\n                        <option value=\"34\">Split Airport<\/option>\n                        <option value=\"36\">Dubrovnik Downtown<\/option>\n                        <option value=\"38\">Dubrovnik Airport<\/option>\n                    <\/select>\n                <\/span>\n            <\/div>\n        <\/div>\n\n        <div class=\"mjesto-icon\">\n            <label>Return location<\/label>\n            <div class=\"polje\">\n                <img decoding=\"async\" src=\"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/11\/dot.png\" alt=\"dot\">\n                <span class=\"wpcf7-form-control-wrap mpovrat\">\n                    <select name=\"city_do_id_ui\" id=\"kraj-vracilo\" class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\">\n                        <option value=\"\" selected disabled>Select return location<\/option>\n\n                        <!-- HR office locations (existing flow) -->\n                        <option value=\"28\">Zagreb Airport<\/option>\n                        <option value=\"32\">Zagreb Downtown<\/option>\n                        <option value=\"35\">Zadar Airport<\/option>\n                        <option value=\"33\">Split Downtown<\/option>\n                        <option value=\"34\">Split Airport<\/option>\n                        <option value=\"36\">Dubrovnik Downtown<\/option>\n                        <option value=\"38\">Dubrovnik Airport<\/option>\n\n                        <!-- NEW DropOffLocationId choices -->\n                        <option value=\"1\">Ljubljana Airport<\/option>\n                        <option value=\"2\">Ljubljana Center 1 (Dunajska cesta 140)<\/option>\n                        <option value=\"3\">Ljubljana Center 2 (Trdinova ulica 9)<\/option>\n                        <option value=\"5\">Koper Center<\/option>\n                        <option value=\"6\">Maribor Center<\/option>\n                        <option value=\"105\">Skopje Airport<\/option>\n                    <\/select>\n                <\/span>\n            <\/div>\n            <p><\/p>\n        <\/div>\n\n        <div class=\"vrijeme-icon\">\n            <label>Pick-up time<\/label>\n            <div class=\"polje duplo\">\n                <span class=\"wpcf7-form-control-wrap datum-preuzimanja\">\n                    <input id=\"datum_pu\" type=\"text\" name=\"datum_pu\" size=\"15\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required datepicker\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" placeholder=\"\" autocomplete=\"off\">\n                <\/span>\n                <span class=\"wpcf7-form-control-wrap vpreuzimanje custom-select\">\n                    <select name=\"time_pu\" id=\"time_pu\" class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\"><\/select>\n                <\/span>\n            <\/div>\n        <\/div>\n\n        <div class=\"vrijeme-icon\">\n            <label>Return time<\/label>\n            <div class=\"polje duplo\">\n                <span class=\"wpcf7-form-control-wrap datum-povrata\">\n                    <input type=\"text\" name=\"datum_do\" id=\"date\" size=\"15\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required datepicker\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"\" autocomplete=\"off\">\n                <\/span>\n                <span class=\"wpcf7-form-control-wrap vpovrat custom-select\">\n                    <select name=\"time_do\" id=\"time_do\" class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\"><\/select>\n                <\/span>\n            <\/div>\n        <\/div>\n\n        <div class=\"nastavi-btn\">\n            <input type=\"submit\" value=\"CONTINUE\" class=\"wpcf7-form-control wpcf7-submit\">\n        <\/div>\n\n    <\/div>\n<\/form>\n\n<div class=\"closing-popup-container\">\n    <div class=\"closing-popup\">\n        <h2>Note<\/h2>\n        <p class=\"popup-msg\"><\/p>\n        <div class=\"popup-btns\">\n            <div class=\"closing-popup-button nastavi\"><p>Continue<\/p><\/div>\n            <div class=\"closing-popup-button odustani\"><p>Back<\/p><\/div>\n        <\/div>\n    <\/div>\n\n    <script type=\"text\/javascript\">\n        var airportArray = [\"28\", \"34\", \"35\", \"38\"]; \/\/ airports for pickup popup rules\n        var officeIds    = [\"28\", \"32\", \"33\", \"34\", \"35\", \"36\", \"38\"]; \/\/ HR offices\n        var dropOffIds   = [\"1\", \"2\", \"3\", \"5\", \"6\", \"105\"]; \/\/ DropOffLocationId list (SI\/MK)\n\n        jQuery(\".closing-popup-button\").click(function () {\n            jQuery(\".closing-popup-container\").css(\"display\",\"none\");\n        });\n\n        \/\/ Initial time = now + 2h\n        var today = new Date();\n        var twoHoursLater = new Date(today.getTime() + (2 * 60 * 60 * 1000));\n        function padTime(num) { return num < 10 ? \"0\" + num : num; }\n        var initialTime = padTime(twoHoursLater.getHours()) + \":\" + padTime(twoHoursLater.getMinutes());\n        jQuery(\"#time_pu, #time_do\").val(initialTime);\n\n        \/\/ Keep exactly (as you had) so style doesn't change\n        jQuery(\"#datum_pu\").datepicker(\"option\", {\n            minDate: today,\n            startDate: today,\n            dateFormat: \"mm\/dd\/yy\"\n        });\n\n        jQuery(\"#rez-forma\").submit(function(e){\n\n            var pu = jQuery(\"#kraj-prevzem\").val();\n            var chosenDo = jQuery(\"#kraj-vracilo\").val(); \/\/ what user selected in UI dropdown\n\n            \/\/ Force user to explicitly choose drop-off\n            if (!chosenDo) {\n                e.preventDefault();\n                alert(\"Please select a return location.\");\n                return;\n            }\n\n            \/\/ Always submit the chosen drop-off as city_do_id. The booking\n            \/\/ controller checks Office.is_foreign on that ID and, when true,\n            \/\/ automatically sets OfficeInId=OfficeOutId + DropOffLocationId.\n            jQuery(\"#city_do_id_hidden\").val(chosenDo);\n            jQuery(\"#DropOffLocationId\").val(dropOffIds.includes(chosenDo) ? chosenDo : \"\");\n            jQuery(\"#dropOffLocationId\").val(dropOffIds.includes(chosenDo) ? chosenDo : \"\");\n\n            \/\/ Pickup popup logic stays (return popup removed completely)\n            if (jQuery(\"#time_pu option:selected\").hasClass(\"neaktivno-vrijeme\") && jQuery(\"#time_do option:selected\").hasClass(\"neaktivno-vrijeme\")){\n                e.preventDefault();\n                jQuery(\".closing-popup-container\").css(\"display\",\"flex\");\n\n                if (jQuery(\"#time_pu option:selected\").val() >= \"00:00\" && jQuery(\"#time_pu option:selected\").val() < \"08:00\") {\n                    jQuery(\".popup-msg\").text(\"The fee for taking over the vehicle outside working hours is 90 EUR. The fee for returning the vehicle outside working hours is 45 EUR.\");\n                } else {\n                    jQuery(\".popup-msg\").text(\"The fee for taking over the vehicle outside working hours is 45 EUR. The fee for returning the vehicle outside working hours is 45 EUR.\");\n                }\n\n                jQuery(\".closing-popup-button.nastavi\").off(\"click\").on(\"click\", function () {\n                    e.currentTarget.submit();\n                });\n            }\n            else if (jQuery(\"#time_pu option:selected\").hasClass(\"neaktivno-vrijeme\")){\n                e.preventDefault();\n                jQuery(\".closing-popup-container\").css(\"display\",\"flex\");\n\n                if (jQuery(\"#time_pu option:selected\").val() >= \"00:00\" && jQuery(\"#time_pu option:selected\").val() < \"08:00\") {\n                    jQuery(\".popup-msg\").text(\"The fee for taking over the vehicle outside working hours is 90 EUR.\");\n                } else {\n                    jQuery(\".popup-msg\").text(\"The fee for taking over the vehicle outside working hours is 45 EUR.\");\n                }\n\n                jQuery(\".closing-popup-button.nastavi\").off(\"click\").on(\"click\", function () {\n                    e.currentTarget.submit();\n                });\n            }\n\n            \/\/ NOTE: no return fee popup; return always allowed and free\n        });\n    <\/script>\n<\/div>\n\n<script type=\"text\/javascript\">\njQuery(document).ready(function() {\n\n    var today = new Date();\n    var returnDateManuallyChanged = false;\n\n    var disabledDates = [\n        \"2024-11-01\", \"2024-11-18\", \"2024-12-25\", \"2024-12-26\",\n        \"2025-01-01\", \"2025-01-06\", \"2025-04-20\", \"2025-04-21\",\n        \"2025-05-01\", \"2025-06-19\", \"2025-06-22\", \"2025-06-25\",\n        \"2025-08-05\", \"2025-08-15\", \"2025-11-01\", \"2025-11-18\",\n        \"2025-12-25\", \"2025-12-26\"\n    ];\n\n    function isValidDate(date, locationId, isReturn) {\n        \/\/ Returns are 24\/7 box-return everywhere \u2014 no date restrictions.\n        if (isReturn) return true;\n\n        \/\/ Pickup rules: Zagreb Downtown (32) closed on Sundays and on disabledDates holidays.\n        var dayOfWeek = date.getDay();\n        var dateString = jQuery.datepicker.formatDate(\"yy-mm-dd\", date);\n        if (locationId === \"32\") {\n            if (disabledDates.includes(dateString)) return false;\n            return dayOfWeek >= 1 && dayOfWeek <= 6; \/\/ Mon-Sat\n        }\n        return true;\n    }\n\n    function updateDatepicker(datePickerId, locationFieldId, isReturn) {\n        var selectedLocation = jQuery(\"#\" + locationFieldId).val();\n        jQuery(\"#\" + datePickerId).datepicker(\"option\", \"beforeShowDay\", function(date) {\n            return [isValidDate(date, selectedLocation, isReturn), \"\"];\n        });\n    }\n\n    jQuery(\"#datum_pu\").datepicker({\n        minDate: today,\n        dateFormat: \"yy-mm-dd\",\n        onSelect: function(selectedDate) {\n            var pickupDate = jQuery(this).datepicker(\"getDate\");\n            updatePickupDate(pickupDate, false);\n        }\n    });\n\n    jQuery(\"#date\").datepicker({\n        minDate: jQuery(\"#datum_pu\").datepicker(\"getDate\") || today,\n        dateFormat: \"yy-mm-dd\",\n        onSelect: function(selectedDate) {\n            returnDateManuallyChanged = true;\n            updateReturnDate(jQuery(this).datepicker(\"getDate\"));\n        }\n    });\n\n    jQuery(\"#kraj-prevzem\").change(function() {\n        updateDatepicker(\"datum_pu\", \"kraj-prevzem\", false);\n        var pickupDate = jQuery(\"#datum_pu\").datepicker(\"getDate\");\n        updatePickupDate(pickupDate, true);\n    });\n\n    jQuery(\"#kraj-vracilo\").change(function() {\n        updateDatepicker(\"date\", \"kraj-vracilo\", true);\n        var returnDate = jQuery(\"#date\").datepicker(\"getDate\");\n        updateReturnDate(returnDate);\n    });\n\n    function updatePickupDate(pickupDate, isLocationChange) {\n        var currentReturnDate = jQuery(\"#date\").datepicker(\"getDate\");\n\n        if (!updateTimes(\"datum_pu\", \"time_pu\", \"kraj-prevzem\", false)) {\n            do {\n                pickupDate.setDate(pickupDate.getDate() + 1);\n            } while (!isValidDate(pickupDate, jQuery(\"#kraj-prevzem\").val(), false));\n            jQuery(\"#datum_pu\").datepicker(\"setDate\", pickupDate);\n            updatePickupDate(pickupDate, isLocationChange);\n            return;\n        }\n\n        jQuery(\"#date\").datepicker(\"option\", \"minDate\", pickupDate);\n\n        if (!returnDateManuallyChanged && !isLocationChange) {\n            var minReturnDate = new Date(pickupDate);\n            minReturnDate.setDate(minReturnDate.getDate() + 3);\n            jQuery(\"#date\").datepicker(\"setDate\", minReturnDate);\n            updateReturnDate(minReturnDate);\n        } else if (currentReturnDate && currentReturnDate < pickupDate) {\n            jQuery(\"#date\").datepicker(\"setDate\", pickupDate);\n            updateReturnDate(pickupDate);\n        } else {\n            updateReturnDate(currentReturnDate || pickupDate);\n        }\n    }\n\n    function updateReturnDate(returnDate) {\n        var pickupDate = jQuery(\"#datum_pu\").datepicker(\"getDate\");\n        if (pickupDate && returnDate && returnDate < pickupDate) {\n            returnDate = new Date(pickupDate);\n            jQuery(\"#date\").datepicker(\"setDate\", returnDate);\n        }\n\n        if (!updateTimes(\"date\", \"time_do\", \"kraj-vracilo\", true)) {\n            do {\n                returnDate.setDate(returnDate.getDate() + 1);\n            } while (!isValidDate(returnDate, jQuery(\"#kraj-vracilo\").val(), true));\n            jQuery(\"#date\").datepicker(\"setDate\", returnDate);\n            updateReturnDate(returnDate);\n        }\n    }\n\n    function updateTimes(dateFieldId, timeFieldId, locationFieldId, isReturn) {\n        var selectedLocation = jQuery(\"#\" + locationFieldId).val();\n        var selectedDate = jQuery(\"#\" + dateFieldId).datepicker(\"getDate\");\n        var currentDate = new Date();\n        var minTime, maxTime;\n\n        var isToday = selectedDate && selectedDate.toDateString() === currentDate.toDateString();\n        var dayOfWeek = selectedDate ? selectedDate.getDay() : 0;\n\n        var currentlySelectedTime = jQuery(\"#\" + timeFieldId).val();\n\n        \/\/ RETURN always 0-24 (no restrictions)\n        if (isReturn) {\n            minTime = new Date(selectedDate).setHours(0, 0, 0, 0);\n            maxTime = new Date(selectedDate).setHours(23, 59, 0, 0);\n        } else {\n            \/\/ Pickup rules\n            if (selectedLocation === \"32\") { \/\/ Zagreb Downtown working hours\n                if (dayOfWeek >= 1 && dayOfWeek <= 5) {        \/\/ Mon-Fri\n                    minTime = new Date(selectedDate).setHours(8, 0, 0, 0);\n                    maxTime = new Date(selectedDate).setHours(16, 0, 0, 0);\n                } else if (dayOfWeek === 6) {                   \/\/ Sat\n                    minTime = new Date(selectedDate).setHours(8, 0, 0, 0);\n                    maxTime = new Date(selectedDate).setHours(12, 0, 0, 0);\n                } else {                                        \/\/ Sun closed\n                    minTime = null;\n                    maxTime = null;\n                }\n            } else if (selectedLocation === \"33\" || selectedLocation === \"36\") {\n                minTime = new Date(selectedDate).setHours(8, 0, 0, 0);\n                maxTime = new Date(selectedDate).setHours(20, 0, 0, 0);\n            } else {\n                minTime = new Date(selectedDate).setHours(0, 0, 0, 0);\n                maxTime = new Date(selectedDate).setHours(23, 59, 0, 0);\n            }\n        }\n\n        \/\/ Pickup +2h rule for today (as before)\n        if (!isReturn && isToday && minTime !== null) {\n            var currentTimePlus2Hours = new Date(currentDate.getTime() + 2 * 60 * 60 * 1000);\n            minTime = Math.max(minTime, currentTimePlus2Hours.getTime());\n        }\n\n        \/\/ Return: if same date as pickup, return >= pickup time\n        if (isReturn) {\n            var pickupDate = jQuery(\"#datum_pu\").datepicker(\"getDate\");\n            var returnDate = jQuery(\"#date\").datepicker(\"getDate\");\n            if (pickupDate && returnDate && pickupDate.toDateString() === returnDate.toDateString()) {\n                var pickupTime = jQuery(\"#time_pu\").val();\n                var pickupMinTime = getTimeFromString(pickupTime, selectedDate);\n                minTime = Math.max(minTime, pickupMinTime);\n            }\n        }\n\n        var initialTime = new Date(Math.max(minTime || 0, currentDate.getTime() + 2 * 60 * 60 * 1000));\n        var initialTimeString = padZero(initialTime.getHours()) + \":\" + padZero(initialTime.getMinutes());\n\n        var availableTimeExists = false;\n        var $timeField = jQuery(\"#\" + timeFieldId);\n        $timeField.empty();\n\n        jQuery.each(generateTimeOptions(), function(index, time) {\n            var optionTime = getTimeFromString(time, selectedDate);\n\n            if (minTime === null || maxTime === null) return;\n            if (optionTime < minTime || optionTime > maxTime) return;\n\n            $timeField.append(jQuery(\"<option><\/option>\").attr(\"value\", time).text(time));\n            availableTimeExists = true;\n        });\n\n        if (availableTimeExists) {\n            var $currentlySelected = $timeField.find(\"option[value='\" + currentlySelectedTime + \"']\");\n            if ($currentlySelected.length) {\n                $currentlySelected.prop(\"selected\", true);\n            } else {\n                var $selected = $timeField.find(\"option\").filter(function() {\n                    return jQuery(this).val() >= initialTimeString;\n                }).first();\n                if ($selected.length) $selected.prop(\"selected\", true);\n                else $timeField.find(\"option\").first().prop(\"selected\", true);\n            }\n        }\n\n        return availableTimeExists;\n    }\n\n    function getTimeFromString(timeString, date) {\n        var parts = timeString.split(\":\");\n        var newDate = new Date(date);\n        newDate.setHours(parseInt(parts[0], 10), parseInt(parts[1], 10), 0, 0);\n        return newDate.getTime();\n    }\n\n    function padZero(num) {\n        return (num < 10 ? \"0\" : \"\") + num;\n    }\n\n    function generateTimeOptions() {\n        var times = [];\n        for (var hour = 0; hour < 24; hour++) {\n            for (var minute = 0; minute < 60; minute += 30) {\n                times.push(padZero(hour) + \":\" + padZero(minute));\n            }\n        }\n        return times;\n    }\n\n    \/\/ Initial setup\n    updateDatepicker(\"datum_pu\", \"kraj-prevzem\", false);\n    updateDatepicker(\"date\", \"kraj-vracilo\", true);\n\n    \/\/ Initialize pickup date\n    updatePickupDate(jQuery(\"#datum_pu\").datepicker(\"getDate\") || today, false);\n\n    \/\/ Set initial return time to pickup time\n    setTimeout(function() { jQuery(\"#time_do\").val(jQuery(\"#time_pu\").val()); }, 500);\n\n});\n<\/script>\n\n<br \/>\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"236\" height=\"112\" src=\"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/12\/smart-zeleni.png\" alt=\"\" loading=\"lazy\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reservation<\/p>\n","protected":false},"author":1,"featured_media":21217,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"full_width.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-21458","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Reservations | Avantcar | Rent a car | Choose place and time<\/title>\n<meta name=\"description\" content=\"Book a vehicle of your choice with Avantcar! Choose the place, date and time of pick-up and return of the vehicle and enjoy the ride!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.avantcar.hr\/en\/reservations\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Reservations\" \/>\n<meta property=\"og:description\" content=\"Reservation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.avantcar.hr\/en\/reservations\/\" \/>\n<meta property=\"og:site_name\" content=\"Avantcar \u2013 Rent a Car in Croatia (Zagreb, Split, Dubrovnik, Zadar)\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/avantcar.hr\/\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-21T08:13:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/12\/reservations.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1366\" \/>\n\t<meta property=\"og:image:height\" content=\"668\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/\",\"url\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/\",\"name\":\"Reservations | Avantcar | Rent a car | Choose place and time\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.avantcar.hr\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/reservations.png\",\"datePublished\":\"2020-12-02T11:03:22+00:00\",\"dateModified\":\"2021-04-21T08:13:14+00:00\",\"description\":\"Book a vehicle of your choice with Avantcar! Choose the place, date and time of pick-up and return of the vehicle and enjoy the ride!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.avantcar.hr\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/reservations.png\",\"contentUrl\":\"https:\\\/\\\/www.avantcar.hr\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/reservations.png\",\"width\":1366,\"height\":668},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/reservations\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reservations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/\",\"name\":\"Avantcar - The Best Rent A Car In Croatia\",\"description\":\"Book your car in seconds. Drive with confidence across Croatia and region.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/#organization\"},\"alternateName\":\"Avantcar - Rent A Car Croatia\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/#organization\",\"name\":\"Avantcar - Car Rental Expert Company\",\"alternateName\":\"Avantcar - Your Preferred Rent A Car\",\"url\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.avantcar.hr\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/logo-avant.png\",\"contentUrl\":\"https:\\\/\\\/www.avantcar.hr\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/logo-avant.png\",\"width\":204,\"height\":204,\"caption\":\"Avantcar - Car Rental Expert Company\"},\"image\":{\"@id\":\"https:\\\/\\\/www.avantcar.hr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/avantcar.hr\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Reservations | Avantcar | Rent a car | Choose place and time","description":"Book a vehicle of your choice with Avantcar! Choose the place, date and time of pick-up and return of the vehicle and enjoy the ride!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.avantcar.hr\/en\/reservations\/","og_locale":"en_US","og_type":"article","og_title":"Reservations","og_description":"Reservation","og_url":"https:\/\/www.avantcar.hr\/en\/reservations\/","og_site_name":"Avantcar \u2013 Rent a Car in Croatia (Zagreb, Split, Dubrovnik, Zadar)","article_publisher":"https:\/\/www.facebook.com\/avantcar.hr\/","article_modified_time":"2021-04-21T08:13:14+00:00","og_image":[{"width":1366,"height":668,"url":"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/12\/reservations.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.avantcar.hr\/en\/reservations\/","url":"https:\/\/www.avantcar.hr\/en\/reservations\/","name":"Reservations | Avantcar | Rent a car | Choose place and time","isPartOf":{"@id":"https:\/\/www.avantcar.hr\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.avantcar.hr\/en\/reservations\/#primaryimage"},"image":{"@id":"https:\/\/www.avantcar.hr\/en\/reservations\/#primaryimage"},"thumbnailUrl":"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/12\/reservations.png","datePublished":"2020-12-02T11:03:22+00:00","dateModified":"2021-04-21T08:13:14+00:00","description":"Book a vehicle of your choice with Avantcar! Choose the place, date and time of pick-up and return of the vehicle and enjoy the ride!","breadcrumb":{"@id":"https:\/\/www.avantcar.hr\/en\/reservations\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.avantcar.hr\/en\/reservations\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.avantcar.hr\/en\/reservations\/#primaryimage","url":"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/12\/reservations.png","contentUrl":"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2020\/12\/reservations.png","width":1366,"height":668},{"@type":"BreadcrumbList","@id":"https:\/\/www.avantcar.hr\/en\/reservations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.avantcar.hr\/en\/"},{"@type":"ListItem","position":2,"name":"Reservations"}]},{"@type":"WebSite","@id":"https:\/\/www.avantcar.hr\/en\/#website","url":"https:\/\/www.avantcar.hr\/en\/","name":"Avantcar - The Best Rent A Car In Croatia","description":"Book your car in seconds. Drive with confidence across Croatia and region.","publisher":{"@id":"https:\/\/www.avantcar.hr\/en\/#organization"},"alternateName":"Avantcar - Rent A Car Croatia","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.avantcar.hr\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.avantcar.hr\/en\/#organization","name":"Avantcar - Car Rental Expert Company","alternateName":"Avantcar - Your Preferred Rent A Car","url":"https:\/\/www.avantcar.hr\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.avantcar.hr\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2024\/05\/logo-avant.png","contentUrl":"https:\/\/www.avantcar.hr\/wp-content\/uploads\/2024\/05\/logo-avant.png","width":204,"height":204,"caption":"Avantcar - Car Rental Expert Company"},"image":{"@id":"https:\/\/www.avantcar.hr\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/avantcar.hr\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/pages\/21458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/comments?post=21458"}],"version-history":[{"count":4,"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/pages\/21458\/revisions"}],"predecessor-version":[{"id":21493,"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/pages\/21458\/revisions\/21493"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/media\/21217"}],"wp:attachment":[{"href":"https:\/\/www.avantcar.hr\/en\/wp-json\/wp\/v2\/media?parent=21458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}