Shape 5

General Category => Wordpress Talk => : pastorlane October 24, 2013, 01:18:12 PM



: Woocommerce
: pastorlane October 24, 2013, 01:18:12 PM
Hello,

I'm using Modern Flavor theme and I need to use WooCommerce. 

There is a compatibility issue and per the woo-commerce instructions, this can be resolved by locating "the loop" on the "page.php" and replacing it with <?php woocommerce_content(); ?>, then rename woocommerce.php and then upload to theme directory.  I couldn't find the "page.php. but I did see "loop.php". I made the changes as instructed and uploaded file; but I'm still having the same compatibility issues.

Please see here: http://scipreview.com/?post_type=product

Any ideas on how to correct?

Here are the woocommerce instruction for you:  http://docs.woothemes.com/document/third-party-custom-theme-compatibility/

Thanks





: Re: Woocommerce
: Tristan Rineer October 25, 2013, 09:24:22 AM
Try using index.php instead of loop.php; the problem you're having is that none of the main index content (including styles and scripts) is there.


: Re: Woocommerce
: mattmartel February 05, 2014, 05:33:46 AM
Hi Tristan,

I am using Shape 5 Ameritage and have the same problem as I try to implement WooCommerce to enable donations to an Australia bank.

Website is asbestosresearch.org.au

I can't find anything resembling the loop code mentioned above ( <?php if ( have_posts() ) : ) within the index.php file to replace with <?php woocommerce_content(); ?>


Any ideas on what to replace? I feel like this is using a sledgehammer to crack a walnut but there are no other WordPress gateways I can find.

Thanks a lot.

Matt


: Re: Woocommerce
: Tristan Rineer February 05, 2014, 09:06:31 AM
Have you considered using something simple like WP-Stripe? http://wordpress.org/plugins/wp-stripe/

Just a Paypal donate button would probably work fine too if that's all you're wanting to do.

