Wonderflux icon indicating copy to clipboard operation
Wonderflux copied to clipboard

Test & integrate WooCommerce

Open Jonnyauk opened this issue 9 years ago • 5 comments

As it's so popular, it makes sense to support this - Woo users deserve Wonderflux too ;)

Documentation on 'hooked' integration for reference: https://docs.woothemes.com/document/third-party-custom-theme-compatibility/#section-2

Would be nice to have 'before_woocom_' and 'after_woocom' additional hooks for Wonderflux too, like BuddyPress ones ;)

Jonnyauk avatar Dec 15 '15 08:12 Jonnyauk

I'm closing this for the moment - I think Woo will likely change in the future so lets let the dust settle!

Jonnyauk avatar Jun 02 '16 09:06 Jonnyauk

Hi,

What's the right way of intergrating woocommerce and wonderflux using the hooks? Thanks in advance!

ghost avatar Sep 12 '16 09:09 ghost

Hi @stefvanriet - I've not tested Woo Commerce integration unfortunately, although I think it is fairly easy to integrate with any theme - probably just needs a few new hooks to work. Unfortunately I closed this issue as it's not a priority right now. If you have any findings on integration, please do let me know ;)

Jonnyauk avatar Sep 12 '16 10:09 Jonnyauk

Hi,

Yeah, I noticed but I thought this was the right place to adress this because I stumbled across this thread on Google. I couldn't get it to work using hooks but I used the less flexible function instead (and it was terribly easy):

For anyone wanting to intergrate Woocommerce and Wonderflux using the function (instead of the hook), here's what to do:

  1. Duplicate page.php from the Wonderflux parent directory to your child directory.
  2. Rename this copy file to 'woocommerce.php'.
  3. Search for and replace ' get_template_part( 'loop', 'page' );' with 'woocommerce_content();'. Done!

ghost avatar Sep 12 '16 10:09 ghost

Nice!! That's great, thank you for the support info on this, you've just saved me some R&D... I hoped it would be something simple like this ;)

I'll likely include that in a future version of Wonderflux when I have a chance to test out integration (in-between my proper work!)

I'm re-opening this ticket to help me remember ;)

Jonnyauk avatar Sep 12 '16 11:09 Jonnyauk