Vue-storefront: Incorrect working of checkboxes in checkout

Created on 15 Apr 2019  路  18Comments  路  Source: DivanteLtd/vue-storefront

Current behavior


After marking the "ship to my default address" or "copy address data from shipping" checkbox, the form is not filled in with data, whereas after unmarking checkboxes - forms are filled in.
incorrectoperationofcheckboxe

Expected behavior

After selecting the "ship to my default address" or "copy address data from shipping" checkbox, the appropriate form is filled with data.

Steps to reproduce the issue

  1. Go to https://test.storefrontcloud.io
  2. Add any product to the cart
  3. Go to checkout
  4. Login to your account (which has memorized shipping details)
  5. Continue to shipping
  6. Mark checkbox "ship to my default address"
  7. Unmark checkbox "ship to my default address"
  8. Continue to payment
  9. Mark chceckbox "copy address data from shipping"
  10. Unmark checkbox "copy address data from shipping"

Can you handle fixing this bug by yourself?

  • [x] NO

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • [x] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
  • [ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
  • [ ] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

  • Browser: Chrome 73
  • OS: Windows 10

Additional information


This problem only appears on the environment https://test.storefrontcloud.io, does not appear on next and demo.

Easy Urgent QA approved after merge QA approved on branch bug

Most helpful comment

@dimasch yeah, now it works :)

All 18 comments

@GabiDivante and @lukeromanowicz I still have this issue with the second checkobx "Ship to my default address"

Screenshot 2019-04-27 19 16 55

Please do re-check it and re-check all the checboxes in the app as it seems like a global issue with this component
This issue doesn't apply to 1.9.0

@pkarw @lukeromanowicz previously, I checked it on the branch and it was ok, now I checked it on develop

  1. "Shipping to my default address" does not work correctly.

I also checked all other checkboxes, the problem with the action appears for:

  1. My account -> My newsletter - after selecting the checkbox and saving the changes, then switching to another subpage and returning - the changes are not saved.
  2. Payment section in checkout (for logged in user with filled company data in My Profile) - the second checkbox appears "Use my billing data" - switching between checkboxes and selecting "I want to generate an invoice" do not work properly.

Peek 2019-04-29 10-39

Hi @dimasch how about this issue? :)

@pkarw In progress just now. ;)

@pkarw PR is ready.

Thanks Dima

@dimasch we need to improve this, because now, if I mark "Copy address data from shipping" it is correctly filled, but if i change my mind and I want to choose "Use my billing data", then form is cleared. I have to unmark selected checkbox and mark it again.

payment

I've merged this now, so it will be available for tests:)

@dimasch @patzick unfortunately switching between above options (copy address data from shipping and use my billing data) still doesn't work correctly (form is cleared or address is not changed)

@alinadivante Thanks. I will go to fix.

@dimasch how about the status? :)

@pkarw In progress. Actualize develop branch and today i will fix it.

@pkarw I remember about the release 1.10rc1, and I will try to fix it over the weekend. ;)

Ready. @pkarw
I attached the video how it works after the fix.

@dimasch I found one bug on your branch. Please see my video (it is about validation of Company name field)
invoice

Ok, thanks, i will fix today evening.

@alinadivante Fixed. Pls, try to check.

@dimasch yeah, now it works :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alinadivante picture alinadivante  路  5Comments

jorkvist picture jorkvist  路  5Comments

talalus picture talalus  路  4Comments

slightlyoff picture slightlyoff  路  3Comments

ArjanStudent picture ArjanStudent  路  3Comments