Woocommerce Integration

  • tabster

    #8412

    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.php

    Duplicate 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

    Kenneth John Odle

    #41105

    In 1.9.2, try replacing lines 8-15.

    tabster

    #41106

    Thanks for the help.

    I tried it but doesn’t seem to work and I am still getting the nag message “Your theme does not declare WooCommerce support – if you encounter layout issues please read our integration guide or choose a WooCommerce theme :)”

    Mod

    Kenneth John Odle

    #41107
    Quote:
    or choose a WooCommerce theme

    i.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.

Do NOT follow this link or you will be banned from the site!