• Resolved LiteBit

    (@litebit)


    Just curious if it’s possible to integrate simple woocommerce into albinomouse?
    I’ve been looking at this write-up
    http://docs.woothemes.com/document/third-party-custom-theme-compatibility/
    and tried the first option (replace the loop) but I just get a blank page once I do that. The part I’m replacing in the new woocommerce.php file (a duplicate of albinomouse page.php file) is:

    <?php while ( have_posts() ) : the_post(); ?>
    
    		<?php get_template_part( 'content', 'page' ); ?>
    
    		<?php comments_template( '', true ); ?>
    
    	<?php endwhile; // end of the loop. ?>

    any thoughts on a remedy for this or integration?
    Cheers,
    LiteBit

Viewing 1 replies (of 1 total)
  • Theme Author stebrech

    (@pixelstrolch)

    Hi LiteBit
    It is possible, I checked it out today. You have to create a new file, which is exactly called woocommerce.php. Paste at least the following content in it:

    <?php
    /**
     * Template Name: WOOCommerce
     */
    
    get_header(); ?>
    <div id="content" class="woocommerce" role="main">
    	<?php woocommerce_content(); ?>
    </div><!-- #content .woocommerce -->
    <?php get_footer(); ?>

    Don’t forget to backup your work!

    Cheers Stefan

Viewing 1 replies (of 1 total)
  • The topic ‘woocommerce integration’ is closed to new replies.