# WholesaleX

[YayMail Addon for WholesaleX](https://yaycommerce.com/downloads/yaymail-addon-for-wholesalex/) allows you to customize templates generated by [WholesaleX](https://getwholesalex.com/) plugin in YayMail interface.

**REQUIRED: In addition to these two plugins, here are the WordPress plugins you'll need for this guide.**&#x20;

* WooCommerce
* YayMail (free/pro)
* [WholesaleX – WooCommerce Wholesale Plugin with Tiered & Dynamic Pricing and WooCommerce B2B Solution](https://wordpress.org/plugins/wholesalex/)
* [YayMail Addon for WholesaleX](https://yaycommerce.com/downloads/yaymail-addon-for-wholesalex/)

<figure><img src="/files/ymUGNzF96gHDZHQki55X" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2KgkFZIK1slE9O8kSjPR" alt=""><figcaption></figcaption></figure>

WholesaleX shortcodes are listed in the Shortcode section. Depending on the template you're editing, this section will display only the shortcodes that are available and compatible with that specific template.

<figure><img src="/files/rFx01OQ0rrRn6pezBoKx" alt=""><figcaption></figcaption></figure>

These YayMail shortcodes help populate the content from your WholesaleX email setup in the new templates.&#x20;

In order to change these email sections' content, please do it in WholesaleX → **Emails** → **Email Configuration** menu.

<figure><img src="/files/dpTCQyasdBPeJtRyaNW1" alt=""><figcaption></figcaption></figure>

And don't forget to enable and save those templates.

Happy customizing! 🪄


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yaycommerce.com/yaymail/addons/wholesalex.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
