> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaymail/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaymail/addons/wholesalex.md).

# 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="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2FuAPyTKB9LGV5E4iXZnMV%2Fimage.png?alt=media&amp;token=2b2f85c6-197f-4d96-9dd6-a95dea98427b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2F8Rnt5iZfLEcVcteLWIr7%2Fimage.png?alt=media&amp;token=be6a39ad-689e-47ee-a2a8-d722136832b8" 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="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2FniH6z7nQjXGX2QnjFGtz%2Fimage.png?alt=media&amp;token=86475d64-da32-4713-b1c3-8f549537d9d3" 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="https://157604815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJfBhHG_1ipE5lMX4qT%2Fuploads%2F8BdrNX4IYDiFghOBPn5l%2Fimage.png?alt=media&amp;token=c7795930-713c-469f-9636-f3d457756b28" alt=""><figcaption></figcaption></figure>

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

Happy customizing! 🪄
