Shipping fields empty - by organics - on WordPress WooCommerce support

This topic has 8 replies, 3 voices, and was last updated 8 years, 8 months ago ago by Jack Richardson

  • Avatar: organics
    organics
    Participant
    April 23, 2016 at 17:50

    On http://yourcompanysite.net/ when on the checkout page the shipping fields are empty. I tried checking the 3 Woocommerce shipping options but none made it appear. When checking out we get the error message:
    First Name is a required field.
    Last Name is a required field.
    Address is a required field.
    Town / City is a required field.
    State / County is a required field.

    Is this a theme compatibility issue or purely a Woocomerce bug? Any advice would be most welcome.

    Thank you.

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 25, 2016 at 08:36

    Hello,

    Please provide us with FTP and WP Dashboard credentials.
    Have you made any changes in the theme files?

    Regards,
    Eva Kemp.

    Avatar: organics
    organics
    Participant
    April 25, 2016 at 09:55

    Login in private area below.

    I added code to the function.php file via wp-admin. I have tried without this code and still have the blank shipping field and error checking out. I am able to successfully make a purchase on Firefox, but not on Chrome or Edge browsers. The shipping fields are still blank on Firefox.

    The code added was to alter the Arabic lettering to AED:

    add_filter( ‘woocommerce_currencies’, ‘add_custom_currency’ );

    function add_custom_currency( $currencies ) {
    $currencies[‘AED’] = __( ‘United Arab Emirates Dirham’, ‘woocommerce’ );
    return $currencies;
    }

    add_filter(‘woocommerce_currency_symbol’, ‘add_custom_currency_symbol’, 10, 2);

    function add_custom_currency_symbol( $currency_symbol, $currency ) {
    switch( $currency ) {
    case ‘AED’: $currency_symbol = ‘AED ‘; break;
    }

    return $currency_symbol;
    }

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2016 at 10:39

    Hello,

    What is FTP username?

    Best regards,
    Jack Richardson.

    Avatar: organics
    organics
    Participant
    April 25, 2016 at 15:58

    Hi, sorry about that- thought I missed something. Please see below.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2016 at 16:19

    Hello,

    FTP credentials are incorrect.
    Please check them.

    Best regards,
    Jack Richardson.

    Avatar: organics
    organics
    Participant
    April 25, 2016 at 18:32

    Very sorry, I assumed the password would be the main one. I have set it now and tested it- the below login is correct. Thanks for your patience.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 25, 2016 at 20:11

    Hello,

    The following css code is placed in your custom.css file in line 1:
    #breadcrumb, .back-to, #billing_address_2_field, .woocommerce-shipping-fields {display:none;}

    and it’s hiding Shipping Address fields on checkout page.
    Remove the .woocommerce-shipping-fields class from the mentioned code and then check your checkout page.

    Best regards,
    Jack Richardson.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.