question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect working of checkboxes in checkout

See original GitHub issue

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?

  • NO

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

Pick one option.

  • 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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18

github_iconTop GitHub Comments

2reactions
alinadivantecommented, Jun 11, 2019

@dimasch yeah, now it works 😃

1reaction
alinadivantecommented, Jun 10, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incorrect working of checkboxes in checkout #2730 - GitHub
Steps to reproduce the issue · Add any product to the cart · Go to checkout · Login to your account (which has...
Read more >
Checkbox value true/false - javascript - Stack Overflow
I'm going to post this answer under the following assumptions. 1) You (un)selected the checkbox on the first page and submitted the form....
Read more >
Woocommerce checkout page custom checkbox ticked
In WooCommerce checkboxes have always a value of '1'. So you do not need to pass 'value' => true : it does nothing....
Read more >
checkboxes for terms and privacy - WordPress.org
Hi, I need two checkboxes: one for the terms and condition, and one for the GDPR. I “copy/arrange/create” 2 plugins before I installed...
Read more >
How to add custom check boxes fields above the terms and ...
To add check boxes, here is the snippet of code: 1. The 1st hooked function displays the 2 additional checkout fields:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found