Problem/Motivation

In the dev version of Ubercart the option "Use the same address for billing and delivery by default." is added to the checkout settings. When checked, one of the address panes should be checked by default and the delivery address should be equal to the billing address in this case.
Ubercart Addresses does not yet respect this setting.
The issue in Ubercart where this feature got implemented: #1502774: Checkbox "My billing information is the same as my delivery information." checked by default.

Proposed resolution

Ubercart Addresses implementation of the address checkout panes should be adjusted, so the setting has the same effect as when Ubercart Addresses is not enabled.

Remaining tasks

  • Adjust address checkout panes code.

Original report by Neo13

Based on issue and patch in this thread drupal.org/node/1502774 could you please implement this into ubercart addresses?

Many Thanks!

Comments

megachriz’s picture

Assigned: Unassigned » megachriz

Yes, I plan to do so. I hope I have some time next weekend to implement this.

megachriz’s picture

Status: Active » Needs review
StatusFileSize
new1.48 KB

This patch respects the new checkout setting "Use the same address for billing and delivery by default.". I only did some quick tests with the patch, so I'm not sure yet if it doesn't introduce any side effects.

Neo13’s picture

Status: Needs review » Reviewed & tested by the community

I tested it and it works fine. No side affects experienced on my site. Thanks for your work!

megachriz’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting back. #2 is committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Clarified issue.