---
title: "Woo Template Block – Product: Custom Actions"
source: "https://docs.nexcess.com/software/kadence/product-custom-actions-block/"
description: "The Product: Custom Actions block allows you to add a Custom Do Action or a Custom Do Function to your product pages. This feature can be used for integrating w…"
vertical: "Software"
area: "Kadence"
date: "2023-04-19"
last_modified: "2026-07-02"
---

# Woo Template Block – Product: Custom Actions

The Product: Custom Actions block allows you to add a Custom Do Action or a Custom Do Function to your product pages. This feature can be used for integrating with 3rd party plugins or just for adding custom functions to the product page.

![](https://docs.nexcess.com/wp-content/uploads/2026/06/CustomActions-1024x631-1.jpg)The Product: Custom Actions block can be found under the Woo Template Blocks section of the Block Selector.

![](https://docs.nexcess.com/wp-content/uploads/2026/06/selectcustomactionblock-436x1024-1.jpg)## Block Settings

You can customize your Product: Custom Actions Block using the Block Settings.

![](https://docs.nexcess.com/wp-content/uploads/2026/06/Block-Settings-1024x529-1.jpg)**General Settings –** Here, you can set the Custom Type as a Do Function or a Do Action. Then in the Custom Action/Function field, you can call that action.

![](https://docs.nexcess.com/wp-content/uploads/2026/06/generalsettings.jpg)For example, you can add this [Code Snippet](https://wordpress.org/plugins/code-snippets/) to your website

```
function custom_snippet_example() {
	echo '<h1 style="color:white;background:black;">Hello!</h1>';
}
```

Then you can call this action by using these Block Settings.

![](https://docs.nexcess.com/wp-content/uploads/2026/06/samplea.jpg)The results will look like this.

![](https://docs.nexcess.com/wp-content/uploads/2026/06/Sample-B-1024x645-1.jpg)**Spacing Settings –** The Spacing Settings allow you to add padding and margin for desktop, tablet, and mobile devices.

![Product Brand Spacing](https://docs.nexcess.com/wp-content/uploads/2026/06/Product-Brand-Spacing.png)**Advanced Settings –** The Advanced Settings allow you to add a Custom CSS Class to your block.

![Main Query Advanced Settings](https://docs.nexcess.com/wp-content/uploads/2026/06/Main-Query-Advanced-Settings.png)
