SyliusCrafts / BootstrapTheme

Sylius Bootstrap theme with build process based on Webpack Encore
94 stars 56 forks source link

Field `differentShippingAddress` is mistakenly reset #91

Closed mdevlamynck closed 10 months ago

mdevlamynck commented 3 years ago

There is a subtle bug in the checkout address page. If:

When selecting the address in the address book in the billing address form, the form is reset in this line. Since the field differentShippingAddress is in the billing form block it is also reset. The consequence is that when submitting the form, Sylius considers that the shipping address is the same as the billing address (and ignores the shipping address fields even if filled) because it considers that differentShippingAddress is unchecked.

oallain commented 10 months ago

Hello,

This issue seems to be outdated. If it isn't, feel free to reopen it.