- 41
I'm using NopUltimatePluginCollection_3.7.148.18764 (RealOnePageCheckout).
I have a single custom address attribute named "Alias".
Alias is used as a quick reference to an address. e.g., "Main Office", "Building 2"
I would like to use this custom address attribute in the dropdown to select addresses.
In the view \SevenSpikes.Nop.Plugins.RealOnePageCheckout\Views\RealOnePageCheckout\BillingAddress.chtml
Line 18:
<div class="choose-address">
<select ng-model-options="{ updateOn: 'default change' }" ng-model="vm.billingData.selectedBillingAddress" ng-options="address.customProperties.fullAddress for address in vm.billingData.addresses track by address.id">
<option value="" ng-if="false"></option>
</select>
</div>
I want to replace address.customProperties.fullAddress with address.customAddressAttributes[0].???
I don't understand the model enough to finish this.
So the dropdownlist would look like...
[New Address]
[Alias 1]
[Alias 2]
[Alias 3]
Any help with this would again be very much appreciated.
Thank you!
I have a single custom address attribute named "Alias".
Alias is used as a quick reference to an address. e.g., "Main Office", "Building 2"
I would like to use this custom address attribute in the dropdown to select addresses.
In the view \SevenSpikes.Nop.Plugins.RealOnePageCheckout\Views\RealOnePageCheckout\BillingAddress.chtml
Line 18:
<div class="choose-address">
<select ng-model-options="{ updateOn: 'default change' }" ng-model="vm.billingData.selectedBillingAddress" ng-options="address.customProperties.fullAddress for address in vm.billingData.addresses track by address.id">
<option value="" ng-if="false"></option>
</select>
</div>
I want to replace address.customProperties.fullAddress with address.customAddressAttributes[0].???
I don't understand the model enough to finish this.
So the dropdownlist would look like...
[New Address]
[Alias 1]
[Alias 2]
[Alias 3]
Any help with this would again be very much appreciated.
Thank you!