How to change checkout billing form??
I wonder how can I change the fields on the Checkout form,
I notice this function is called...
jigoshop_checkout_billing
But is there another way or a file where I can do this?
If you have a quick example could be of great help
Thanks
Comments are currently closed for this discussion. You can start a new one.
2 Posted by Matt on 03 Nov, 2011 08:28 PM
You mean, the field names? Or do you want to remove fields entirely?
Field names can be changed using our language files, .po and .mo . Might want to grab poEdit for that.
3 Posted by Omegakenshin on 03 Nov, 2011 08:39 PM
Thanks for answer Matt,
well not remove them entirely, mostly the "Postal Code"...
Oh about the poEdit, I try finish the spanish translation but some of the strings (58) are obsolete and with a lot new (225), was there a big update and no one have updated this? Is there a way I can share my translation with the Jigoshop team and be accepted?
4 Posted by Omegakenshin on 03 Nov, 2011 08:45 PM
Ok I updated the .po file with the .pot and there is new(78)/obsolete(26) I'll work with those.
About removing the Postal Code field, is this posible??
5 Posted by Matt on 03 Nov, 2011 11:04 PM
Yes, if you have a translation to share with us then by all means, please do! We'd gladly accept it :)
Here's an example on how to make postal field optional.
6 Posted by Omegakenshin on 04 Nov, 2011 09:22 PM
Thanks for your help Matt,
Just in case someone else come to check out this post this is the path of the file
\wp-content\plugins\jigoshop\classes\jigoshop_checkout.class.php
In line 46
Eg
Change 'required' => true to => false
Also here is my updated translation for spanish.
7 Posted by Matt on 04 Nov, 2011 09:28 PM
Thanks for the update, I've added one of our developers to the thread so he can implement the translation later on =).
Support Staff 8 Posted by Jeff on 05 Nov, 2011 11:44 AM
I've added them in, thanks a lot. :-)
Matt closed this discussion on 05 Nov, 2011 06:05 PM.