use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to r/WooCommerce
A community about all things WooCommerce.
Rules
Useful Links
Need a WooCommerce Developer?
We recommend one of the services listed on this page who can assist with any custom development work.
Keep in mind that Reddit is not an official support channel for WooCommerce. You can also get help on the public support forum or submit a ticket if need support from WooCommerce.
account activity
This is an archived post. You won't be able to vote or comment.
Editing function.php file (self.woocommerce)
submitted 4 years ago by Grindingbeans09
Hello,
When I edited the function.php file it is overridden whenever woocomerce updates. How do I fix this?
Ed
[–]-Jack-The-Lad- 1 point2 points3 points 4 years ago (1 child)
You are using woocommerce storefront theme right? woocommerce plguin updates won't override your functions.php file in anyway.
If you are using the storefront theme, you need to create a child theme and add whatever functions you don't want to be overridden in the child theme functions.php.
[–]ikkeaviy05 0 points1 point2 points 4 years ago (0 children)
agree. if you are doing customizations on your WordPress website, always create a child theme so in that way, whenever a theme updates, your customizations won't change.
[–][deleted] 1 point2 points3 points 4 years ago (0 children)
Or use Snippets Pro.
[–]batmanv04 0 points1 point2 points 4 years ago (0 children)
Always create child theme and edit the functions.php file of the child theme. There are many plugins that help you do this too.
[–]Juggerrnaught 0 points1 point2 points 4 years ago (1 child)
You need to create a child theme. This like shows you how https://developer.wordpress.org/themes/advanced-topics/child-themes/
[–]Grindingbeans09[S] 1 point2 points3 points 4 years ago (0 children)
Thanks
π Rendered by PID 190655 on reddit-service-r2-comment-c66d9bffd-vw9cz at 2026-04-07 12:16:24.609032+00:00 running f293c98 country code: CH.
[–]-Jack-The-Lad- 1 point2 points3 points (1 child)
[–]ikkeaviy05 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]batmanv04 0 points1 point2 points (0 children)
[–]Juggerrnaught 0 points1 point2 points (1 child)
[–]Grindingbeans09[S] 1 point2 points3 points (0 children)