Forum Support

Shape 5
March 28, 2024, 07:51:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Woocommerce  (Read 32684 times)
pastorlane
Jr. Member
**
Offline Offline

Posts: 6



« on: 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



Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mattmartel
Jr. Member
**
Offline Offline

Posts: 14



« Reply #2 on: 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
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: 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
Code:
<?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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mattmartel
Jr. Member
**
Offline Offline

Posts: 14



« Reply #4 on: 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
Logged
epool86
Jr. Member
**
Offline Offline

Posts: 1



« Reply #5 on: 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.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #6 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Janeyel
Jr. Member
**
Offline Offline

Posts: 1



« Reply #7 on: 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
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #8 on: 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
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
masmarinho
Jr. Member
**
Offline Offline

Posts: 2



« Reply #9 on: 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.

Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #10 on: September 05, 2014, 07:03:30 AM »

Firebug 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
masmarinho
Jr. Member
**
Offline Offline

Posts: 2



« Reply #11 on: September 05, 2014, 07:51:05 AM »

Hi Tristan You are Right Smiley

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

The change makes all the difference Smiley

Thank a lot ! Best Regards
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #12 on: September 05, 2014, 05:46:11 PM »

Let us know if you have any further questions!
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
sistemas
Jr. Member
**
Offline Offline

Posts: 2



« Reply #13 on: 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.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #14 on: 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 Smiley

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

The change makes all the difference Smiley

Thank a lot ! Best Regards
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.