Skip to content

Interview with Patrick Rauland, Project Manager for WooCommerce

To the interview! »

Our upcoming guide to WordPress development will include interviews with twelve WordPress luminaries.

As we’ve mentioned in the past, we’re working on a comprehensive guide for WordPress developers, with the working title The Principles of WordPress Development.

It’ll include an e-book, screencasts from us, and plenty more—including interviews with twelve WordPress luminaries like Pippin Williamson and Tom McFarlin.

Each interview is designed to give you a close look into the world—and, most especially, into the code—of a thriving WordPress developer. Today we’re excited to present an interview with Patrick Rauland, Project Manager of the wildly successful WordPress e-commerce solution WooCommerce.

We talked with Patrick about his approach to WordPress coding, and we walked step-by-step through a plugin he developed, WooCommerce Terms and Conditions Popup.

This One’s On the House!

Enjoy this interview! If you love it, join our mailing list, and set the radio button option to “Yes.”

[mc4wp_form]

You’ll get regular updates on the e-book package with exclusive content, plus a 25% discount on the e-book when it ships.

Thoughts, Questions, or Feedback?

We’d also love to hear any thoughts on the video, in the comments below.

Enjoy!

The Interview

https://www.youtube.com/watch?v=lerZC1l1_I4

Interview Contents:

0:00 – 1:30: Introductions

Patrick describes his experience with WordPress, WooThemes, and WooCommerce.

1:30 – 3:00: Defining Good WordPress Code

Patrick describes his criteria for good WordPress code:

  1. It needs to be WordPress code (written in a way that uses WordPress’s conventions and APIs), not just generic code written for WordPress as an afterthought.
  2. It “has to be written in a way so that it doesn’t break anything else,” especially on large projects like WooCommerce. This means checks like if(function_exists()), checking whether variables are already defined, testing across different hosting environments, and more.

3:40 – 1:00:30: A Deep-Dive into Code: WooCommerce Terms and Conditions Popup

We dive into Patrick’s WooCommerce plugin, WooCommerce Terms and Conditions Popup.

3:40 – 8:15: Introduces the behavior of WooCommerce Terms and Conditions Popup. This very simple plugin does one thing, and does it really well: It improves conversions by opening the “Terms and Conditions” page in a popup rather than on a new page, keeping people on the checkout page while they view it.

8:15 – 1:00:30: A comprehensive look at the plugin’s code. Topics covered (among many others):

  • Creating smart directory structures
  • Careful programming with checks like if(function_exists())
  • Object-oriented programming (OOP) for WordPress
  • Creating WordPress options and settings pages
  • Passing PHP variables to JavaScript with wp_localize_script
  • Integrating jQuery into a WordPress environment

1:00:30 – end: Advice for WordPress Developers

Patrick gives a ton of good advice for aspiring WordPress devs. Topics covered:

  • Patrick’s favorite WordPress and WooCommerce functions
  • Advice for WordPress devs: Go to WordCamps, listen to podcasts (Apply Filters, Side Hustle Nation, and more)
  • Lots of business advice for freelancers and consultants
  • Favorite development tools: Slack, Github, Atom code editor, MAMP, and more

That Was Awesome. Where Can I Get More of That?

We’ll be putting out a lot of exclusive content in the run-up to publication, so if you want that and a 25% discount on the e-book when it ships, join our mailing list! (And click “Yes” on the “update/discount” radio button option.)

[mc4wp_form]

Thoughts, Suggestions, and Feedback

We’d love to hear your thoughts on the video above; we’re recording more interviews as we speak, so your suggestions really will be taken seriously and potentially incorporated. Speak up in the comments below!

Fred Meyer

5 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
This Week in WordPress: NUX Team Announced, and Polyphasic Sleep | Silk Pixel Web
February 13, 2015 6:45 am

[…] folks at WPShout interview WooCommerce project manager Patrick Rauland about code, code and, well, […]

This Week in WordPress: NUX Team Announced, and Polyphasic Sleep | Blue Digital Web Services
February 12, 2015 9:53 am

[…] folks at WPShout interview WooCommerce project manager Patrick Rauland about code, code and, well, […]

This Week in WordPress: NUX Team Announced, and Polyphasic Sleep - Wordpress Easy
February 12, 2015 8:53 am

[…] folks at WPShout interview WooCommerce project manager Patrick Rauland about code, code and, well, […]

This Week in WordPress: NUX Team Announced, and Polyphasic Sleep | News Archive
February 12, 2015 7:41 am

[…] folks at WPShout interview WooCommerce project manager Patrick Rauland about code, code and, well, […]

This Week in WordPress: NUX Team Announced, and Polyphasic Sleep - WPMU DEV
February 12, 2015 7:35 am

[…] folks at WPShout interview WooCommerce project manager Patrick Rauland about code, code and, well, […]

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!

Most Searched Articles

Best JavaScript Libraries and Frameworks: Try These 14 in 2024

In this post, we look at the best JavaScript libraries and frameworks to try out this year. Why? Well, with JavaScript being available in every web browser, this makes it the most accessible programming language of ...

25 Best Free WordPress Themes (Responsive, Mobile-Ready, Beautiful)

If you're looking for only the best free WordPress themes in the market for this year, then you're in the right place. We have more than enough such themes for you right ...

12 Best WordPress Hosting Providers of 2024 Compared and Tested

Looking for the best WordPress hosting that you can actually afford? We did the testing for you. Here are 10+ best hosts on the market ...

Handpicked Articles

How to Make a WordPress Website: Ultimate Guide for All Users – Beginners, Intermediate, Advanced

Many people wonder how to make a WordPress website. They’ve heard about WordPress, its incredible popularity, excellent features and designs, and now they want to join the pack and build a WordPress website of their own. So, where does one get ...

How to Start an Ecommerce Business: Ultimate Guide for 2024

Is this going to be the year you learn how to start an eCommerce business from scratch? You’re certainly in the right place! This guide will give you a roadmap to getting from 0 to a fully functional eCommerce business. ...