klaviyo / magento2-klaviyo

37 stars 51 forks source link

Fix to Expose SMS Consent For Logged In Users with Default Address Set #138

Closed klaviyojad closed 2 years ago

klaviyojad commented 2 years ago

Problem Statement: Usually When an user adds a product to the shopping cart and proceeds with the checkout process. The checkbox for SMS consent would appear just below the field for Phone Number as illustrated below:

image2

If the user happens to be logged in and has default address set, user is not given the opportunity to enter address details like we saw for the first example. Instead you see a uneditable box with the address info as illustrated below:

image1

Solution: Expose just between the default address and where user has to select the shipping method the redundant field for Phone Number with SMS consent checkbox underneath:

image3