-
AuthorPosts
-
November 16th, 2014 at 03:20 #28244Ukhost
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.November 19th, 2014 at 20:39 #28299wooooo+1 for WooCommerce Support!!!
November 25th, 2014 at 22:58 #28389AndrewI 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(); ?>November 26th, 2014 at 04:21 #28394AndrewI 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(); ?>November 27th, 2014 at 13:38 #28412ZedCryout Creations mastermindHi.
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.December 13th, 2014 at 20:35 #28663ElDid 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?
December 19th, 2014 at 19:24 #28748PaulinaI Have te same problem! I try to FTP woo commerce.php but nothing happening.
Help Please!December 21st, 2014 at 17:20 #28763FredricHi, do you have it for download now?
January 2nd, 2015 at 18:04 #28903OliverHallo,
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 articleIn 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(); ?>January 3rd, 2015 at 00:25 #28908Oliveri meant this link
January 3rd, 2015 at 00:48 #28911ZedCryout Creations mastermindThe WooCommerce child theme is now available:
http://www.cryoutcreations.eu/faq/e5-nirvana-compatible-woocommerceIf 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.March 4th, 2015 at 08:50 #30740JadeThany you so much. your solution worked for me 🙂
Viele liebe Grüße
Jade, Germany
March 4th, 2015 at 10:38 #30741MikaelI 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
-
AuthorPosts
The topic ‘Nirvana / Woocommerce’ is closed to new replies.