Schema.org in notification emails
-
Hi Nate, thank you for this plugin…it’s fantastic!
I would like to know if is possible to embed some html code in notification emails in order to use the schema.org murkup for restaurant reservation…
I would like to add in the confirmation email this kind of code:<div itemscope itemtype=”https://schema.org/FoodEstablishmentReservation”>
<meta itemprop=”reservationNumber” content=”C1″/>
<link itemprop=”reservationStatus” href=”https://schema.org/Confirmed”/>
<div itemprop=”underName” itemscope itemtype=”https://schema.org/Person”>
<meta itemprop=”name” content=”{user_name}”/>
</div>
<div itemprop=”reservationFor” itemscope itemtype=”https://schema.org/FoodEstablishment”>
<meta itemprop=”name” content=”MyRestaurant”/>
<div itemprop=”address” itemscope itemtype=”https://schema.org/PostalAddress”>
<meta itemprop=”streetAddress” content=”Via Donati, 1″/>
<meta itemprop=”addressLocality” content=”Torino”/>
<meta itemprop=”addressRegion” content=”TO”/>
<meta itemprop=”postalCode” content=”10121″/>
<meta itemprop=”addressCountry” content=”Italy”/>
</div>
<meta itemprop=”telephone” content=”+39 011545405″/>
</div>
<meta itemprop=”startTime” content=”{date}”/>
<meta itemprop=”partySize” content=”{party}”/>
</div>Would be great if you could implemet it in the next versions of your plugin…but in the meanwhile I would just be able to add this to the notification email…
I’m using a plugin to output the php mail in html but if I try to add the code in the Notification settings window, when I save, all the text disappears exept for all the <div> tags.
Could you help??
Thank you!
https://www.ads-software.com/plugins/restaurant-reservations/
- The topic ‘Schema.org in notification emails’ is closed to new replies.