Support » Plugin: WooCommerce » Cart, Checkout and other pages are blank

  • Resolved Ayaz

    (@ayazahmed)


    I am using ver 2.0.8, I can see categories and products but Cart, Checkout and other pages are blank

    I found this in error log:

    20130430T115517: mysitename.ipage.com/index.php
    PHP Fatal error: Call to a member function is_visible() on a non-object in /hermes/bosweb26d/b1248/ipg.mysitename/wp-content/themes/ncg/woocommerce/content-product.php on line 25

    Any idea about it?

    Thanks in advance.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • That error means that the product object is either not loaded, or not available to the template code. You might try adding this to the top of the content-product template of your theme:

    <?php global $product; ?>

    Thanks for reply

    I had <?php woocommerce_content(); ?> in my page.php and woocommerce.php, I removed it from page.php and everything appeared.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cart, Checkout and other pages are blank’ is closed to new replies.