WooCommerce reviews + tutorials

Add Plugin Settings to WooCommerce, Part 1

This is post 5 of 8 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. Building Your First WooCommerce Extension Hooking into WooCommerce Actions How to Create a WooCommerce Widget Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 Add Plugin Settings to WooCommerce, Part 2 WooCommerce Class Members Example: Create…

Read More

WordPress development tutorials

How to Generate a Post Excerpt Outside the Loop

When you work with WordPress, you become pretty familiar with using the WP_Post object or objects for custom post types. For example, while working with WooCommerce, products use the WC_Product post object (or the object for a class that inherits this, such as WC_Product_Variation). If you’re in the loop while working with posts or custom post types, get_the_excerpt() is a beautiful function, as it returns the excerpt if it’s set by the user, and automatically…

Read More

WooCommerce reviews + tutorials

Widgets, Part Deux: Create a Smart WooCommerce Widget

This is post 4 of 8 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. Building Your First WooCommerce Extension Hooking into WooCommerce Actions How to Create a WooCommerce Widget Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 Add Plugin Settings to WooCommerce, Part 2 WooCommerce Class Members Example: Create…

Read More

WooCommerce reviews + tutorials

How to Create a WooCommerce Widget

This is post 3 of 8 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. Building Your First WooCommerce Extension Hooking into WooCommerce Actions How to Create a WooCommerce Widget Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 Add Plugin Settings to WooCommerce, Part 2 WooCommerce Class Members Example: Create…

Read More

Pagely staging site

How to create a Pagely staging site (for the non-developer)

Chances are that you’ve heard of Pagely, as they were the first company to offer managed WordPress hosting. They’re one of two hosts we recommend, and we migrated all of our own sites to Pagely early this year. One feature that many eCommerce sites need as part of their managed hosting services are staging sites, as these help you test updates and debug issues so you don’t have to deactivate plugins or try out new…

Read More

Ask SkyVerge

How to Remove WooCommerce Product Images from the Cart

This Ask SkyVerge question comes from Frank: Is it possible to remove the product thumbnails and the links to the product page on the cart page? By default, the WooCommerce cart page includes product images and links to product pages in your shop for each item in the cart. However, the cart template is pretty flexible, and there a couple of handy filters in it that can let us change these cart elements. First, we…

Read More

WordPress development tutorials

Developers: Stop Using sslverify = false — WordPress has you covered

I listened to a talk recently about using WordPress to communicate with external APIs, which is something we do frequently at SkyVerge. We’ve built over 20 payment gateway integrations for WooCommerce, each of which needs to communicate with the payment processor’s API. One thing that I noticed in the talk is that setting sslverify = false when using wp_remote_get or wp_remote_post was recommended. This is a fairly common practice and has thus become recommended for…

Read More

WooCommerce reviews + tutorials

Hooking into WooCommerce Actions

This is post 2 of 8 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. Building Your First WooCommerce Extension Hooking into WooCommerce Actions How to Create a WooCommerce Widget Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 Add Plugin Settings to WooCommerce, Part 2 WooCommerce Class Members Example: Create…

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

WooCommerce reviews + tutorials

Building Your First WooCommerce Extension

This is post 1 of 8 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. Building Your First WooCommerce Extension Hooking into WooCommerce Actions How to Create a WooCommerce Widget Widgets, Part Deux: Create a Smart WooCommerce Widget Add Plugin Settings to WooCommerce, Part 1 Add Plugin Settings to WooCommerce, Part 2 WooCommerce Class Members Example: Create…

Read More