Nirvana / Woocommerce

  • Author
    Posts
  • #28244
    Ukhost

    Hi guys
    I love your theme nirvana and I would use it with WooCommerce.
    can you make it compatible with WooCommerce?
    it works well with, but some bugs bother me…
    I attached pictures of my problem with WooCommerce:
    This problem affect the shop page, the single product page and the taxonomy pages (categories and tags) because WooCommerce uses templates of its own to display these pages (and its impossible for WooCommerce to know exactly what markup your theme uses). Other “pages” (checkout, cart, account) are not affected because they use your theme’s page.php template.

    #28299
    wooooo

    +1 for WooCommerce Support!!!

    #28389
    Andrew

    I am having the same issue. I cannot get the left sidebar to show on the shop and product pages.
    So far I have tried following woothemes suggestion @ http://docs.woothemes.com/document/third-party-custom-theme-compatibility/
    ***1st Try***
    Copied page.php to local drive. changed name to woocommerce.php and ftp to wp-content/themes/nirvana.
    Changed shop page to use Two Columns, Side bar on Left template.
    Result. Shop page does not show left column and product images are gone. Everything floats to the left.

    ***2nd Try***
    Modified the woocommerce.php from:
    <?php
    /**
    * The template for displaying all pages.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site will use a
    * different template.
    *
    * @package Cryout Creations
    * @subpackage nirvana
    * @since nirvana 0.5
    */
    get_header();
    if ($nirvana_frontpage==”Enable” && is_front_page() && ‘posts’ == get_option( ‘show_on_front’ )): get_template_part( ‘frontpage’ );
    else :
    ?>
    <section id=”container” class=”<?php echo nirvana_get_layout_class(); ?>”>

    <div id=”content” role=”main”>
    <?php cryout_before_content_hook(); ?>

    <?php get_template_part( ‘content/content’, ‘page’); ?>

    <?php cryout_after_content_hook(); ?>
    </div><!– #content –>
    <?php nirvana_get_sidebar(); ?>
    </section><!– #container –>

    <?php
    endif;
    get_footer();
    ?>

    to:
    <?php
    /**
    * The template for displaying all pages.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site will use a
    * different template.
    *
    * @package Cryout Creations
    * @subpackage nirvana
    * @since nirvana 0.5
    */
    get_header();
    if ($nirvana_frontpage==”Enable” && is_front_page() && ‘posts’ == get_option( ‘show_on_front’ )): get_template_part( ‘frontpage’ );
    else :
    ?>
    <section id=”container” class=”<?php echo nirvana_get_layout_class(); ?>”>

    <div id=”content” role=”main”>
    <?php cryout_before_content_hook(); ?>

    <?php woocommerce_content(); ?>

    <?php cryout_after_content_hook(); ?>
    </div><!– #content –>
    <?php nirvana_get_sidebar(); ?>
    </section><!– #container –>

    <?php
    endif;
    get_footer();
    ?>
    Now it is showing the product images but left side bar is still not visible.

    ***3rd Try***
    -Copied Two Columns, Sidebar on Left template (template-twocolumns-left.php) to local pc.
    -Changed line 3 to ” * Template Name: Woocommerce, Sidebar on the Left” So it will show as a new template.
    -Removed <?php get_template_part( ‘content/content’, ‘page’); ?> and used <?php woocommerce_content(); ?> instead.
    -Saved as woocommerce-twocolumns-left.php and ftp to wp-content/themes/nirvana
    -Changed template for shop page to Woocommerce, Sidebar on Left.
    Result: Product and images are showing up but left side bar still is not.
    I know I am on the right track but just not sure where to put the <?php woocommerce_content(); ?>

    #28394
    Andrew

    I figured it out with help from http://www.cryoutcreations.eu/wp_super_faq/e5-is-parabola-compatible-with-woocommerce. I didn’t use the css or functions.php files. I also modified the woocommerce.php file slightly. This allows the left side bar to show on the woo commerce pages. It will only work to show LEFT side bar.
    1. create file called woocommerce.php
    2. add the below text.
    3. Save
    4. FTP to /wp-content/themes/nirvana
    5. Change shop page template to Two Columns, Sidebar on Left
    6. Refresh your shop page.

    <?php /*
    * Template Name: Woocommerce Left Side Bar
    *
    * @package Cryout Creations
    * @subpackage nirvana
    * @since nirvana 0.5
    */
    get_header(); ?>
    <section id=”container” class=”two-columns-left”>

    <div id=”content” role=”main”>
    <?php cryout_before_content_hook(); ?> <?php woocommerce_content(); ?> <?php cryout_after_content_hook(); ?>
    </div><!– #content –>
    <?php get_sidebar(‘left’); ?>
    </section><!– #container –>
    <?php get_footer(); ?>

    #28412
    Zed
    Cryout Creations mastermind

    Hi.

    We’ll publish a WooCommerce compatibility child theme once we release Nirvana 1.0 (which is pretty close by). This will make the store pages follow the generally configured layout.

    For separate sidebar positions in the store, the information provided by Andrew is very valuable.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #28663
    El

    Did try, but it does not work, still sidebar is at the bottom. When I FTP woocommerce.php to nirvana folder, there is no request to overwrite, so I do not understand how will new php file interract with system settings to improve?

    #28748
    Paulina

    I Have te same problem! I try to FTP woo commerce.php but nothing happening.
    Help Please!

    #28763
    Fredric

    Hi, do you have it for download now?

    #28903
    Oliver

    Hallo,

    you can read this for more information:

    My Solution:
    1) copy any file from /nirvana/templates into theme root /nirvana
    2) rename this file into woocommerce.php
    3) replace the loop as described in the article

    In Detail:
    1) i made a copy from nirvana/templates/template-threecolumns-center.php
    2) and replaced
    <?php get_template_part( ‘content/content’, ‘page’); ?>
    with
    <?php cryout_before_content_hook(); woocommerce_content(); cryout_after_content_hook(); ?>

    #28908
    Oliver

    i meant this link

    #28911
    Zed
    Cryout Creations mastermind

    The WooCommerce child theme is now available:
    http://www.cryoutcreations.eu/faq/e5-nirvana-compatible-woocommerce


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #30740
    Jade

    Thany you so much. your solution worked for me 🙂

    Viele liebe Grüße

    Jade, Germany

    #30741
    Mikael

    I installed the Nirvana child and everything works like a charm – except one thing. Pictures now seem to be locked at a specific proportion (standing). This prevents me from adding pictures (horizontal) to my new articels and blogposts.

    How can I fix this?

    Best regards

    Mikael

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Nirvana / Woocommerce’ is closed to new replies.