The code you are looking for is
:
	<?php if ($s5_show_component == "yes") { ?>

<?php s5_component_call(); ?>
<div style="clear:both;height:0px"></div>

<?php ?>

Just changing the "s5_component_call()" function should be all you need to do.


: Re: Woocommerce
: mattmartel February 05, 2014, 06:14:32 PM
Thanks. I will work on that. Stripe is for US only and the charity doesn't want to use PayPal.

Thanks again.

Matt


: Re: Woocommerce
: epool86 April 17, 2014, 07:13:13 AM
Greeting,

Im having problem with General Commerce theme with Woocommerce plugin as well, on certain page (like Cart) it seem work (although not perfect), but page like Shop, Single Product, etc it the styling is not work at all. I do some search on how to fix the woocommerce compatibily issue with 3rd party theme, the solution is to add <div class="woocommerce"> in page.php file, this should apply to all content by default. But the problem is, vertex framework is different from ordinary theme, there is no page.php file, yes i found index.php but it only apply to homepage, it not apply to other page such as product and shop page.

So my question is, is there any clue on how to solve this. The CSS is not applied at all, you can see the page here http://www.buraqlube.com.my/new2/product/buraqlube-racer-2t-1l

I do really hope there is some solution to this. Thanks.


: Re: Woocommerce
: Tristan Rineer April 17, 2014, 12:13:18 PM
It appears that WooCommerce is not using the theme at all on the pages that you're having issues with.  I would have to see the code to figure out why it's doing that, there may be a setting that can be changed.


: Re: Woocommerce
: Janeyel July 21, 2014, 07:32:26 PM
I just wanted to write to tell you that, I was having problems for a month figuring out what e-commerce plugin to use with the Shape5 products, I was almost at my wits end because they create such robust framework with endless possibilities. My ecommerce plugin of choice is woo commerce and I have successfully integrated its functionality into the theme and still being able to retain all the theme functions and beauty, that is: to not to be forced to use the simplified woo theme that is used on the shop page.

The instruction is as mentioned before,
Most themes uses the Page.php file, however Shape 5 uses the Index.php file
Locate this file in wp-content-yourtheme/index.php
duplicate it and rename the duplication woocommerce.php

open it and edit the code as mentioned

<?php if ($s5_show_component == "yes") { ?>
   
      <?php s5_component_call(); ?>
      <div style="clear:both;height:0px"></div>
   
   <?php } ?>
with

<?php woocommerce_content(); ?>

save it,
and watch the magic..

Thanks for this awesome Club


: Re: Woocommerce
: mikenicoll July 21, 2014, 08:35:26 PM
Hello,

Thanks for posting this update. I am sure that will help other users with similar questions!

-Mike


: Re: Woocommerce
: masmarinho September 05, 2014, 03:36:11 AM
Hi Tristan

Im Getting some troubles in Integration.
I Tested Both ways and it works nice.

The problem is with loop. When i use [products columns ='5'] for defining a page i got all perfect. ( http://ventosurbanos.pt/wordpress/?page_id=227 )
when it goes from Shop it http://ventosurbanos.pt/wordpress/?post_type=product it doesnt make columns.


The difference in Loop.php
In one case it gets only one pass on the while in the other it take a lot of it.

<?php   echo $s5_loop->blocks($s5_loop_tags['before_loop']);
                echo("D0"); //////////%$%%%%%%% DEBUG 0
        while ( have_posts() ) : the_post();
                echo("D1"); //////// $$$$$$$ DEBUG 1
                if(!isset($s5_loop_tags['oddeven'])){$s5_loop_tags['oddeven'] = 's5_even';}else{
                $s5_loop_tags['oddeven'] = ($s5_loop_tags['oddeven'] == 's5_odd')? 's5_even' : 's5_odd';}

                echo $s5_loop->blocks($s5_loop_tags['before_post']);
?>

I wish u could get me some feedback.

Best Regards.



: Re: Woocommerce
: Tristan Rineer September 05, 2014, 07:03:30 AM
Firebug (http://getfirebug.com/) shows that the problem you're having has nothing to do with the loop.php file.  The layout problems you are having are because the Woocommerce css files aren't being loaded on the page you are having issues with; that is not something that can be caused by the theme code.


: Re: Woocommerce
: masmarinho September 05, 2014, 07:51:05 AM
Hi Tristan You are Right :)

 <div class="woocommerce">
 <?php woocommerce_content(); ?>
 </div>

The change makes all the difference :)

Thank a lot ! Best Regards


: Re: Woocommerce
: mikenicoll September 05, 2014, 05:46:11 PM
Let us know if you have any further questions!


: Re: Woocommerce
: sistemas October 15, 2014, 03:45:56 PM
Good afternoon, this theme is compatible with WooCommerce? I purchased both themes, joomla and wordpress. I made a first installation with joomla and virtuemart component, but I could not use the joomla by version incompatibility with the payment gateway that currently use (payulatam).

So I decided to use WordPress as the installation of WooCommerce plugin is compatible with the payment gateway. But I've been surprised, when I install this plugin home page is not visible, however other is set as your homepage.
 
What I can do? Thank you very much for your prompt attention.


: Re: Woocommerce
: Tristan Rineer October 16, 2014, 06:18:44 AM
These posts from earlier in this thread explain what needs to be done, and how to do it.


I just wanted to write to tell you that, I was having problems for a month figuring out what e-commerce plugin to use with the Shape5 products, I was almost at my wits end because they create such robust framework with endless possibilities. My ecommerce plugin of choice is woo commerce and I have successfully integrated its functionality into the theme and still being able to retain all the theme functions and beauty, that is: to not to be forced to use the simplified woo theme that is used on the shop page.

The instruction is as mentioned before,
Most themes uses the Page.php file, however Shape 5 uses the Index.php file
Locate this file in wp-content/yourtheme/index.php
duplicate it and rename the duplication woocommerce.php

open it and edit the code as mentioned

<?php if ($s5_show_component == "yes") { ?>
   
      <?php s5_component_call(); ?>
      <div style="clear:both;height:0px"></div>
   
   <?php } ?>
with

<?php woocommerce_content(); ?>

save it,
and watch the magic..

Thanks for this awesome Club



Hi Tristan You are Right :)

 <div class="woocommerce">
 <?php woocommerce_content(); ?>
 </div>

The change makes all the difference :)

Thank a lot ! Best Regards


: Re: Woocommerce
: sistemas October 16, 2014, 09:56:02 AM
Hello Tristan. Thank you for your prompt response. I've made ​​the changes you've recommended me, but still the problem of not showing the home page. Displays a different one. The change to solve the problem that the store site showed no styles. Now it looks good.
I thank you to help me with the problem of not seeing my homepage actually configured for this purpose.
We test url below:

Shop: http://fg.sidicol.com/shop/


Best regard,

Eladio Gil Moreno


These posts from earlier in this thread explain what needs to be done, and how to do it.


I just wanted to write to tell you that, I was having problems for a month figuring out what e-commerce plugin to use with the Shape5 products, I was almost at my wits end because they create such robust framework with endless possibilities. My ecommerce plugin of choice is woo commerce and I have successfully integrated its functionality into the theme and still being able to retain all the theme functions and beauty, that is: to not to be forced to use the simplified woo theme that is used on the shop page.

The instruction is as mentioned before,
Most themes uses the Page.php file, however Shape 5 uses the Index.php file
Locate this file in wp-content/yourtheme/index.php
duplicate it and rename the duplication woocommerce.php

open it and edit the code as mentioned

<?php if ($s5_show_component == "yes") { ?>
   
      <?php s5_component_call(); ?>
      <div style="clear:both;height:0px"></div>
   
   <?php } ?>
with

<?php woocommerce_content(); ?>

save it,
and watch the magic..

Thanks for this awesome Club



Hi Tristan You are Right :)

 <div class="woocommerce">
 <?php woocommerce_content(); ?>
 </div>

The change makes all the difference :)

Thank a lot ! Best Regards


: Re: Woocommerce
: Tristan Rineer October 16, 2014, 02:55:36 PM
Your site looks fine to me, you just need to get your content set up correctly.