Artisteer is the first and only Web design automation product that instantly creates fantastic looking, unique website templates and blog themes. However, normally activating Woocommerce Plugin on wordpress, your work and beautiful theme, goes to hell. Here is a simple solution to fix this.

This is the ultimate solution for Woocommerce preventing an override of your theme:

  • Enter in the folder of your theme and copy the file page.php and rename it to woocommerce.php
  • Edit the new file woocommerce.php and replace this code
<?php 
if(have_posts()) { 
/* Start the Loop */ 
while (have_posts()) { 
the_post(); 
get_template_part('content', 'page'); 
/* Display comments */ 
if ( theme_get_option('theme_allow_comments')) { 
comments_template(); 
} 
} 
} else { 
theme_404_content(); 
} 
?>

with this:

<div class="art-box art-post page">	
<div class="art-box-body art-post-body"> 
<div class="art-post-inner art-article"> 
<?php woocommerce_content(); ?> 
</div> 
</div> 
</div> 
<div class="cleared"></div>
  • Save all and upload.

Enjoy your new Artisteer / WooCommerce site.

You will have both the php files in the theme; one normally used by your theme (page.php), the other one (modified as explained above) by woocommerce (woocommerce.php).

When you decide to disable woocommerce, the new file will not be used by wordpress.

 

* For an even better solution, I highly recommend getting TheTemplateer which solves a number of problems that Artisteer users have been begging for!