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

[Checkout] Make billing address the default one #11033

Merged
merged 6 commits into from Jan 17, 2020

Conversation

Zales0123
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Related tickets fixes #10575
License MIT

It's the change we need and we deserve 😄 There are a lot of files changed, but it's a change that touches a lot of places in the code.

What needs to be considered - how to keep a BC, as we change the differentBillingAddress field to differentShippingAddress, which can affect customizations in some Sylius apps.

@Zales0123 Zales0123 added the Feature New feature proposals. label Jan 16, 2020
@Zales0123 Zales0123 requested a review from a team as a code owner January 16, 2020 18:07
@GSadee GSadee force-pushed the make-billing-address-default-one branch from e4fa2ce to c976ae0 Compare January 17, 2020 09:06
@GSadee GSadee changed the title [WIP] Make billing address the default one [Checkout] Make billing address the default one Jan 17, 2020
*
* It is deprecated since Sylius 1.7 and will be removed in Sylius 2.0
*/
public function it_allows_to_address_order_with_different_shipping_and_billing_address_using_different_billing_address_flag(): void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need another case when only shippingAddress will be provided.

@lchrusciel lchrusciel merged commit 457fc91 into Sylius:master Jan 17, 2020
@lchrusciel
Copy link
Member

lchrusciel commented Jan 17, 2020

Thank you, Mateusz and Grzegorz! 🥇

@loevgaard
Copy link
Contributor

Sweet!! Thank you Mateusz!!

@lchrusciel
Copy link
Member

TBH it was Grzegorz and Mateusz collaboration :P

@loevgaard
Copy link
Contributor

Thank you, Grzegorz!! :D

lchrusciel added a commit that referenced this pull request Jan 17, 2020
… different billing address flag (GSadee)

This PR was merged into the 1.7-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | yes
| Related tickets | #11033
| License         | MIT


Commits
-------

e85f134 [Checkout] Add missing unit test for using deprecated different billing address flag
lchrusciel added a commit that referenced this pull request Jan 20, 2020
This PR was merged into the 1.7-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | related with #11033 
| License         | MIT


![Screenshot 2020-01-20 at 09 25 23](https://user-images.githubusercontent.com/29897151/72710791-20bb3a00-3b68-11ea-8bd4-938bd23747e2.png)
![Screenshot 2020-01-20 at 09 29 33](https://user-images.githubusercontent.com/29897151/72710792-20bb3a00-3b68-11ea-937d-06021c17c747.png)
![Screenshot 2020-01-20 at 09 35 25](https://user-images.githubusercontent.com/29897151/72710850-36306400-3b68-11ea-8e3a-ace43e976504.png)

<!--
 - Bug fixes must be submitted against the 1.6 branch (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set
-->


Commits
-------

ca12e49 Change adressses order
Zales0123 added a commit that referenced this pull request Jan 30, 2020
…ing and shipping addresses (GSadee)

This PR was merged into the 1.7-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | #11033
| License         | MIT


Commits
-------

43e4301 [Checkout] Add note to UPGRADE file about switching billing and shipping addresses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Billing Address the main address during checkout and shipping address optional
6 participants