Site logo

Archived topic

Override archive-product.php

1 reply · Started by kvejonsio on March 7, 2016

Viewing posts 1–2 of 2

Hello Everyone.

I was trying to override archive-product.php, so I copied it to
generatepress-child->woocommerce/archive-product.php and made changes, but they wasn't apply. I found out that the problem is due to the woocommerce.php file, if I rename/delete it the changes are applied, but as I know it's not a good solution. So what and how should I do to achieve this task properly?

Regards MK

Hi there,

You can delete the woocommerce.php file from the generatepress folder - I removed it from the next version as it's not needed anymore :)

This archived topic is closed to new replies.