{"id":310353,"date":"2026-05-14T14:44:49","date_gmt":"2026-05-14T14:44:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/pst-reservation-calculator\/"},"modified":"2026-05-14T14:44:16","modified_gmt":"2026-05-14T14:44:16","slug":"pstrc-reservation-calculator","status":"publish","type":"plugin","link":"https:\/\/ky.wordpress.org\/plugins\/pstrc-reservation-calculator\/","author":12774549,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.5","stable_tag":"1.2.5","tested":"6.9.4","requires":"5.5","requires_php":"7.4","requires_plugins":null,"header_name":"Primestep Vehicle Reservation Calculator","header_author":"hatimashi","header_description":"Seasonal rental price calculator for motorhomes, trailers and cars. Embeds via shortcode, calculates prices across season boundaries and sends reservation inquiries by e-mail.","assets_banners_color":"9f7082","last_updated":"2026-05-14 14:44:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/primestep.pl\/pstrc-reservation-calculator","header_author_uri":"https:\/\/primestep.pl","rating":0,"author_block_rating":0,"active_installs":0,"downloads":31,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.5":{"tag":"1.2.5","author":"hatimashi","date":"2026-05-14 14:44:16"}},"upgrade_notice":{"1.0.0":"<p>Initial release. No upgrade required.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3532197,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3532197,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3532197,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3532197,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.5"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3532206,"resolution":"2","location":"plugin","width":1548,"height":798},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3532206,"resolution":"5","location":"plugin","width":1382,"height":850},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3532206,"resolution":"4","location":"plugin","width":1401,"height":847},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3532206,"resolution":"1","location":"plugin","width":1335,"height":884},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3532206,"resolution":"3","location":"plugin","width":1386,"height":784},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3532206,"resolution":"7","location":"plugin","width":1195,"height":508},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3532206,"resolution":"6","location":"plugin","width":1200,"height":687}},"screenshots":{"1":"Front-end calculator \u2014 date picker with instant price calculation and reservation button.","2":"Admin panel \u2014 season editor with editable prices and date ranges per vehicle type.","3":"Admin panel \u2014 cars editor.","4":"Admin panel \u2014 settings tab for VAT and service fees.","5":"Admin panel \u2014 discount editor with discount name, type and VAT.","6":"Admin panel \u2014 contact tab for the notification e-mail address.","7":"Reservation popup \u2014 contact form prefilled with dates and calculated price."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[269,15432,5075,722,262926],"plugin_category":[40],"plugin_contributors":[262927],"plugin_business_model":[],"class_list":["post-310353","plugin","type-plugin","status-publish","hentry","plugin_tags-booking","plugin_tags-price-calculator","plugin_tags-rental","plugin_tags-reservation","plugin_tags-vehicle-rental","plugin_category-calendar-and-events","plugin_contributors-hatimashi","plugin_committers-hatimashi"],"banners":{"banner":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/assets\/banner-772x250.png?rev=3532197","banner_2x":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/assets\/banner-1544x500.png?rev=3532197","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/assets\/icon-128x128.png?rev=3532197","icon_2x":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/assets\/icon-256x256.png?rev=3532197","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-1.png?rev=3532206","caption":"Front-end calculator \u2014 date picker with instant price calculation and reservation button."},{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-2.png?rev=3532206","caption":"Admin panel \u2014 season editor with editable prices and date ranges per vehicle type."},{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-3.png?rev=3532206","caption":"Admin panel \u2014 cars editor."},{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-4.png?rev=3532206","caption":"Admin panel \u2014 settings tab for VAT and service fees."},{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-5.png?rev=3532206","caption":"Admin panel \u2014 discount editor with discount name, type and VAT."},{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-6.png?rev=3532206","caption":"Admin panel \u2014 contact tab for the notification e-mail address."},{"src":"https:\/\/ps.w.org\/pstrc-reservation-calculator\/trunk\/screenshot-7.png?rev=3532206","caption":"Reservation popup \u2014 contact form prefilled with dates and calculated price."}],"raw_content":"<!--section=description-->\n<p>PST Reservation Calculator is a tool for vehicle rentals, letting users select dates, see seasonal pricing, and send booking inquiries instantly.<\/p>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li><strong>Seasonal pricing<\/strong> \u2014 define as many season periods as you need per vehicle type (e.g. low \/ mid \/ high season), each with its own daily rate and date range.<\/li>\n<li><strong>Cross-season bookings<\/strong> \u2014 if a rental spans two seasons the price is automatically split and summed proportionally.<\/li>\n<li><strong>Three vehicle types<\/strong> \u2014 motorhome (<code>kamper<\/code>), trailer (<code>przyczepa<\/code>), car (<code>samochod<\/code>). Each type has independent season definitions.<\/li>\n<li><strong>Configurable fees<\/strong> \u2014 set the service fee (net + gross) and refundable deposit per vehicle type from the admin panel.<\/li>\n<li><strong>Configurable VAT<\/strong> \u2014 set your VAT rate once in the admin panel; the gross price is always calculated from that value.<\/li>\n<li><strong>Reservation e-mail<\/strong> \u2014 when a customer submits the contact form, a formatted HTML e-mail is sent to a configurable address.<\/li>\n<li><strong>Simple shortcode<\/strong> \u2014 embed the calculator anywhere with <code>[pstrc_reservation type=\"kamper\"]<\/code>.<\/li>\n<\/ul>\n\n<h4>Shortcode usage<\/h4>\n\n<pre><code>[pstrc_reservation type=\"kamper\"]\n[pstrc_reservation type=\"przyczepa\"]\n[pstrc_reservation type=\"samochod\"]\n<\/code><\/pre>\n\n<p>Place one shortcode per page\/post for each vehicle type you want to feature.<\/p>\n\n<h4>Admin panel<\/h4>\n\n<p>The plugin adds a <strong>PST Reservation<\/strong> menu item in the WordPress admin area with three tabs:<\/p>\n\n<ul>\n<li><strong>Sezony<\/strong> \u2014 edit the start date, end date and daily rate for every season period, separately for each vehicle type. Only the month and day of the stored dates matter; the year is ignored at runtime so the seasons repeat automatically every year.<\/li>\n<li><strong>Ustawienia<\/strong> \u2014 set the VAT percentage and the service fee \/ deposit amounts per vehicle type.<\/li>\n<li><strong>Kontakt<\/strong> \u2014 set the e-mail address that receives reservation inquiries. Defaults to the site administrator's address.<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<p>This plugin does not collect, store, or transmit any personal data on its own. Reservation inquiry data (name, phone, e-mail, dates, price) is sent directly to the site owner's e-mail address and is not stored in the database.<\/p>\n\n<h3>Source Code<\/h3>\n\n<p>Full source code available at: https:\/\/github.com\/hatimashi\/PST-Reservation-Calculator\nBuild tools: npm, Tailwind CSS v4\nBuild command: npx tailwindcss -i .\/src\/input.css -o .\/public\/css\/tailwind.min.css --minify<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>pstrc_reservation<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the <strong>Plugins &gt; Add New<\/strong> screen in WordPress.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen.<\/li>\n<li>Go to <strong>PST Reservation<\/strong> in the admin menu to configure seasons, fees, VAT and the notification e-mail.<\/li>\n<li>Add the shortcode <code>[pstrc_reservation type=\"kamper\"]<\/code> (or <code>przyczepa<\/code> \/ <code>samochod<\/code>) to any page or post where you want the calculator to appear.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20add%20the%20calculator%20to%20a%20page%3F\"><h3>How do I add the calculator to a page?<\/h3><\/dt>\n<dd><p>Use the shortcode <code>[pstrc_reservation type=\"kamper\"]<\/code> in the page content or in a shortcode block. Replace <code>kamper<\/code> with <code>przyczepa<\/code> or <code>samochod<\/code> for other vehicle types.<\/p><\/dd>\n<dt id=\"can%20i%20show%20calculators%20for%20multiple%20vehicle%20types%20on%20the%20same%20site%3F\"><h3>Can I show calculators for multiple vehicle types on the same site?<\/h3><\/dt>\n<dd><p>Yes. Each vehicle type has its own independent season definitions and fees. You can create separate pages for each type and place the appropriate shortcode on each.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20a%20rental%20period%20spans%20two%20seasons%3F\"><h3>What happens if a rental period spans two seasons?<\/h3><\/dt>\n<dd><p>The plugin automatically splits the booking at the season boundary and calculates the price for each part at the correct daily rate. The totals are then summed.<\/p><\/dd>\n<dt id=\"does%20the%20year%20stored%20in%20season%20dates%20matter%3F\"><h3>Does the year stored in season dates matter?<\/h3><\/dt>\n<dd><p>No. Only the month and day from each season record are used. The year is determined dynamically from the rental dates, so seasons renew automatically each year without any manual updates.<\/p><\/dd>\n<dt id=\"where%20do%20reservation%20inquiries%20go%3F\"><h3>Where do reservation inquiries go?<\/h3><\/dt>\n<dd><p>To the e-mail address set in the <strong>Kontakt<\/strong> tab of the admin panel. If no address has been set, WordPress's site administrator e-mail is used as a fallback.<\/p><\/dd>\n<dt id=\"how%20do%20i%20configure%20smtp%20for%20outgoing%20mail%3F\"><h3>How do I configure SMTP for outgoing mail?<\/h3><\/dt>\n<dd><p>This plugin uses the standard WordPress <code>wp_mail()<\/code> function. Configure your SMTP settings in <code>wp-config.php<\/code> or via a dedicated SMTP plugin (e.g. WP Mail SMTP).<\/p><\/dd>\n<dt id=\"what%20php%20version%20is%20required%3F\"><h3>What PHP version is required?<\/h3><\/dt>\n<dd><p>PHP 7.4 or higher.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Action updated by pushing repo to svn of wordpress.org when Release is publish<\/li>\n<li>Fixed BUILD DIR<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>update bootstrap.min.js to v5.2.3<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>corecct prefixex in whole project from pst to pstrc(wordpress.org doc)<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>no CDN files<\/li>\n<li>changed prefix<\/li>\n<li>changed shortcode usage to: [pstrc_reservation type=\"<em>kamper<\/em>\"]<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>release dla wordpress.org. Bez plik\u00f3w updatera.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Form rewrited using tailwind<\/li>\n<li>Cleanup js's and HTML<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Plugin Update feature<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<li>Seasonal pricing engine with cross-season support.<\/li>\n<li>Configurable VAT, service fees and deposits per vehicle type.<\/li>\n<li>Season date\/price editor in the admin panel.<\/li>\n<li>Configurable notification e-mail address.<\/li>\n<li>Full input sanitization, output escaping and nonce verification on all AJAX endpoints.<\/li>\n<\/ul>","raw_excerpt":"PST Reservation Calculator is a tool for vehicle rentals, letting users select dates, see seasonal pricing, and send booking inquiries instantly.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/310353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=310353"}],"author":[{"embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hatimashi"}],"wp:attachment":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=310353"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=310353"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=310353"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=310353"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=310353"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=310353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}