Skip to content

Logged out users can't select a currency other than the default currency #72

Description

@ManniGH

Which plugin?

Multi-Currency (fchub-multi-currency)

What happened?

Hi there,

We just migrated our production site to FluentCart today, and I've noticed a bug that I didn't notice in my previous debugging session.

When the user is NOT logged in, the selector has no effect. The default currency is selected, the user selects another currency, the currency comes back to the default. Can you reproduce?

Steps to reproduce

  1. Make sure you're logged out
  2. Select a non-default currency
  3. The currency should revert to default

Expected vs actual behaviour

I expect the currency to stay with the selected (non-default) currency for the current session if the user is not logged.
There is no issue to select a different currency if the user is logged in.

WordPress version

6.9.4

PHP version

8.3.22

FluentCart version

1.3.9 beta 4

Plugin version

1.4.0

Screenshots or logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions