Ask SkyVerge

Create a “My Memberships” section shortcode with WooCommerce Memberships

Today’s question comes from Scott: Can I use or create a shortcode to have the “My Memberships” area outside of the “My Account” page? In other words, if I wanted to place My Memberships on a page other than the default /my-account page, would I be able to do that? This is an interesting question, as you could add the “My Memberships” table to a custom page on your site, protect that page for members,…

Read More

Team

Add Plugin Settings to WooCommerce, Part 2

This is post 6 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

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