Support » Plugin: Cart66 Lite :: WordPress Ecommerce » [Plugin: Cart66 Lite :: WordPress Ecommerce] Form Province/state field mandatory.

  • Im using cart66 lite and ive selected billing address as shipping address and using manual checkout. Now when a customer checks out he is required to fill out all fields even province although it isn’t explicitly mentioned that that field is mandatory! and when submit is pressed all fields mandatory are highlighted in red except province.
    this will confuse my users, anyone know of a solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 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 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:

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Cart66 Lite :: WordPress Ecommerce] Form Province/state field mandatory.’ is closed to new replies.