Skip to content
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

autoFillCity function missing correct values - Fix included #5626

Open
Rmh1978 opened this issue Dec 12, 2022 · 0 comments
Open

autoFillCity function missing correct values - Fix included #5626

Rmh1978 opened this issue Dec 12, 2022 · 0 comments

Comments

@Rmh1978
Copy link
Contributor

Rmh1978 commented Dec 12, 2022

The input id for City has changed in Checkout but the autoFillCity function in media\com_redshop\js\redshop.common.js:1154 needs to be updated too for it to work again from:
"city" => "company-city" and "private-city" with a if/ else if.

if (document.getElementById('company-city')) { document.getElementById('company-city').value = xmlhttp.responseText; } else if (document.getElementById('private-city')) { document.getElementById('private-city').value = xmlhttp.responseText; }

@NguyenBao10

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

No branches or pull requests

1 participant