Skip to content

Update customer-data.js #8107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update customer-data.js #8107

wants to merge 1 commit into from

Conversation

redelschaap
Copy link
Contributor

The customer's name was not showing after logging in (in the welcome message), because private ko data wasn't loaded when the privateContent data was empty. Therefor the if statement should be vice versa.

The customer's name was not showing after logging in, because private ko data wasn't loaded when the `privateContent` data was empty. Therefor the if statement should be vice versa.
@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Jan 16, 2017

@redelschaap your change will brake private content reload in case if cookie is present and not empty (if full page cache enabled).
I had similar issue and created pull request that fixes it #6473.
Could you try my pull request and check if it fix your issue? If not - could you please explain how to reproduce your issue?

@redelschaap
Copy link
Contributor Author

@ihor-sviziev Your fix also seems to fix my issue.

@redelschaap redelschaap deleted the patch-3 branch March 24, 2017 12:16
magento-devops-reposync-svc pushed a commit that referenced this pull request Mar 14, 2023
AC-7850: [2.4.6-develop] Build Failures with PHP 8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants