• Resolved fluiddesk

    (@fluiddesk)


    I noticed that if a customer is not logged in the “Recently viewed products” sidebar widgets would not display any products that where viewed, but if I log in and visit products it then shows the Recently viewed products fine.

    I firstly changed to a default theme with no change, then I disabled this plugin and instantly I could see the Recently viewed products even when logged out. So what is causing this exactly? and is there and option to stop this from happening, as I couldn’t find d one. Thanks!

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

    (@vmarko)

    Hello,

    Can you please disable minify and see if the issue persist?

    Thread Starter fluiddesk

    (@fluiddesk)

    Hey Marko, minify isn’t enabled.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    You probably have the “Don’t cache pages for logged in users” option enabled in Performance>Page Cache and because of that logged in users are able to see Recently viewed products.
    You can use Page Fragment Caching to exclude certain parts of the page from being cached. More about Page Fragment Cache on our FAQ page. This requires the Page cache method to be Basic or any other memory based caching solution. Also, you need to enable late initialization which may increase response times.
    You can also use Fragment caching, which is a feature in W3 Total Cache available after the upgrade.

    Thread Starter fluiddesk

    (@fluiddesk)

    Unticking that makes it so that it doesn’t show up for the logged in users either, is there not a way to make it came for logged out users also? It used to before but it looks like after updating this doesn’t work anymore.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    I am not sure that I understand your question.
    Can you please rephrase it?

    Thread Starter fluiddesk

    (@fluiddesk)

    Sorry, when i have that option “Don’t cache pages for logged in users” unticked the recently viewed products do not show either for the logged in users. I would like to get the recently viewed products showing for both the logged out users and the ones that are logged in. Is this possible?

    This was working in a previous version, but for some reason with the new updates it doesn’t seem to work now.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Are you able to see recently viewed products when you purge caches and visit the page from the new incognito window?

    Thread Starter fluiddesk

    (@fluiddesk)

    Hey, sadly it still doesn’t update the recently viewed products when I purge the cache and view in an incognito window. It only shows the last products that were cached in that list, even after the purge..

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    As said in the previous message:

    You can use Page Fragment Caching to exclude certain parts of the page from being cached. More about Page Fragment Cache on our FAQ page. This requires the Page cache method to be Basic or any other memory based caching solution. Also, you need to enable late initialization which may increase response times.
    You can also use Fragment caching, which is a feature in W3 Total Cache available after the upgrade.

    Thread Starter fluiddesk

    (@fluiddesk)

    I would want it being cached though so it remembers the recently viewed pages correct? If I disable for those pages surely it wouldn’t remember. Unless I’m misunderstanding here.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    No, as that is the dynamic part of your website and it is changing per visit, you should exclude that part from being cached.

    Thread Starter fluiddesk

    (@fluiddesk)

    Hey Marko, how do i exclude certain pages? Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Are you asking to exclude some pages from cache or parts of the page from cache?

    Thread Starter fluiddesk

    (@fluiddesk)

    As the recently viewed products are in the store area, would I need to exclude the whole store from cache? There are three pages, so would I need to exclude all of those for this to work?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Go to performance>Page cache, scroll down to advanced sub-box. There you will find “Never cache the following pages:”. Add the pages you want to exclude from the cache there.
    I.E.:

    /store/
    /cart/
    /product/

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘W3 causing issues with Recently Viewed products’ is closed to new replies.