Forum Replies Created
-
Ok, I’m dumping Woo Commerce plugin and going to try WP ecommerce plugin again.
Is Graphene supported now? Pretty quiet out there. Would be great if Graphene had
an ecommerce native solution that worked out the box. Seems like quite a few people
struggling with integrating workarounds.
It’s annoying that Woo push you to use their themes too, but I’m increasingly thinking
this is the only way to go, as Graphene seems to be falling behind.
Happy to be proved wrong!
Thanks
Gary
Hi Kenneth
Ok, I’ve created a ‘functions.php’ file and have cut and pasted all the text from
Luko’s post into it, as seen here:
https://forum.graphene-theme.com/graphene-support/graphene-and-woocommerce-compatibility
I saved the file as ‘functions.php’ and have moved that into the folder of
my Graphene Child Theme. Before I did that, I also added:
add_theme_support( ‘woocommerce’ );
right after the opening ‘php’ tag, so whole code now reads:
<?php
add_theme_support( 'woocommerce' );
remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
add_action('woocommerce_before_main_content', 'graphene_before_page_content', 10);
add_action('woocommerce_after_main_content', 'graphene_after_page_content', 10);
function my_theme_wrapper_start() {
echo '<div class="entry-content clearfix">';
}
function my_theme_wrapper_end() {
echo '</div>';
}
?>It seems to do nothing for my problem page at all. Can you please advise what’s wrong, or
how to fix it?
Thanks
Gary
Thanks Kenneth,
Will take a look later today.
best
Gary
Hi,
I didn’t get an answer to my query about WooCommerce and compatibility?
I’m guessing this page might help me with getting Woo to work better with
Graphene, but can I clarify first that there is no better way?
http://docs.woothemes.com/document/third-party-custom-theme-compatibility/
Thanks very much
Gary
Can anyone hep with this, please?
Thanks
Got it. ‘Manage Locations’. Thanks
Oh hang on, got it. ‘Manage Locations’. Thanks.
Cheers
Have just posted another question. All my nav bars on the mobile version are
different to main ‘desktop’ site now? Argh. How do I change these?
hahahaha!
Actually, it now works! I was being a bit of an idiot and hadn’t scrolled down when I was
looking at the admin area for that precise page. The plugin load a clear admin area of its own,
you just tick a few things, drop the code into another area and it just works.
http://www.hackneytools.com/forsale
I’m quite pleased with it, although it’s a very basic thing I’ve seen on a million websites, it will
cut out a lot of work for me. I can just list tools on eBay, but people will still get some tools to
look at if they come to my site first. All good.
Thanks again.
g
Hi Kenneth,
Sorry, I’ve wiped it for now, because I got frustrated that it wasn’t working and went
back to the normal page. I was trying it out at
http://www.hackneytools.com/forsale
I think I might avoid Javascript, it never works for me and always causes problems.
Thank you for having a look.
Gary
