CoreCommerce Addon simple question

Permalink 1 user found helpful
Hi guys just want to ask how to change the labels in the checkout form. For example I want to change the Address 1 to Address one

View Replies: View Best Answer
mnakalay replied on at Permalink Reply
mnakalay
Hello,
concerning the address fields, it's a core user attribute, not part of the e-commerce add-on but part of C5. If you want to change it, you would have to override the core attribute.

Look in concrete/models/attribute/types/address/form.php
That's the file you need to override.
yuusha replied on at Permalink Reply
Thanks a lot mnakalay!
mnakalay replied on at Permalink Reply
mnakalay
My pleasure :)
yuusha replied on at Permalink Reply
one more thing sorry. where can I find the values in the dropdown button? example choose state/province
mnakalay replied on at Permalink Reply
mnakalay
if you mean the lists of countries and states it's in concrete/core/helpers/lists
yuusha replied on at Permalink Reply
I want to change the "choose state/province" and I already changed it in the form.php but it will only change if the lists is empty.
mnakalay replied on at Permalink Best Answer Reply
mnakalay
I see. It seems that this gets modified a second time through javascript. Look where you found form.php, you'll also find country_state.js

Modify line 20
ss.append('<option value="">Choose State/Province</option>');


It should do the trick
yuusha replied on at Permalink Reply
thank you so much! =) that was a great help