How Do I Change State to Province in the Billing and Shipping Address Forms?

By default, the label in the Billing and Shipping Address forms is "State" after country. If you'd like to change this to something like Province, you can do so with the following instructions.

Billing Address

You'll need to edit two template files, both named state.php. You'll find one in /lib/templates/super-widget-billing-address/elements/ and the other in /lib/templates/content-checkout/elements/purchase-requirements/billing-address/elements/.

In each of these, you'll add an array next to the state field in order to change the label:

<?php it_exchange( 'billing', 'state', array('label' => 'State/Province') ); ?>

This way it will show State/Province whether they checkout through the cart page or on the actual product page.

Instead of editing the files directly, please follow the directions outlined in How Do I Edit My Template Files.

Shipping Address

You'll need to edit two template files, both named state.php. You'll find one in /lib/templates/super-widget-billing-address/elements/ and the other in /lib/templates/content-checkout/elements/purchase-requirements/billing-address/elements/.

In each of these, you'll add an array next to the state field in order to change the label:

<?php it_exchange( 'shipping', 'state', array('label' => 'State/Province') );

This way it will show State/Province whether they checkout through the cart page or on the actual product page.

Instead of editing the files directly, please follow the directions outlined in How Do I Edit My Template Files.

Have more questions? Submit a request
Powered by Zendesk