Woocommerce Integration
-
I am trying to make graphene and woocommerce play together nicely, but not having much luck finding “the loop” that needs to be redirected. Here are the instructions given by woo, can anyone shed some light on where to find this?
Quote:Duplicate page.phpDuplicate your theme’s page.php file, and name it woocommerce.php. This file should be found like this: wp-content/themes/YOURTHEME/woocommerce.php.
Edit your page (woocommerce.php)
Open up your newly created woocommerce.php in a text editor (or the editor of your choice).
Replace the loop
Next you need to find the loop (see The_Loop). The loop usually starts with a:
<?php if ( have_posts() ) :
and usually ends with:
<?php endif; ?>
This varies between themes. Once you have found it, delete it. In its place put:
<?php woocommerce_content(); ?>
This will make it use WooCommerce’s loop instead. Save the file. You’re done.
Mod
In 1.9.2, try replacing lines 8-15.
Mod
Quote:or choose a WooCommerce themei.e., we are going to create plugins that work well with our themes, but not with others.
If you aren’t married to this plugin, there are a number of e-commerce plugins out there. I have had good luck with wp-ecommerce.
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.