Italian (Italy)

You can publish different information on the front-end based on which shortcode you create. Please refer to the How to see the Plugin in the front-site knowledge base article to see how to create a shortcode and display it in the front-end. This is the list of created shortcodes on our Demo website.

Notice: For the correct functioning of the reservation process in Vik Rent Car, it is necessary to configure at least these fundamental shortcodes:

  • Cars List
  • Search Form
  • Order Details

Car Details 

The "car details" shortcode is used to display information on a specific car, and allows booking of that car, after selecting the dates the car must be booked for. You can find it in the demo site here: https://vikwp.com/demo/vikrentcar/fleet/?view=cardetails&carid=1

SEO tip: in order to make the router functions to work properly, we recommend the creation of a shortcode of type "Car Details" for each of the car types that you have on your website to avoid to have duplicate links.

Cars List (mandatory)

The "cars list" shortcode displays several cars, which can be limited only to a certain category. From this view, the selected cars redirects to the Car Details shortcode. You can find it in the demo site here: https://vikwp.com/demo/vikrentcar/fleet/

Orders List

The "orders list" shortcode displays all of the bookings associated to a certain client, based on its PIN. To see any bookings you can login in the administrator section by clicking on the Admin Demo button at the top of the page, or you can insert the PIN 27935. You can find it in the demo site here: https://vikwp.com/demo/vikrentcar/your-orders/?view=loginregister

Promotions

The "promotions" shortcode displays a list of promotions inserted in VikRentCar. You can show a set number of promotions, you can choose whether to show the cars associated to these promotions, and you can choose how far in the future the promotion can be to be displayed. You can find it in the demo site here: https://vikwp.com/demo/vikrentcar/promotions/

Search Form (mandatory)

The "search form" shortcode displays a set of calendars the user can pick to search for. The user will then be redirected to the search's results after he has submitted the search form details. You can find it in the demo site here: https://vikwp.com/demo/vikrentcar/search/

Order Details (mandatory)

The "order details" shortcode is a particular one because it has no visible output unless some hidden variables are passed via query string. Creating a shortocode of this type is very useful to have the URLs rewritten with a custom "perma-link" depending on the name of the page using this shortcode. This way, the links generated by the system for the customers to review their orders will look better, so it's strongly recommended to also create one shortcode of this type.


Examples of valid and invalid Shortcodes

The screen shot below shows some Shortcodes that were correctly configured and used on one Page/Post of the website, while two Shortcodes are not properly configured. More precisely, one was never used on any Page/Post, while the other is used on one Page that was moved to the trash. Both Shortcodes will not work. The Shortcodes that were properly configured will show a blue icon with the link to the Page/Post that is using them.

Ultimo aggiornamento: 2020-06-19
Utile?