{"id":12569,"date":"2016-08-31T09:36:01","date_gmt":"2016-08-31T16:36:01","guid":{"rendered":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-of-twig-for-templates"},"modified":"2018-01-26T03:42:51","modified_gmt":"2018-01-26T11:42:51","slug":"using-php-instead-twig-templates","status":"publish","type":"post","link":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/","title":{"rendered":"Using PHP instead of Twig for templates"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1208 size-full\" src=\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2018\/01\/blog-hero-3.gif\" alt=\"Using PHP instead of Twig for templates\" width=\"793\" height=\"202\" \/><\/p>\n<p>Symfony, the underlying framework used in OroCommerce, <a href=\"https:\/\/www.orocrm.com\/open-source-crm\">OroCRM<\/a> and <a href=\"https:\/\/www.orocrm.com\/oro-platform\">OroPlatform<\/a>, defaults to Twig for its template engine, <span style=\"font-weight: 400\"> but <\/span><span style=\"font-weight: 400\">using PHP instead of Twig<\/span><span style=\"font-weight: 400\"> is still possible if necessary<\/span>. Symfony provides equally good support of both templating engines.<\/p>\n<p>If you preference is PHP templates, this article describes how to enable and use PHP templates with OroLayout bundle in the applications built on OroPlatform.<\/p>\n<blockquote style=\"background-color: #fafafa;padding: 15px 20px;border-top: 1px solid #b84926;border-bottom: 1px solid #b84926;margin: 20px 50px\"><p>The Symfony framework documentation contains additional useful information about PHP templates and form rendering customization:<\/p>\n<ul>\n<li><a href=\"http:\/\/symfony.com\/doc\/current\/templating\/PHP.html\">How to Use PHP instead of Twig for Templates<\/a><\/li>\n<li><a href=\"http:\/\/symfony.com\/doc\/current\/form\/form_customization.html\">How to Customize Form Rendering<\/a><\/li>\n<\/ul>\n<\/blockquote>\n<h3>Configure OroLayoutBundle<\/h3>\n<p>Only one templating engine can be used at a time in an OroPlatform application. By default, OroLayoutBundle is configured to use Twig. If you decide to use PHP templates, you should disable Twig and make PHP templating the default templating engine in the application configuration file:<\/p>\n<pre class=\"lang:yaml decode:true \">oro_layout:\r\n    templating:\r\n        default: php\r\n        twig:\r\n            enabled: false<\/pre>\n<h3>Modify layouts to use PHP templates<\/h3>\n<p>The default <a href=\"https:\/\/github.com\/orocrm\/platform\/blob\/84b1d81ac3a7198bdd0eed3dd76db48a72c10cd3\/src\/Oro\/Bundle\/UIBundle\/Resources\/views\/layouts\/base\/page\/layout.yml#L3-L4\">&#8220;base&#8221;<\/a> OroPlatform theme uses Twig templates. You should choose a different approach in your default.yml file in your theme&#8217;s folder:<\/p>\n<pre class=\"lang:yaml decode:true \">#MyBundle\/Resources\/views\/layouts\/first_theme\/default.yml\r\nlayout:\r\n    actions:\r\n        - @setBlockTheme:\r\n            themes: 'MyBundle:layouts\/first_theme\/php'\r\n        - @addTree:\r\n            items:\r\n                head:\r\n                    blockType: head\r\n                meta:\r\n                    blockType: meta\r\n                    options:\r\n                        http_equiv: Content-Type\r\n                        content: \"text\/html; charset=utf-8\"\r\n                body:\r\n                    blockType: body\r\n                content:\r\n                    blockType: container\r\n                    options:\r\n                        attr:\r\n                            class: content\r\n                greeting:\r\n                    blockType: block\r\n            tree:\r\n                root:\r\n                    head:\r\n                        meta: ~\r\n                    body:\r\n                        content:\r\n                            greeting: ~<\/pre>\n<p>The example above creates a standard web page structure (head, metadata, and body) with two custom blocks in the body (content and greeting). And in this layout, we specified a different &#8220;block theme&#8221; (so that the templating engine will know where to find our PHP templates):<\/p>\n<pre class=\"lang:yaml decode:true \">    actions:\r\n        - @setBlockTheme:\r\n            themes: 'MyBundle:layouts\/first_theme\/php'<\/pre>\n<h3>Creating templates<\/h3>\n<p>As you are not using Twig anymore, you should provide the PHP templates for the blocks used in the layout.<\/p>\n<p>The PHP templates can be very simple, like in the following example of the <strong>greeting<\/strong> block template where we just want to display &#8220;Hello!&#8221;:<\/p>\n<pre class=\"lang:php decode:true \">#MyBundle\/Resources\/views\/layouts\/first_theme\/php\/_greeting_widget.html.php<\/pre>\n<p>Hello!<\/p>\n<p>You can also create more complex templates that use variables and functions provided by the layout. This is an example of the <strong>content<\/strong> block template:<\/p>\n<pre class=\"lang:php decode:true \">#MyBundle\/Resources\/views\/layouts\/first_theme\/php\/_content_widget.html.php\r\n&lt;div &lt;?php echo $view['layout']-&gt;block($block, 'block_attributes') ?&gt;&gt;\r\n    &lt;h1&gt;Welcome back&lt;\/h1&gt;\r\n    &lt;?php echo $view['layout']-&gt;widget($block); ?&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>The layout and templates from our examples will produce the following HTML output:<\/p>\n<pre class=\"lang:xhtml decode:true \">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head class=\"foo\"&gt;\r\n        &lt;meta http_equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"\/&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;div class=\"content\"&gt;\r\n            &lt;h1&gt;Welcome back&lt;\/h1&gt;\r\n            &lt;p&gt;Hello!&lt;\/p&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>A number of fully working PHP templates for various block types are already included in OroLayoutBundle &#8211; check the <a href=\"https:\/\/github.com\/orocrm\/platform\/tree\/master\/src\/Oro\/Bundle\/LayoutBundle\/Resources\/views\/Layout\/php\">src\/Oro\/Bundle\/LayoutBundle\/Resources\/views\/Layout\/php<\/a> folder to see all the examples.<\/p>\n<p>We prefer to use Twig in our products (e.g. see the <a href=\"https:\/\/github.com\/orocommerce\/orocommerce\/tree\/master\/src\/OroB2B\/Bundle\/FrontendBundle\/Resources\/views\/layouts\/default\">default theme<\/a> in <a href=\"https:\/\/oroinc.com\/b2b-ecommerce\/\">OroCommerce<\/a>) to better express presentation and to avoid including the program logic in the templates. <span style=\"font-weight: 400\">However, <\/span><span style=\"font-weight: 400\">using PHP instead of Twig<\/span><span style=\"font-weight: 400\"> may be better for you based on the needs of your customers and the approach you selected to build your OroPlatform-based application.<\/span><\/p>\n<p>As always, please let us know if you find this article useful. We will appreciate your feedback in our <a href=\"https:\/\/forum.oroinc.com\/orocommerce\/\">forums<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Symfony, the underlying framework used in OroCommerce, OroCRM and OroPlatform, defaults to Twig for its template engine, but using PHP instead of Twig is still possible if necessary. Symfony provides equally good support of both templating engines. If you preference is PHP templates, this article describes how to enable and use PHP templates with OroLayout [&hellip;]<\/p>\n","protected":false},"author":38577,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[132],"tags":[103],"class_list":{"0":"post-12569","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-developers-digest","7":"tag-orocommerce"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using PHP instead of Twig for templates | OroCommerce<\/title>\n<meta name=\"description\" content=\"If you preference is PHP templates, this article describes how to enable and use PHP templates with applications built on OroPlatform.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using PHP instead of Twig for templates | OroCommerce\" \/>\n<meta property=\"og:description\" content=\"If you preference is PHP templates, this article describes how to enable and use PHP templates with applications built on OroPlatform.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"OroCommerce\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/OroCommerce-333319140210515\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-31T16:36:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-26T11:42:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2016\/05\/blog-hero.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"793\" \/>\n\t<meta property=\"og:image:height\" content=\"202\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"msarandi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@orocommerce\" \/>\n<meta name=\"twitter:site\" content=\"@orocommerce\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"msarandi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\"},\"author\":{\"name\":\"msarandi\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/person\/cfd81a5e04e6dfd15b75be8e895d8287\"},\"headline\":\"Using PHP instead of Twig for templates\",\"datePublished\":\"2016-08-31T16:36:01+00:00\",\"dateModified\":\"2018-01-26T11:42:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\"},\"wordCount\":418,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#organization\"},\"image\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2018\/01\/blog-hero-3.gif\",\"keywords\":[\"OroCommerce\"],\"articleSection\":[\"Developers' Digest\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\",\"url\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\",\"name\":\"Using PHP instead of Twig for templates | OroCommerce\",\"isPartOf\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2018\/01\/blog-hero-3.gif\",\"datePublished\":\"2016-08-31T16:36:01+00:00\",\"dateModified\":\"2018-01-26T11:42:51+00:00\",\"description\":\"If you preference is PHP templates, this article describes how to enable and use PHP templates with applications built on OroPlatform.\",\"breadcrumb\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage\",\"url\":\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2016\/05\/blog-hero.gif\",\"contentUrl\":\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2016\/05\/blog-hero.gif\",\"width\":793,\"height\":202},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/oroinc.com\/b2b-ecommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Developers' Digest\",\"item\":\"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/category\/developers-digest\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using PHP instead of Twig for templates\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#website\",\"url\":\"https:\/\/oroinc.com\/b2b-ecommerce\/\",\"name\":\"OroCommerce\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/oroinc.com\/b2b-ecommerce\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#organization\",\"name\":\"Oro Inc.\",\"url\":\"https:\/\/oroinc.com\/b2b-ecommerce\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2019\/11\/Oro-OLogo.png\",\"contentUrl\":\"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2019\/11\/Oro-OLogo.png\",\"width\":40,\"height\":40,\"caption\":\"Oro Inc.\"},\"image\":{\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/OroCommerce-333319140210515\/\",\"https:\/\/x.com\/orocommerce\",\"https:\/\/www.youtube.com\/channel\/UClxsA8HS9KGEEsvFRn7JkvQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/person\/cfd81a5e04e6dfd15b75be8e895d8287\",\"name\":\"msarandi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using PHP instead of Twig for templates | OroCommerce","description":"If you preference is PHP templates, this article describes how to enable and use PHP templates with applications built on OroPlatform.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/","og_locale":"en_US","og_type":"article","og_title":"Using PHP instead of Twig for templates | OroCommerce","og_description":"If you preference is PHP templates, this article describes how to enable and use PHP templates with applications built on OroPlatform.","og_url":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/","og_site_name":"OroCommerce","article_publisher":"https:\/\/www.facebook.com\/OroCommerce-333319140210515\/","article_published_time":"2016-08-31T16:36:01+00:00","article_modified_time":"2018-01-26T11:42:51+00:00","og_image":[{"width":793,"height":202,"url":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2016\/05\/blog-hero.gif","type":"image\/gif"}],"author":"msarandi","twitter_card":"summary_large_image","twitter_creator":"@orocommerce","twitter_site":"@orocommerce","twitter_misc":{"Written by":"msarandi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#article","isPartOf":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/"},"author":{"name":"msarandi","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/person\/cfd81a5e04e6dfd15b75be8e895d8287"},"headline":"Using PHP instead of Twig for templates","datePublished":"2016-08-31T16:36:01+00:00","dateModified":"2018-01-26T11:42:51+00:00","mainEntityOfPage":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/"},"wordCount":418,"commentCount":0,"publisher":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#organization"},"image":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2018\/01\/blog-hero-3.gif","keywords":["OroCommerce"],"articleSection":["Developers' Digest"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/","url":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/","name":"Using PHP instead of Twig for templates | OroCommerce","isPartOf":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage"},"image":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2018\/01\/blog-hero-3.gif","datePublished":"2016-08-31T16:36:01+00:00","dateModified":"2018-01-26T11:42:51+00:00","description":"If you preference is PHP templates, this article describes how to enable and use PHP templates with applications built on OroPlatform.","breadcrumb":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#primaryimage","url":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2016\/05\/blog-hero.gif","contentUrl":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2016\/05\/blog-hero.gif","width":793,"height":202},{"@type":"BreadcrumbList","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/using-php-instead-twig-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oroinc.com\/b2b-ecommerce\/"},{"@type":"ListItem","position":2,"name":"Developers' Digest","item":"https:\/\/oroinc.com\/b2b-ecommerce\/blog\/category\/developers-digest\/"},{"@type":"ListItem","position":3,"name":"Using PHP instead of Twig for templates"}]},{"@type":"WebSite","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#website","url":"https:\/\/oroinc.com\/b2b-ecommerce\/","name":"OroCommerce","description":"","publisher":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oroinc.com\/b2b-ecommerce\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#organization","name":"Oro Inc.","url":"https:\/\/oroinc.com\/b2b-ecommerce\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/logo\/image\/","url":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2019\/11\/Oro-OLogo.png","contentUrl":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-content\/uploads\/sites\/3\/2019\/11\/Oro-OLogo.png","width":40,"height":40,"caption":"Oro Inc."},"image":{"@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/OroCommerce-333319140210515\/","https:\/\/x.com\/orocommerce","https:\/\/www.youtube.com\/channel\/UClxsA8HS9KGEEsvFRn7JkvQ"]},{"@type":"Person","@id":"https:\/\/oroinc.com\/b2b-ecommerce\/#\/schema\/person\/cfd81a5e04e6dfd15b75be8e895d8287","name":"msarandi"}]}},"_links":{"self":[{"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/posts\/12569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/users\/38577"}],"replies":[{"embeddable":true,"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/comments?post=12569"}],"version-history":[{"count":0,"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/posts\/12569\/revisions"}],"wp:attachment":[{"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/media?parent=12569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/categories?post=12569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oroinc.com\/b2b-ecommerce\/wp-json\/wp\/v2\/tags?post=12569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}