> 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/b2b-market.md).

# B2B Market

[YayMail Addon for B2B Market](https://yaycommerce.com/downloads/yaymail-addon-for-b2b-market-marketpress/) allows you to customize templates generated by B2B Market plugin (by MarketPress) in YayMail interface.

**REQUIRED: Here are the WordPress plugins you'll need for this guide.**&#x20;

* WooCommerce
* YayMail (free/pro)
* [B2B Market](https://marketpress.com/shop/plugins/woocommerce/b2b-market/)
* [YayMail Addon for B2B Market](https://yaycommerce.com/downloads/yaymail-addon-for-b2b-market-marketpress/)

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

B2B Market shortcodes are listed in the Shortcode section.

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

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

* \[yaymail\_b2b\_market\_message] → Email content
* \[yaymail\_b2b\_market\_footer] → Email footer

In order to change these email sections' content, please do it in **B2B Market** settings menu.

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

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

Happy customizing! 🪄


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.yaycommerce.com/yaymail/addons/b2b-market.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
