WordPress.org

Ready to get started?Download WordPress

Forums

Cart66 Lite :: WordPress Ecommerce
Form Province/state field mandatory. (5 posts)

  1. seanbee
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/cart66-lite/

  2. seanbee
    Member
    Posted 1 year ago #

    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!

  3. ashbydesign
    Member
    Posted 1 year ago #

    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…

  4. seanbee
    Member
    Posted 1 year ago #

    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.

  5. Snorvarg
    Member
    Posted 11 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic