Support » Plugin: Checkout Field Manager (Checkout Manager) for WooCommerce » validate-postcode in City fields

  • Resolved Jairo Ochoa

    (@jairoochoa)


    Hi

    Somehow the plugin is adding postcode validation to City field and we got this message in Checkout.

    City is not a valid Post Code.

    This is the code for the City field. As can see in the source code, there is a class “validate-postcode”.

    <p class="form-row form-row-wide wooccm-field wooccm-field-city wooccm-type-text address-field validate-postcode validate-required woocommerce-validated" id="billing_city_field" data-priority="70" data-o_class="form-row form-row-wide wooccm-field wooccm-field-city wooccm-type-text address-field validate-required validate-postcode">
    <label for="billing_city" class="">City <abbr class="required" title="obligatorio">*</abbr></label>
    <span class="woocommerce-input-wrapper">
    <input type="text" class="input-text wooccm-required-field" name="billing_city" id="billing_city" placeholder="City" value="Mos" data-required="1" autocomplete="address-level2">
    </span>
    </p>

    Since I’ve deactivated the plugin I get this without validate-postcode:

    <p class="form-row address-field validate-required form-row-wide woocommerce-validated" id="billing_city_field" data-priority="70" data-o_class="form-row form-row-wide address-field validate-required">
    <label for="billing_city" class="">Población&nbsp;<abbr class="required" title="obligatorio">*</abbr></label>
    <span class="woocommerce-input-wrapper">
    <input type="text" class="input-text " name="billing_city" id="billing_city" placeholder="Ciudad / Población" value="Mos" autocomplete="address-level2">
    </span>
    </p>

    Is there any setting where define the type of data of each field ?
    As I’v seen City is text type but I cannot see anything related to postcodes

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author quadlayers

    (@quadlayers)

    Hello @jairoochoa

    Our plugin doesn’t offer a validation settings and doesn’t change the WooCommerce validation settings

    Please share the list of active plugins

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Hi @quadlayers

    Maybe there is any conflict with another plugin, but since Checkout Field Manager (Checkout Manager) for WooCommerce is deactivated the bug has disappeared.

    Plugins ? too many, indeed:

    All-in-One WP Migration
    All-in-One WP Migration Unlimited Extension
    Autónomos
    Better Search Replace
    Bridge Core
    Busca y reemplaza
    Contact Form 7
    Custom Recovery Mode Email
    Editor clásico
    Facebook for WooCommerce
    GDPR Cookie Compliance
    Google Listings and Ads
    Jetpack
    Listado de facturas
    Machete
    Mailchimp for WooCommerce
    MailPoet 3 (New)
    Pay for Payment for WooCommerce
    Qode Instagram Widget
    Qode Twitter Feed
    Regenerate Thumbnails
    SiteGround Analyzer
    SiteGround Optimizer
    SiteGround Security
    Slider Revolution
    Smart Coupons For WooCommerce Coupons
    TablePress
    Variation Swatches for WooCommerce
    Seleccionar WC - APG Envío por peso	
    WooCommerce
    WooCommerce PDF Invoices & Packing Slips
    WooCommerce Redsys Gateway Light
    WooCommerce Shipping & Tax
    Seleccionar WooCommerce Super Shipping	
    WP-Sweep
    Seleccionar WPBakery Page Builder	
    WPVulnerability
    YITH WooCommerce Wishlist
    Yoast Duplicate Post
    Yoast SEO

    This website was done by someone and we have inherited it with all its problems.
    One of the task that we are going to do is remove as many plugins as possible, but meanwhile we must deal with them.

    Thanks

    Plugin Author quadlayers

    (@quadlayers)

    can you please deactivate all plugins except WCM and check if the issue persists?

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Some plugins like “Bridge Core” cannot be disabled because it manages Theme settings.
    But I will disable one by one until the bug disappear.

    I will ask for a staging to do it, but who can do it now is on holidays.

    Shall we put this issue in standby ?

    Thanks

    Plugin Author quadlayers

    (@quadlayers)

    sure no problem, we can wait a few days

    Thread Starter Jairo Ochoa

    (@jairoochoa)

    Thanks

    Plugin Author quadlayers

    (@quadlayers)

    welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘validate-postcode in City fields’ is closed to new replies.