我发送没有电子邮件标记的酒店预订电子邮件,但仍然可以看到Google收件箱卡,并且预订会自动添加到Google日历中。
到达出发日期是正确的,但时间显示为00:00:00,而不是正确的登记入住时间。
如何在电子邮件中添加登记时间,以便将正确的时间添加到卡和Google日历中?
我尝试添加没有结果的电子邮件标记。
这是我使用的标记:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LodgingReservation",
"reservationNumber": "GTE-F508710",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "John Doe"
},
"reservationFor": {
"@type": "LodgingBusiness",
"name": "Efteling Hotel",
"address": {
"@type": "PostalAddress",
"streetAddress": "Europalaan 1",
"addressLocality": "Kaatsheuvel",
"postalCode": "5171KW",
"addressCountry": "NL"
},
"telephone": "00310416537779"
},
"checkoutDate": "2015-08-02T11:00:00+02:00",
"checkinDate": "2015-07-30T15:00:00+02:00",
"modifiedTime": "2015-07-21T08:00:00+02:00"
}
</script>
答案 0 :(得分:0)
要使用LodgingReservation标记添加登记入住时间,您需要使用 checkinDate 属性,以下是今天中午12点办理登机手续的示例:< / p>
"checkinDate": "2015-07-17T12:00:00-08:00"
退房时,您需要使用 checkoutDate 属性:
checkoutDate": "2015-07-18T10:00:00-08:00"
您还可以通过添加 checkinUrl 属性添加签到转到操作按钮:
"checkinUrl": "http://examplehotelcheckin.com"
以下是您的一个例子:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "LodgingReservation",
"reservationNumber": "abc456",
"reservationStatus": "http://schema.org/Confirmed",
"underName": {
"@type": "Person",
"name": "Edwin"
},
"reservationFor": {
"@type": "LodgingBusiness",
"name": "Hilton San Francisco Union Square",
"address": {
"@type": "PostalAddress",
"streetAddress": "333 O'Farrell St",
"addressLocality": "San Francisco",
"addressRegion": "CA",
"postalCode": "94102",
"addressCountry": "US"
},
"telephone": " 555-555-5555"
},
"checkoutDate": "2015-07-18T10:00:00-08:00",
"checkinDate": "2015-07-17T12:00:00-08:00",
"modifiedTime": "2015-05-01T08:00:00-08:00",
"checkinUrl": "http://example.com"
}
</script>
&#13;
您应该在Inbox中收到以下内容:
我希望这些信息有所帮助。