• Resolved franks123

    (@franks123)


    Hi, I have installed the W3 total cache plugin. but there is issue with this plugin on all booking detail pages. When I am trying to change the currency, it is not changing but when I disabled the plugin, this functionality works fine.

    I have talked with theme support and booking plugin support, they told me to talk with cache plugin to resolve this thing. Issue is with plugin side. I am attaching the screenshot for your understanding. This is link of screenshot https://imgur.com/mtFspQg.

    Please review it and guide me in resolving this issue.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    Thank you for reaching out and I am happy to help!
    Can you please share which plugin you are using for currency changer and was it setup with Ajax call?

    Can you please add /booking/ to Performance>Page Cache>Advanced>Never Cache following Pages field, save all settings and purge the cache and let me know if the issue persists?

    Thanks!

    Thread Starter franks123

    (@franks123)

    @vmarko, https://ba-booking.com/shop/downloads/babe-currency-switcher/ this is plugin extension that we are using on our website.

    yes by adding ?/booking/ in to Performance>Page Cache>Advanced>Never Cache following Pages field, issue resolves but I don’t think so this is good thing because cache for these pages is disabled now.

    Please guide me about this thing.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    Thank you for your feedback.
    I am not seeing any specific documentation for the mentioned plugin, so can you please sahre how you implemented this, using shortcode or php code?

    Thanks!

    Thread Starter franks123

    (@franks123)

    Hi @vmarko, this is implemented via shortcode. Please review the screenshot in mentioned below link
    https://imgur.com/Pmd5179

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    We are working on some more elegant solutions which will include a couple of one-click Woocommerce options and one will be specific to this.

    You can try?Page Fragment Caching?and wrap the PHP code that changes the currency with?<mfunc> This being said, you should implement echo do_shortcode(‘[babe_currency_switcher]’); ?into your theme’s file

    If you are using a widget to add the shortcode, you can also try this plugin which uses Ajax to bypass the cache for widgets.
    There is also a chance that this plugin has the Ajax option in the settings somewhere, however, I am unable to check this as documentation for this plugin does not exist and I am unable to test it.

    I hope this helps!

    Thread Starter franks123

    (@franks123)

    Hi @vmarko, In this plugin, we can only implement this via shortcode.
    Secondly, I did not understand your point about which plugin I can use which uses Ajax to bypass the cache for widgets.

    I have attached a screenshot of BA plugin settings. Please review this link. https://imgur.com/rhmogI2

    Please guide me in resolving this issue.

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    Thank you for your feedback.
    As i can see from their documentation:

    Front-end usage

    • Copy and paste this shortcode into your widget area, posts or pages:
      [babe_currency_switcher]
    • Paste the PHP code into your theme’s file:
      echo do_shortcode('[babe_currency_switcher]');

    In the scrensot they shared you are adding the shortcode via widget, and you can use the mentioned plugin to load those widgets via ajax.
    As for the screenshot you shared, I can only see the top tabs and nothing else.

    Thanks!

    Thread Starter franks123

    (@franks123)

    Hi @vmarko this is the screenshot of currency switcher configurations. Please review this link. https://imgur.com/b4f90Jl

    This is screenshot of BA general settings. Please review this link.
    https://imgur.com/WrBzpRm
    https://imgur.com/mLSGzv4

    Please review these and guide me in resolving this issue

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    Thank you for your feedback.
    It appears that there is no configuration in that plugin to fire the shortcode with Ajax, so the only solution is to use Page Fragment Cache if using php code or using the plugin to fire widgets with Ajax

    Thanks!

    Thread Starter franks123

    (@franks123)

    Hi @vmarko, how can I use this plugin. can you please guide me how to use this to resolve website issue?
    thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    THank you for your feedback.
    Please check the plugin in the link provided here.

    Thanks!

    Thread Starter franks123

    (@franks123)

    Hi @vmarko, after installing this plugin.

    I need to remove this thing “Can you please add /booking/ to Performance>Page Cache>Advanced>Never Cache following Pages field, save all settings and purge the cache”or not?

    please guide me about this thing.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    Thank you for your feedback.
    Yes you can remove /booking/ from Performance>Page Cache>Advanced>Never Cache following Pages field if you are using the ajax for the widget.

    Thanks!

    Thread Starter franks123

    (@franks123)

    Hi @vmarko, after installing the “No Cache AJAX Widgets” plugin, still issue is coming. please suggest me what to do next.

    Secondly, if I add ?/booking/ in to Performance>Page Cache>Advanced>Never Cache following tab, then it will effect page speed score or not?

    Please guide me about these 2 questions.

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @franks123

    Thank you for yoru feedback.
    When the plugin is added, you should add a new Ajax widget and add the shortcode there.

    Please check the documentation

    Thanks!

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