Site icon job.blog

Contributing to Code without Coding

I’ve been working at Woo for over almost two years now. During that time, I’ve learnt a lot. While working with the different plugins, themes and extensions we offer, it is normal to encounter bugs: small (or big) things in the software not working as they should.

Using Software and Reporting Bugs

Just using the software already lets you contribute to the code. Even if you don’t understand the code behind a process, then you can still experience if something isn’t going as it should.

Which leads to an important second step of this: if you nowhere report that things are going badly, no one will know. In that case, you’re not actually helping. So if you encounter a bug, let the developer know.

I use the Storefront theme quite a bit. It’s a great theme with a great team behind it. In my time using it, I’ve seen a few things that didn’t work as they should. This is how to report a bug to storefront:

Change the Code

WordPress code is a combination of HTML, CSS, PHP, and JavaScript. Let me let you in on a secret: you don’t need to be an expert to write small patches to the code.

Say what?

Yes, even without understanding these coding languages in depth, you can make small changes. I’ve experienced this myself with WooCommerce. WooCommerce is our most important product, and obviously, we all work with it quite regularly.

Little over half a year after starting at Woo, I was tired of submitting issues for something as simple as changing the text a bit. This doesn’t really require knowing PHP. It just means that you are good at using the search function.

Here’s what I use as workflow for editing WooCommerce:

For the above example, I’m very sure it would be rejected (because I know that “Add to Cart” was chosen very deliberately). However, if you’re serious about your changes, and you add a good argument for it to your pull request, the devs might just agree with you and make you a contributor to WooCommerce Core.

Since my first pull request ever on June 3, 2015, I’ve submitted 14 pull request to date. 2 of those were not merged, but 12 were. Because of that, on the list of contributors, I’m now #40. That means that only 39 other people have added more code to WooCommerce core than me. 

Most of my contributions are change to the text, not to the PHP code. You can get there too!

Exit mobile version