• Resolved alfredo1216

    (@alfredo1216)


    Hello, first thank you for the excellent work you do with your theme.

    I currently enabled the customer account dropdown functionality and am experiencing the following two errors:

    1. When I access multiple pages of my website and then log in, the client’s name is not updated on the previous pages, it is only displayed on the pages that have not been viewed. I associate the error with something with the cache but I don’t know. I use Cloudflare APO.
    2. The my account dropdown menu works perfectly on desktop, but not on mobile view. I understand that it would not be ideal to have the dropdown menu in the mobile view, but there should be an option to define a link so that they can enter this section.

    I share a video where you can better appreciate the problems:

    https://app.screencast.com/7aMdYF3b55qAT

    I look forward to your comments and thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @alfredo1216

    For #1, it would be required to test this will all caching disabled to see if any of your caching/optimisation services are working in overdrive against you. Some caching systems can be overly aggressive and not take into consideration dynamic data coming in through the front end.

    For #2, that’s actually correct. A drop down wouldn’t necessarily work on the mobile version since these devices do not have a hover state. I’ll try to note this down for brainstorming with the team, but I won’t be able to promise anything for the immediate future.

    But please, get #1 tested with all caching disabled and let me know how that goes.

    Thanks.

    Thread Starter alfredo1216

    (@alfredo1216)

    Hi @cteduard

    1. Indeed, if it is a problem with the cache, when you disable the CloudFlare APO cache. The problem did not arise again. Now, there wouldn’t be a way to fix this problem without having to disable the cache. Since this service is essential for the speed of the web.
    2. I think simple would be ideal in this case. That the drop-down menu is shown on the desktop and that the mobile does not show any drop-down menu but instead the text “My Account” has the option to define a custom link.

    Thank you.

    Hello @alfredo1216

    This wouldn’t actually be a problem coming from our end. It’s a matter of configuring this service properly not to cache logged in users, as these depend on dynamic data much more than logged out guests. This would be valid for any other theme out there that has dynamic data integration, as we are not doing anything special with Blocksy.

    Regarding #2, this can be done already, via the Customiser -> Header -> Account. Check out this article for more information – https://creativethemes.com/blocksy/docs/header-elements/account/

    Hope this clears things up!

    Thanks.

    Thread Starter alfredo1216

    (@alfredo1216)

    Hi

    1. Any suggestions on where I can start to investigate how to solve it. How does storing that information work in your theme? I was reading a little on the Cloudflare APO forums and I could see that they handle cache bypass for certain queries:

      https://developers.cloudflare.com/automatic-platform-optimization/reference/query-parameters#cookies-prefixes-that-always-bypass-cache
    2. You have the link option available, but you don’t allow me to have a drop-down menu on desktop and a link on mobile. You only allow me to have the same one on both, which I don’t want, I want one option for desktop and the other for mobile.

    I remain attentive and thank you.

    Hello @alfredo1216

    For #1, sadly we won’t be able to help with third party services or software as we do not have control over those. For more information on how to configure it, it would be best to contact them directly.

    For #2, I understand this, but things aren’t that simple. It isn’t easily possible implement a different behaviour at the code level because some of these web languages do not work on a per device basis. However, we’ll study this and see what can be done in the future.

    Thanks.

    Thread Starter alfredo1216

    (@alfredo1216)

    Hi,

    1. I understand you, in this case could you tell me how the storage of that data works on the side of your theme? This way I can investigate and solve the problem on my end.
    2. I understand, in that case I suggest having the option to define a custom link for the title in the drop-down menu option. This way the drop-down menu would work on desktop and the link would be on mobile. I hope this is a viable option.

    I remain attentive to your comments.

    Thank you,

    • This reply was modified 1 year, 1 month ago by alfredo1216.

    Hello @alfredo1216

    For #1, we actually do not store any data ourselves. WordPress is doing that and we just pull in the logged in user’s information, via the available functions that WordPress uses. It would be best to investigate WordPress’ documentation for more information on how this data is stored.

    For #2, I’ll try to note this down in our requests list. The developers will be able to analyse and decide upon the implementation as demand will increase.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with the Account Action menu’ is closed to new replies.