WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Please help! Checkout page missing billing address (3 posts)

  1. Snuk
    Member
    Posted 6 months ago #

    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: http://www.brutamsterdam.nl/checkout/

    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

    http://wordpress.org/plugins/woocommerce/

  2. Snuk
    Member
    Posted 6 months ago #

    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!

  3. Snuk
    Member
    Posted 6 months ago #

    Oh and when I do this:

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

    I get this:

    array(4) {
    ["billing"]=>
    NULL
    ["shipping"]=>
    array(9) {
    (and then this is filled with all the fields)

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

Reply

You must log in to post.

About this Plugin

About this Topic