WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Cart, Checkout and other pages are blank (3 posts)

  1. Ayaz
    Member
    Posted 1 year ago #

    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/

  2. IgniteWoo
    Member
    Posted 1 year ago #

    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; ?>
  3. Ayaz
    Member
    Posted 1 year ago #

    Thanks for reply

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.