Skip to content

Commit

Permalink
Merge pull request #5 from disha1202/#2me4rbb-updated
Browse files Browse the repository at this point in the history
Fixed: Store name is not added in address(#2me4rbb)
  • Loading branch information
adityasharma7 authored Jul 25, 2022
2 parents 05d619f + 05a2da9 commit 1d6d649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/OrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default defineComponent({
item.properties = item.properties.filter((property: any) => !(property.name === '_pickupstore' || property.name === 'Pickup Store'))
} else {
const store = this.shopifyStores[0];
const address = [store.storename, store.address1, store.city].filter((value: any) => value).join(", ");
const address = [store.storeName, store.address1, store.city].filter((value: any) => value).join(", ");
item.properties.push({ name: '_pickupstore', value: store.storeCode }, { name: 'Pickup Store', value: address })
}
this.store.dispatch('order/updateLineItems', this.order)
Expand Down

0 comments on commit 1d6d649

Please sign in to comment.