Or anyone knows how to change the error messages for cart66 i cant seem to find the it.
billing state required
shipping state required
I would like to change the above two i am using cart66 lite 1.5.0.2 with the latest version of wp.
any help appreciated!
In addition to the above, I’m also not getting any shipping form show up at all – even when selected to show the shipping form for shippable items. I am only using the order form option.
The form validation settings are in Cart66GatewayAbstract.php; I guess the only way to resolve this is to dive in there. Causing a bit of a headache…
where is that page located, in my cart66-lite/views i dont have that page, im going to try the database tables. Or may uninstall and use another. But please do let me know if anyone can resolve this.
I fixed it, for the version 1.5.1.14 at least.
Follow these steps to get rid of the ‘state required’ errors:
In the file cart66-lite/gateways/Cart66GatewayAbstract.php you should change the $skip array in the two functions setShipping() and setBilling().
Change to: (state was wrong, was something else)
$skip = array(‘address2’, ‘state’);
Not sure if this is needed, but since I use the manual gateway, I changed the $skip here as well:
cart66-lite/gateways/Cart66ManualGateway.php
Hope it can help anyone! The bad thing with this is of course you will have to re-edit these files when a new version is released.