Support » Plugin: WooCommerce » Please help! Checkout page missing billing address

  • Hi,

    I was working on a webshop today, when suddenly things got messed up and I got a “White screen of death”. I couldn’t find the solution, but I knew Woocommerce was causing the problem. So I decided to upload a completely new version of Woocommerce (I needed to update anyway) and now everything is working again.. sort of.

    The biggest issue right now is that on the checkout page, the billing address form is completely missing. I did not change anything in any Woocommerce file after uploading it. You can see the issue here:

    Looking at the code, you can clearly see it’s not being loaded at all, it just says “Factuuradres” (Billing address). My template file does say <?php do_action(‘woocommerce_checkout_billing’); ?> , but only the title is being loaded.

    I did not change anything in the database either.

    Any help would be greatly (!) appreciated, as now it’s quite impossible to make an order, and the website is already running live..

    Thanks in advance!

    – Leon

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve narrowed down the issue a bit more. The page is loading the billing template (templates/checkout/form-billing.php), since it shows any HTML I put in there. However, the following lines seem to be giving no output at all:

    <?php foreach ($checkout->checkout_fields[‘billing’] as $key => $field) : ?>
    <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
    <?php endforeach; ?>

    Hope anyone knows where to look from here!

    Oh and when I do this:

    <?php var_dump($checkout->checkout_fields); ?>

    I get this:

    array(4) {
    array(9) {
    (and then this is filled with all the fields)

    How would I fix this? Is this a database problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please help! Checkout page missing billing address’ is closed to new replies.