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

# ShopMagic

[YayMail Addon for ShopMagic](https://yaycommerce.com/yaymail-addons/yaymail-addon-for-shopmagic/) allows you to customize templates generated by ShopMagic for WooCommerce plugin (by WP Desk) 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)
* [ShopMagic - Follow-Up Emails & Marketing Automation for WooCommerce](https://wordpress.org/plugins/shopmagic-for-woocommerce/)
* [YayMail Addon for ShopMagic](https://yaycommerce.com/yaymail-addons/yaymail-addon-for-shopmagic/)

<figure><img src="/files/9H5dspkpbhxI9xfesUjh" alt=""><figcaption></figcaption></figure>

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

In the YayMail editor, you can add header, footer, and extra blocks to the email body.&#x20;

Apart from the extra blocks, you can add the content of your ShopMagic automation to the email body. Please use those ShopMagic shortcodes, which are listed in the **Shortcodes** section.

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

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

* \[yaymail\_smfw\_email\_content] --> Email content
* \[yaymail\_smfw\_email\_heading] --> Email heading

In order to change these email sections' content, please do it in **ShopMagic** > **Automations**.

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

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

Happy customizing! 🪄
