• Resolved bing4

    (@bing4)


    Hello.

    How can we translate booking form automatically ? It loaded as Iframe and translatepress multilingual plugin can`t do that. Only calendar translateable.

    Also there is no booking form if we work on aliases.

    I.e Aliases means that this plugins works on?domain1.com,?but this domain and its database also?associated with domain2.com?(like?https://www.domain1.com, like alter ego))

    So if user opens domain2 they can see the same info from the same database. But no booking form. Only calendar.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support booklysupport

    (@booklysupport)

    Hi, We haven’t tested Bookly with the TranslatePress multilingual plugin. Currently, WPML is the recommended option for translating Bookly and offering multi-language support. You can find more information here: https://support.booking-wp-plugin.com/hc/en-us/articles/203600092-Translate-Booking-Form-via-WPML
    ?
    Additionally, you can try using the Polylang plugin for this purpose.

    Unfortunately, Bookly currently does not support <iframe> by default. However, you can enable <iframe> support by modifying the Bookly source code. Please remember that any changes you make will be overwritten with the next update of Bookly.
    ?
    Please set the option ‘Bookly > Settings > General > Session storage mode’ as ‘database’ and replace?#13?line
    @setcookie( self::cookieName(), self::sessionId(), 0, ‘/’, ”, false, true );
    with
    @setcookie( self::cookieName(), self::sessionId(), array (
    ? ? ? ? ? ‘expires’ => 0,
    ? ? ? ? ? ‘path’ => ‘/’,
    ? ? ? ? ? ‘domain’ => ”,
    ? ? ? ? ? ‘secure’ => true,
    ? ? ? ? ? ‘httponly’ => true,
    ? ? ? ? ? ‘samesite’ => ‘None’
    ? ? ? ? ? ) );
    in this file \wp-content\plugins\bookly-responsive-appointment-booking-tool\lib\SessionDB.php:13
    and check the issue again.

    Thread Starter bing4

    (@bing4)

    Hi. Thank you for support.

    I found via console that problem on domain2.com has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    Ive tried your recommendations and add some rules for

    # BEGIN CORS
    <IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">
    Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    </IfModule>
    # END CORS

    But the problem still lives on site and console.

    Any advices appreciated))

    • This reply was modified 3 months, 3 weeks ago by bing4.
    Plugin Support booklysupport

    (@booklysupport)

    Hi, please get in touch with us directly at [email protected] with the URL of the booking form, and we’ll look into this matter. In your request, please mention ticket #300961

    Plugin Support booklysupport

    (@booklysupport)

    Hello. We’ll go ahead and mark this thread as resolved. You can always reach out to us in the future whenever you have any doubts or concerns.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.