---
title: "Customizing Upsell Markup"
source: "https://docs.nexcess.com/software/give/customizing-upsell-markup/"
description: "Developers and those familiar with PHP and WordPress templating can harness that power to customize the markup of the Donation Upsells add-on. This document exp…"
vertical: "Software"
area: "Give"
date: "2019-12-19"
last_modified: "2026-07-02"
---

# Customizing Upsell Markup

Developers and those familiar with PHP and WordPress templating can harness that power to customize the markup of the Donation Upsells add-on. This document explains the process in detail.

## Available Templates

There are two templates available for customizing within the Donation Upsells add-on:

- **donation-wrapper.php** — includes the code that wraps donation lists on the checkout or cart within WooCommerce.
- **donation-single.php** — includes the code that renders the donation form option with the toggle header.

You can find these existing templates within the plugin’s file structure at `/Give-Donation-Upsells-WooCommerce/templates/`.

## How to Override the Default Template

In order to customize the templates in a way that won’t be erased on a plugin update, copy the entire template files into a directory within your active theme named (exactly) `/give-woocommerce/`

For example, to override the donation-single template,  
find the file at `wp-content/plugins/give-donation-upsells-woocommerce/templates/donation-single.php`

[![the file structure showing the loacation of the file in the plugin.](https://docs.nexcess.com/wp-content/uploads/2026/06/Screen-Shot-2019-12-19-at-8.27.15-AM.png)](https://docs.nexcess.com/wp-content/uploads/2026/06/Screen-Shot-2019-12-19-at-8.27.15-AM.png)Find the correct files within the pluginCopy that to  
`wp-content/themes/yourtheme/give-woocommerce/donation-single.php`.

[![file structure showing a new directory in the active theme](https://docs.nexcess.com/wp-content/uploads/2026/06/Screen-Shot-2019-12-19-at-8.28.31-AM.png)](https://docs.nexcess.com/wp-content/uploads/2026/06/Screen-Shot-2019-12-19-at-8.28.31-AM.png)Create a new directory to paste it into.That file (and any edits) will now be the one controlling the display of the template.

Happy templating!
