• Resolved Bas

    (@basz85)


    Hi there,

    I want to use WooCommerce compatibilty with this amazing theme. I follow this procedure. I’ve never done this, so I’m a bit a n00b, although I worked with WordPress like for 7 years. And I tried for like three days now. But I’m in a loop as well ;-).

    I did this from the page.php of this theme:

    <div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main">
    
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'content', 'page' ); ?>
    
    				<?php
    					// If comments are open or we have at least one comment, load up the comment template
    					if ( comments_open() || get_comments_number() ) :
    						comments_template();
    					endif;
    				?>
    
    			<?php endwhile; // end of the loop. ?>

    To this an rename it to -> woocommerce.php

    get_header(); ?>
    
    	<div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main">
    
    			<?php woocommerce_content(); ?>
    
    			<?php endwhile; // end of the loop. ?>

    But I get an blank website and nothing worked (administrator login something like that). Maybe I over looked with The Loop or I need to adding some to woocommerce.php wich was first page.php. I’m not for sure.

    Can someone help me out?

    Thanks in advance!

    Sincerley,
    Bas

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Making WooCommerce compatibility.’ is closed to new replies.