Skip to content
This repository was archived by the owner on Aug 30, 2018. It is now read-only.
Merged
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
12 changes: 7 additions & 5 deletions templates/customers/addresses.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,13 @@
});

// Setup province selector on each customer address
{% for address in customer.addresses %}
new Shopify.CountryProvinceSelector('AddressCountry_{{ address.id }}', 'AddressProvince_{{ address.id }}', {
hideElement: 'AddressProvinceContainer_{{ address.id }}'}
);
{% endfor %}
{% paginate customer.addresses by 5 %}
{% for address in customer.addresses %}
new Shopify.CountryProvinceSelector('AddressCountry_{{ address.id }}', 'AddressProvince_{{ address.id }}', {
hideElement: 'AddressProvinceContainer_{{ address.id }}'}
);
{% endfor %}
{% endpaginate %}

// Modified contents of customer_area.js (global asset)
Shopify.CustomerAddress = {
Expand Down