Merge pull request #2264 from woocommerce/PCP-3173-fastlane-hide-billing-data-in-ryan-flow

AXO: Hide Billing Details in Ryan flow (3173)
This commit is contained in:
Niklas Gutberlet 2024-05-28 19:03:05 +02:00 committed by GitHub
commit 3cb69df916
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,22 +34,7 @@ class BillingView {
</div>
`;
}
return `
<div style="margin-bottom: 20px;">
<div class="axo-checkout-header-section">
<h3>Billing</h3>
<a href="javascript:void(0)" ${this.el.changeBillingAddressLink.attributes}>Edit</a>
</div>
<div>${data.value('email')}</div>
<div>${data.value('company')}</div>
<div>${data.value('firstName')} ${data.value('lastName')}</div>
<div>${data.value('street1')}</div>
<div>${data.value('street2')}</div>
<div>${data.value('postCode')} ${data.value('city')}</div>
<div>${valueOfSelect('#billing_state', data.value('stateCode'))}</div>
<div>${valueOfSelect('#billing_country', data.value('countryCode'))}</div>
</div>
`;
return '';
},
fields: {
email: {