How to Handle Digital/Downloadable Products in WooCommerce

In this tutorial we’ll discuss what is Digital/Downloadable products and how to handle digital/downloadable products. We will also show you the settings that allow you to manage your downloadable products easily.

Continue reading “How to Handle Digital/Downloadable Products in WooCommerce”

Fix Blurry Product Images in WooCommerce – How To

Images and videos of any products can make or break your online store. Your images need to be clear and properly sized so that customers can find and inspect the items they will be purchasing without any hesitation and confusion.

Continue reading “Fix Blurry Product Images in WooCommerce – How To”

How to Manage Product Categories, Tags and Attributes in WooCommerce

Categories, tags and attributes are essential for running your WordPress website for long term. However, these can be used for running your website for a short period of time as well. If you set these features on your store in right way, your customers will find their specific products through your store.

Continue reading “How to Manage Product Categories, Tags and Attributes in WooCommerce”

Product Shipping Classes in WooCommerce

WooCommerce product shipping classes will allow you to add classes to items or variations that can control how costs are calculated. For example, this can allow you to add shipping or handling surcharges for certain items in addition to your standard shipping costs.

Continue reading “Product Shipping Classes in WooCommerce”

How to Add Variable Products in WooCommerce

WooCommerce is the world’s leading eCommerce platform that impresses its clients with stunning opportunities and continually opens the door to new enhancements. In eCommerce, you will see that the majority of products don’t come in a single choice, but many different variantions, such as color, size, length, version… WooCommerce allows you to create variable products for this reason.
Continue reading “How to Add Variable Products in WooCommerce”

Adding Product Images and Galleries in WooCommerce – Beginners Guide

Images in an online store provide a visual treat to the customers and give them a better idea about any product. If you create a image gallery of your products it will be more attractive to the customer. You can easily add product images and gallery images when you create/add the product or edit an existing product.

Continue reading “Adding Product Images and Galleries in WooCommerce – Beginners Guide”

A Guide to Adding and Managing Products in WooCommerce

With the help of WooCommerce plugins products can be added and maintained very well. It is now a matter of few mouse clicks and you can add as many products as you want to sell. At the end of this article you will learn how to add and manage products in your online store admin panel.

Continue reading “A Guide to Adding and Managing Products in WooCommerce”

Test Webhooks on WooCommerce

Before continuing to Webhooks, let’s learn what is hooks or hooking?The hooks and hooking are used in programming terms to refer to a number of techniques used to modify the behavior of an application.

Hooks allow you to increase the functionality of an application or an operating system or alter it. The principle of operation is the interception of messages or events between the different components of an application. The code that is executed during these interceptions is called hook .

What are Webhooks?

Webhooks is a term used for sending data to a URL especially when an event occurs. For example, if you subscribes to an email marketing list the service that manages the list can easily send data like the subscriber’s name and email to another system like a Customer Relationship Manager. They are basically used for the integration with third-party services and other external API that support them.

Webhooks in WooCommerce

Webhooks were first introduced in July 2014, in Woocommerce 2.2 in order to trigger events each and every time you add, edit or delete orders, products, coupons or customers. Nowadays  making use of Webhooks with WooCommerce actions is considered as a smart move for the owner and customer. For example, create a webhook to be used every time a product is added to the shopping cart using the action:

woocommerce_add_to_cart

Setting up WooCommerce Webhooks

To start your set up, make sure to login to your WooCommerce shop as an administrator. Then go to WooCommerce > Settings and click the API tab.

Webhooks in WooCommerce

Note: Webhooks were formerly found under WooCommerce > Settings > API prior to WooCommerce 3.4.

For those users who are using WooCommerce 3.4 or later version, To create a new webhook: Go to: WooCommerce > Settings > Advanced > Webhooks.

WooCommerce Webhooks

Click the Webhooks link in the sub menu and you’ll see an empty list of webhooks.WooCommerce Webhooks

Create a New Webhook

The first step is to press Create a new webhook. The webhook will be added and then the settings fields will be appeared. The settings fields are described below.

Name– This is only meant for store administrators. Here one can set anything. This will help you to know what the webhook is for.

Status- This means the webhook status of either Active, Paused, or Disabled.

Topic- This can cause Webhook to fire. You will be surprised to know that WooCommerce supplies 12 actions and two custom actions. The pre-defined ones are listed below.

  • Coupon created
  • updated
  • deleted
  • Customer created
  • updated
  • deleted
  • Order created
  • updated
  • deleted
  • Product created
  • updated
  • deleted

There are also Action and Custom options.

  • Action Event: This option is available when the Topic is a WooCommerce Action, such as woocommerce_add_to_cart for when customers add products to the shopping cart.
  • Custom Topic: This option is only for advanced users. It’s possible to introduce a new and customized topics with the help of the following filter:

woocommerce_webhook_topic_hooks

Delivery URL–  the URL that the webhook payload will be sent to.

Secret– Generally it is used to generate a hash of the webhook’s body, the one which is provided in the request headers.

API Version- The latest version of WooCommerce allows us to choose the API used for the delivery of messages. We have three options:

  • WP Rest API v1
  • WP Rest API v2
  • Legacy API v3 (obsolete)

With this you can create a new webhook.

Editing and deleting webhooks

To edit and delete webhooks,

Go to the Webhooks and find the webhook you wish to alter.

Click on the Webhooks Name and Edit and Delete permanently options appear.

Delete, or make Edits and Save changes. You can delete the Bulk with the dropdown.

Edit Delete Option

Webhook logs

WooCommerce saves the webhook logs of all events triggering a webhook. To find Webhooks logs go to WooCommerce > Status > Logs.

Webhooks Logs

In it you can find the delivery and response of the server.

Related Article: Using Webhooks

WooCommerce System Status Report

WooCommerce System Status report is a vital tool for troubleshooting issues with your site/online store. Through System Status report you can check software versions, server settings, and WordPress configuration.

Continue reading “WooCommerce System Status Report”

User Roles and Capabilities for WooCommerce

After installation of WooCommerce Plugins you have to know the WordPress user roles and capabilities available in WooCommerce. There are different roles and capabilities assigned to users on your wordpress site/online store. This is to give the site owner control over who can access on the site.

Continue reading “User Roles and Capabilities for WooCommerce”