Archived topic
Woocommerce single-product.php issue
1 reply · Started by Dhruv on July 15, 2015
Dear Tom
I am using Generate press on my woocommerce site.
I have created cutom single-product.php template.
I copied woocommerce template folder inside generatepress folder and name it woocommerce.
and I designed my own single-product.php.
When I delete woocoomerce.php inside generatepress - single-product.php template works fine but other pages of woocommerce like shop front page etc doesnot work properly.
When I use woocommerce.php of generatepress everything works fine, but my custom designed single-product.php customisations doesnot appear there.
Is there any trick, so that only on my single product page (single-product.php) I use my own design and rest other pages GeneratePress woocoomerce.php
Pls suggest.
Thanks
Hi there,
Definitely leave the woocommerce.php file in the GP folder.
Then in your child theme, make sure you have the exact same structure as it appears in the WooCommerce plugin - more info here: http://docs.woothemes.com/document/template-structure/