Site logo

Archived topic

Woocommerce and childtheme

9 replies · Started by Max on September 1, 2021

Viewing posts 1–10 of 10

I am editting in the child theme of generate press. To change things for woocommerce. This doesn't work. Any reason for that?

Hi Max,

Not sure I fully understand your question.

Can you tell me what exactly are you trying to change?

What file have you changed? What changes you've made to this file?

Let me know :)

i want to delete the add to cart buttons on my website.

Hi Max,

This isn't something the theme support can help with as those are WooCommerce filters.

That being said, the code looks like it should work.

Have you checked with WooCommerce' support team?

But i have a lot of times that i want to change something in the child theme. And then it doesnt work. But other people say it work. But is it a woocommerce problem then? Or something weird in the child theme

The child theme itself cannot be the issue - a default child theme is basically an empty file that grabs the files from the parent theme.

You can try:
- Activate the parent theme.
- Add the code using the Code Snippets plugin and test if that works:
https://docs.generatepress.com/article/adding-php/#code-snippet

I am you really thankfull

No problem :)

This archived topic is closed to new replies.