<p>It's not documented on the Commerce site (yet), but Commerce does have <code>commerce_addProductActions</code> and <code>commerce_addOrderActions</code> hooks that a <a href="https://pluginfactory.io" rel="nofollow noreferrer">plugin</a> could latch onto to add its own custom actions to the Order and Product index pages.</p>

<p>Virtually identical to the <a href="https://craftcms.com/docs/plugins/hooks-reference#element-hooks" rel="nofollow noreferrer">add(Element)Actions</a> hooks that Craft provides for its elements.</p>

CC BY-SA 3.0
2017-01-18T03:26:59.183Z
2017-01-18T03:26:59.183Z
Brad Bell
<p>I would like to add an option to the gear menu seen below in Craft Commerce, is it possible to extend those templates ?</p>

<p>The idea is to create a plugin to export the selected orders to a CSV file</p>

<p><a href="https://i.sstatic.net/NHjhr.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NHjhr.png" alt="enter image description here"></a></p>

<plugin-development><plugin-craftcommerce><ecommerce>
Extending Craft Commerce admin templates
# Extending Craft Commerce admin templates

(Asked by: username_0 on 2017-01-17)

I would like to add an option to the gear menu seen below in Craft Commerce, is it possible to extend those templates ?

The idea is to create a plugin to export the selected orders to a CSV file

[![enter image description here](https://i.sstatic.net/NHjhr.png)](https://i.sstatic.net/NHjhr.png)

**Tags:** plugin-development, plugin-craftcommerce, ecommerce

---

## 1 answers

### Answer by username_1 on 2017-01-18. Score: 2 | Accepted answer

It's not documented on the Commerce site (yet), but Commerce does have `commerce_addProductActions` and `commerce_addOrderActions` hooks that a [plugin](https://pluginfactory.io) could latch onto to add its own custom actions to the Order and Product index pages.

Virtually identical to the [add(Element)Actions](https://craftcms.com/docs/plugins/hooks-reference#element-hooks) hooks that Craft provides for its elements.


---

