Black Friday Sale! Get up to $40 off GP Premium!Learn more

Override archive-product.php

Home Forums Support Override archive-product.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #177524
    kvejonsio

    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

    #177637
    Tom
    Lead Developer
    Lead Developer

    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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.