Hello,
Thanks for the precise description of the issue. It is definitely something related to the configuration of the Shortcodes and their language, because the routing functions of Vik Booking read the relations between the Posts of your website and the Shortcodes.
As you know, every Shortcode can take a language attribute, which defaults to * (any). Ideally, the routing functions should keep your current Post ID (permalink), which is taken from the very first landing page. For example, if you are using the Widget “Horizontal Search Form”, then the landing page URL can be controlled through the parameter “Page” of the Widget.
We invite you to contact us directly from our website in case you have to report any strange behaviors. Thank you.
Hello,
Thanks for the quick response.
I guess my shortcodes are fine, I have a total of 4 shortcodes in my site. Two of them are in spanish and the other two are in english. For example, in my spanish home page I have this shortcode:
– [vikbooking roomid=”1″ view=”roomdetails” lang=”es-ES”]
While in my english home page I have this one:
– [vikbooking roomid=”1″ view=”roomdetails” lang=”en-UK”]
I am using the plugin Polylang to switch between languages. So I show one page or the other depending on the language selected.
I find weird that it only happens in the “oconfirm” view. It is also weird that after editing the spanish shortcode to lang=”*” and editing it back to lang=”es-ES”, now the shortcode is displayed in english always.
Hello,
We will have to make some tests from our dev servers because it may be possible that the View “oconfirm” is not submitting some variables via POST, and so a different routing URL (Post Permalink) is taken for the landing page.
In these cases we would appreciate if you could contact us from our website so that our programmers can try and reproduce the same situation on our servers.
Hello,
Ok I have sent a message to get in touch with your team regarding this topic.
Greetings.
Thank you. I’m going to update this topic by clarifying that for the home page it is necessary to use the Widget “Search Form” rather than a Shortcode of Vik Booking.
For all the rest of the pages of your website you can use Shortcodes of the plugin, but for the home page it is necessary to use the Widget, and to properly set its parameter “Page” to a page of your website where you have placed a Shortcode of Vik Booking.