# Template shortcodes

The VendorFuel plugin uses the following shortcode:

```
[vf-template name="shortcode-name"]
```

Each of the following template shortcode names correspond to a WordPress page.

| Title           | Shortcode name  | Parameters                                                                                                                      |
| --------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Account         | account         |                                                                                                                                 |
| Addresses       | addresses       |                                                                                                                                 |
| Cart            | cart            |                                                                                                                                 |
| Catalog         | catalog         | <p><strong>cat\_id</strong> <em>(number) (Optional)</em><br>Using a cat\_id will return only products within that category.</p> |
| Checkout        | checkout        | <p><strong>po\_prefix</strong> <em>(string) (Optional)</em><br>Prefixes the purchase order.</p>                                 |
| Favorites       | favorites       |                                                                                                                                 |
| Forgot Password | forgot-password |                                                                                                                                 |
| Group Account   | group-account   |                                                                                                                                 |
| Group Orders    | group-orders    |                                                                                                                                 |
| Login           | login           |                                                                                                                                 |
| Order by SKU    | order-by-sku    |                                                                                                                                 |
| Orders          | orders          |                                                                                                                                 |
| Product Detail  | product-detail  | **product\_id** *(number) (Required)*                                                                                           |
| Punchout Return | punchout-return |                                                                                                                                 |
| Register        | register        | **customer\_role** *(number) (Optional)*                                                                                        |
| Reset Password  | reset-password  |                                                                                                                                 |
| Saved Cart      | saved-cart      |                                                                                                                                 |
| Saved Carts     | saved-carts     |                                                                                                                                 |
| View Order      | view-order      |                                                                                                                                 |

{% hint style="info" %}
Wherever a shortcode name is used (usually on the corresponding WordPress page), the matching template content is imported from `includes/templates`. For example, using `[vf-template name="login"]`will result in the content from `includes/templates/login.html` to be imported.
{% endhint %}
