Woocommerce template files

Hi

I am looking to use Reciptful’s Recommendations service. To do so I need to edit the Woocommerce template files to remove the Related Products section and the You May Also Like section. And use their embedded code.

Adii Pienaar has looked at the theme for me but he can’t see these files within the theme so suggested I contact you and ask if its possible to edit them and if so where they are.

Thanks

Jo

Hey Jo,

Thanks for getting in touch! You need to add/copy the files to the theme folder to override WooCommerce templates. You can check this doc from Woothemes for more info.

Hope this helps!

Ben

Hi Ben

I sent the link to Adii and he has asked me to ask you guys what element of Beaver Builder is creating the related products section of a woo commerce product page. Here is what he says specifically:

"Unfortunately I’m no closer to the truth on this… This is what I know:

You don’t seem to be using any plugins that are adding those sections to your product pages.
There’s nothing in your theme functions file that is adding those sections it seems.
It’s not widgets.

I understand what Ben (from Beaver Builder) said before about adding the /woocommerce/ files (as per the document he linked to). As a first point of call, won’t you please ask him to tell you what’s creating the “Related Products” section on this page? http://www.no44homeworks.co.uk/shop/old-white-chalk-paint-annie-sloan/

Cheers

Adii Pienaar
Founder"

Can you look at this page http://www.no44homeworks.co.uk/shop/old-white-chalk-paint-annie-sloan/ and tell me/us what is creating the Related Products section?

As you will obviously know Adii is one of the founders of woo commerce, but this seems a bit of a mystery!

Thanks

Jo

Hey Jo,

That part is created by the WooCommerce plugin, specifically the file /woocommerce/templates/single-product/related.php. If you need to override that, simply copy that file to /yourtheme/woocommerce/single-product/related.php and do the changes there. That way, any updates to the WooCommerce plugin won’t affect your changes, pretty much like how a child theme works.

Hope this helps!

Ben