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
Thanks a lot mnakalay!
My pleasure :)
one more thing sorry. where can I find the values in the dropdown button? example choose state/province
if you mean the lists of countries and states it's in concrete/core/helpers/lists
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.
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
It should do the trick
Modify line 20
ss.append('<option value="">Choose State/Province</option>');
It should do the trick
thank you so much! =) that was a great help
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.