Shape 5

Wordpress Club Themes => Helion - Club => : soundtilt October 24, 2014, 10:54:18 AM



: WooCommerce
: soundtilt October 24, 2014, 10:54:18 AM
Is this theme compatible with Woocommerce? If so, is there something I am doing wrong?

If I activate WooCommerce, my front page disappears and turns into the standard blog layout WordPress originally begins with.


: Re: WooCommerce
: Tristan Rineer October 24, 2014, 11:17:03 AM
This thread has information on how to add Woocommerce support. (http://www.shape5.com/component/option,com_smf/Itemid,75/topic,31972)  I also have a compatibility patch I'd like to test before I release it; if you're interested in letting me test on your site, PM me FTP and WP login information.


: Re: WooCommerce
: soundtilt October 24, 2014, 01:33:22 PM
The patch would either have to be tested by me or while we're under live conversation. The past few times I've tried installing WooCommerce resulted in the frontpage being irreversably broken just because of hitting the activate button.


: Re: WooCommerce
: soundtilt October 24, 2014, 03:07:40 PM
As for the link you gave, I've tried for a good two hours now without success to make it work with helion using those codes they mention. That, or I'm misunderstanding what to do entirely.


: Re: WooCommerce
: Tristan Rineer October 27, 2014, 06:42:23 AM
I'll try to put it into easy steps:

1. Create a copy of the theme's index.php file and name it woocommerce.php

2. Find the following code in the new woocommerce.php file:

   
:
	<?php if ($s5_show_component == "yes") { ?>

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

<?php ?>
   
3.  Replace that code with the following:

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


 
 That should be all you need to do; multiple people have used that method successfully now, so it should work.


: Re: WooCommerce
: soundtilt October 27, 2014, 07:36:13 AM
Are you sure this is for the Helion - Club Wordpress theme?
My index.php file located @ s5-helion directory folder shows this code in that location:


:
							<?php ?>

<?php if ($s5_show_component == "yes") { ?>

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

<?php ?>


: Re: WooCommerce
: Tristan Rineer October 27, 2014, 07:59:02 AM
It shouldn't matter, but try this code:


:
<?php if ($s5_show_component == "yes") { ?>

<div id="s5_component_call_wrap">
<div id="s5_component_call_wrap_inner">
<div class="woocommerce">
<?php woocommerce_content(); ?>
</div>
<div style="clear:both;height:0px"></div>
</div>
</div>

<?php ?>
                     
                     
The instructions I gave are generic instructions for how to create the Woocommerce page template, the only thing that really matters is the woocommerce class on the div, and the function to call the shop content.


: Re: WooCommerce
: soundtilt October 27, 2014, 12:25:50 PM
Didn't work either. Anyways, I have found a different commerce provider that seems to work nicely, so I believe I'll just stick to that. Thanks anyways  :)


: Re: WooCommerce
: Tristan Rineer October 27, 2014, 01:50:46 PM
As long as you found something that works for you.  What have you decided to use?  Other members who find this thread may be interested.


: Re: WooCommerce
: soundtilt October 28, 2014, 08:10:18 PM
It's called Easy Digital Downloads (https://easydigitaldownloads.com/). A good collection of plugins which haven't caused me any problems with the theme, except for a widget that aesthetically doesn't match. So I am trying to figure out how to edit it.