WordPress.org

Forums

WooCommerce - excelling eCommerce
Theme compatibility? (4 posts)

  1. swollazn
    Member
    Posted 2 years ago #

    I'm trying to add woocommerce to this theme here.

    http://themeforest.net/item/expression-photography-responsive-wordpress-theme/2855595

    However, tested a product page but it still linked to the home page of my original theme.

    http://docs.woothemes.com/document/third-party-custom-theme-compatibility/

    I followed the "Using woocommerce_content()" method. I created a new php file and replaced the loop and it still doesn't work. I wanted to know if Woocommerce or anyone else has tested this theme. Thanks.

    <?php
    /**
     * Default page template - all the pages by default use this template unless another page template has been assigned.
     */
    get_header();
    
    <?php woocommerce_content(); ?>
    
    //include the after content template
    locate_template( array( 'includes/html-after-content.php'), true, true );
    
    get_footer();
    ?>

    This is the woocommerce.php code.

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

  2. Mike Jolley
    Member
    Plugin Author

    Posted 2 years ago #

    However, tested a product page but it still linked to the home page of my original theme

    Are you saying it linked back to the homepage?

    What did you name your page template?

  3. swollazn
    Member
    Posted 2 years ago #

    Yeah, my homepage only displays. What do you mean by page template?

    The product url is http://phleejewelry.com/product/wootest1/

    I only followed the directions by creating a new php file (woocommerce.php) and copying the loop.

  4. swollazn
    Member
    Posted 2 years ago #

    Actually I got the code messed up. It's supposed to be literally only this line I believe.

    <?php woocommerce_content(); ?>

    But woocommerce.php is not taking effect still.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic