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

fix(ct): add missing order summary data #6283

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions packages/commercetools/theme/pages/Checkout/Payment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
<div class="accordion__content">
<p class="content">
<span class="content__label" v-if="chosenShippingMethod">{{ chosenShippingMethod.name }}</span><br />
{{ shippingDetails.streetName }} {{ shippingDetails.streetNumber }},
{{ shippingDetails.zipCode }}<br />
{{ shippingDetails.city }}, {{ shippingDetails.country }}
{{ shippingDetails.firstName }} {{ shippingDetails.lastName }}<br />
{{ shippingDetails.streetName }} {{ shippingDetails.streetNumber }}<br />
{{ shippingDetails.city }}, {{ shippingDetails.state }} {{ shippingDetails.postalCode }}<br />
{{ shippingDetails.country }}
</p>
<p class="content">{{ shippingDetails.phoneNumber }}</p>
<p class="content">{{ shippingDetails.phone }}</p>
</div>
<SfButton class="sf-button--text accordion__edit" @click="$emit('click:edit', 1)">
{{ $t('Edit') }}
Expand All @@ -32,11 +33,12 @@
<template v-else>
<p class="content">
<span class="content__label">{{ chosenPaymentMethod.label }}</span><br />
{{ billingDetails.streetName }} {{ billingDetails.streetNumber }},
{{ billingDetails.zipCode }}<br />
{{ billingDetails.city }}, {{ billingDetails.country }}
{{ billingDetails.firstName }} {{ billingDetails.lastName }}<br />
{{ billingDetails.streetName }} {{ billingDetails.streetNumber }}<br />
{{ billingDetails.city }}, {{ billingDetails.state }} {{ billingDetails.postalCode }}<br />
{{ billingDetails.country }}
</p>
<p class="content">{{ billingDetails.phoneNumber }}</p>
<p class="content">{{ billingDetails.phone }}</p>
</template>
</div>
<SfButton class="sf-button--text accordion__edit" @click="$emit('click:edit', 2)">
Expand Down
9 changes: 9 additions & 0 deletions packages/core/docs/commercetools/changelog/6282.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
description: 'Fix missing addresses data in order summary',
link: 'https://github.com/vuestorefront/vue-storefront/pull/6283/',
isBreaking: false,
breakingChanges: [],
author: 'Igor Wojciechowski',
linkToGitHubAccount: 'https://github.com/igorwojciechowski'
};