WooCommerce reviews + tutorials

Widgets, Part Deux: Create a Smart WooCommerce Widget

This is post 1 of 4 in the series “Build a WooCommerce Extension” This series walks you through some of the beginner to intermediate skills you’ll need to build your first WooCommerce extension. Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 WooCommerce Class Members Example: Create a WooCommerce Upsell Shortcode How to Create a Simple WooCommerce Payment Gateway We’ve covered how to create a WooCommerce widget in a…

Read More

Ask SkyVerge

Changing the Storefront My Account Page

Today’s Ask SkyVerge question is from Harshad: The “My Account” page used to display the login and register forms side by side, but now that I switched to Storefront and updated WooCommerce they are below each other, taking up a lot of space on the page. Can the Storefront My Account page be changed? If you use WooCommerce in a default theme, like TwentyTwelve, you’ll see that the “My Account” page layout is in two…

Read More

Overriding Templates in WooCommerce Extensions

WooCommerce has a system in place that will allow you to override core templates within your child theme. This means that you can copy a template file, edit it, and the edited version in your theme will be loaded instead of the core version of the template. We do encourage you not to do this, as most changes can be made via hooks (filters and actions) instead, and this method is far more upgrade-safe than…

Read More

One WooCommerce Theme to Rule Them All: Storefront

Hey folks! In case you haven’t been keeping up with WooCommerce updates, we wanted to share a pretty awesome thing they did with you yesterday. WooCommerce has released Storefront, which is an entirely free WooCommerce theme. And it’s fantastic. Lots of customers end up asking WooCommerce, “Which theme for WooCommerce should I use?” It’s a question we get at SkyVerge, and it’s one I get at Sell with WP frequently as well (which I also…

Read More

Code

How to Safely Add Custom Code to WordPress Sites

There are many times that you want to tweak plugins, add a code snippet, or change some styling for your WordPress site. However, many users make these changes in a way that’s not viable for the long-term. For example, these changes shouldn’t be put into your parent WordPress theme, as they’ll be overridden when you update your theme (the same goes for plugins). Some users use this as a reason not to update themes or…

Read More

WordPress plugins vs themes

Why Use Plugins Instead of Theme Changes?

Since we develop a lot of plugins (mostly for WooCommerce) and do some custom development, we get a lot of questions on best practices or recommendations for adding functionality to a site. Many times we’ll provide suggestions or guidance and tell people they should create a custom plugin, which prompts the question, “Couldn’t I just modify my theme template or buy a theme with this built-in this instead? I don’t want to have too many…

Read More

WooCommerce reviews + tutorials

Create an Overrideable WooCommerce Template File

Sometimes when developing a WooCommerce plugin you want to output a snippet of HTML, and do so in such a way that the content can be easily overridden by a theme. It’s part of the process of crafting a well-engineered, customizable plugin. The best way to achieve this is by using WooCommerce’s own templating mechanism, and what once took some effort and some filters is now a snap thanks to one of the recent WooCommerce…

Read More