The AcyMailing add-on for Business Directory enables you to insert listings inside your emails, either individually or by category.
Insert Business Directory data in an email
Content to insert: The shown listings are order by ID or creation date, descending. You can search on listing names and select a specific category.
Display: You can choose which element of your listings you want to insert.
Format: AcyMailing offers multiple default formats, for example the title, then the main picture and the description around it. Choose which one you prefer, or create your own one in the add-on's settings (it will require basic HTML knowledge).
Custom fields: Select the custom fields that will be shown below the inserted listings. They follow the Business Directory fields' ordering.
Pictures: choose whether to display the pictures. You can automatically resize them to a specific size. It does not hide the Featured image since it has a dedicated option.
Clickable title: you can choose to add a link to the listing on its title.
Clickable image: you can choose to add a link to the listing on its featured image.
Truncate the text: you can choose to limit the number of characters that will be displayed for the description.
Custom view: You can edit the view of the listings that you insert
If you select "By category", you will be able to insert multiple listings at the same time.
Content to insert: You can insert listings of one or more categories, or all listings if you don't select anything.
Display: You can choose which element of your listing you want to insert.
Format: For the insertion by category you can choose to alternate the main image's position from left to right. It doesn't have any effect on the formats where the image takes the full width of the inserted content
Custom fields: Select the custom fields that will be shown below the inserted listings. They follow the Business Directory fields' ordering.
Pictures: choose whether to display the pictures. You can automatically resize them to a specific size. It does not hide the Featured image since it has a dedicated option.
Clickable title: you can choose to add a link to the listing on its title.
Clickable image: you can choose to add a link to the listing on its featured image.
Truncate the text: you can choose to limit the number of characters that will be displayed for the description.
Order by: By default, listings are sorted by ID descending to show the most recent ones first.
Header: If you select a field here, inserted listings will have the value of this field above them. If multiple listings have the same value (for example if you order listings by this field), only the first listing will have this header, until an other listing has a different value.
Min. publishing date: You can make sure that only listings created/published after a specific date are inserted with this option.
Columns: You can insert for example 2 listings per row in your email.
Column horizontal padding: Allows you to adjust the horizontal padding between 2 columns
Column vertical padding: Allows you to adjust the vertical padding between 2 columns
Max.number of elements: This is the maximum number of listings inserted in your email.
Only newly created: It makes sure that the same listing isn't sent twice. If there are only two new listings since the last email was sent, only those two will be inserted in the next email.
Min. number of elements: If no new listing has been published on your site, no email will be sent and AcyMailing will wait for the next generation date (instead of sending an empty email).