Woocommerce shop page layout with Responsive By emiluzelac

responsive-theme-with-woocommerce
responsive-theme-with-woocommerce

Mini tutorial on how to get Woocommerce perfecly integrated into your already existing wordpress theme: this case Responsive By emiluzelac, a very good and really responsive theme for your wordpress blog.

Unfortunately this theme as a large number of themes, does not have the woocommerce optimization in order to get a perfect ecommerce wordpress platform. Infact woocommerce itself works great! It just need this little help. But, hey it is worth the effort!

The Solution: Just copy your

/wp-content/themes/responsive/page.php

into

/wp-content/themes/responsive/woocommerce.php

then replace all in within this statement (including the statement!) until the corresponding ‘end if’

<?php if (have_posts()) : ?>

With

<?php woocommerce_content(); ?>

You should end up with this:

 <?php

// Exit if accessed directly
if ( !defined('ABSPATH')) exit;

/**
 * Pages Template
 *
 *
 * @file           page.php
 * @package        Responsive 
 * @author         Emil Uzelac 
 * @copyright      2003 - 2013 ThemeID
 * @license        license.txt
 * @version        Release: 1.0
 * @filesource     wp-content/themes/responsive/page.php
 * @link           http://codex.wordpress.org/Theme_Development#Pages_.28page.php.29
 * @since          available since Release 1.0
 */
?>
<?php get_header(); ?>

        <div id="content">
        
<?php woocommerce_content(); ?> 
      
        </div><!-- end of #content -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

Save, open your website/shop page, et voilà!
All working as expected!

Comments are welcome!
Ciao

 

 

About this theme:

Version: 1.8.9.1
Responsive Theme is a flexible foundation with fluid grid system that adapts your website to mobile devices and the desktop or any other viewing environment. Theme features 9 Page Templates, 11 Widget Areas, 6 Template Layouts, 4 Menu Positions and more. Powerful but simple Theme Options for full CMS control with easy Logo Upload, Social Networking and Webmaster Tools etc. Responsive is WooCommerce Compatible, Multilingual Ready (WPML), RTL-Language Support, Retina-Ready, Search Engine Friendly, W3C Markup Validated and currently translated into 41 language. Cross-Browser compatible and yes even the IE7. No paid memberships or clubs to get a FREE/Responsive Support you need. http://themeid.com/help/
(Visited 4,621 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.