وردپرس

Micro-markup in the letter template


Hi!

Is there an easy way to embed this micro markup into the template being created? This is necessary so that the user, when viewing, has already seen all the important information on order statuses and status history without opening the letter.

https://prnt.sc/Mo6K0vWADo_P

https://help.mail.ru/developers/jsonld/orderhead

<script type="application/ld+json">

{

"@context": "http://schema.org",

"@type": "Order",

"merchant": {

"@type": "Organization",

"name": "PYE Optics"

},

"orderNumber": "123-4567890-1234567",

"orderStatus": "http://schema.org/OrderDelivered",

"priceCurrency": "RUB",

"price": "6500",

"acceptedOffer": [{

"@type": "Offer",

"itemOffered": {

"@type": "Product",

"name": "Очки Marvin Black jellyfish",

"url": "https://pyeoptics.com/shop/catalogue/marvin_5923/",

"image": "https://pyeoptics.com/shop/catalogue/marvin_5923/image1.png"

},

"price": "6500",

"priceCurrency": "RUB",

"eligibleQuantity": {

"@type": "QuantitativeValue",

"value": "1"

}

}],

"url": "https://pyeoptics.com/shop/cart/cart/orderID=123-4567890-1234567"

}

</script>

پایان/ مرجع وب و فناوری

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا