butlerov Posted April 7, 2021 Share Posted April 7, 2021 (edited) Hi. I wanna insert a markup only on one cms page, how to do it? when i have only one header.tpl for all pages. prestashop 1.6.1 default theme. Thx for the trouble Solved. Had to use {if $smarty.get.id_cms == 4 }{/if} in header.tpl <script type='application/ld+json'> { "@context": "http://www.schema.org", "@type": "Organization", "name": "Название Компании", "telephone": "+08*****", "email": "эл. почта", "url":"http://www.name.com", "logo": "http://www.name.com/include/img/logo.png", "description": "Описание", "image": "http://www.name.com/include/img/logo.png", "address": { "@type": "PostalAddress", "streetAddress": "Адрес улица, проспект, дом, офис", "addressLocality": "Город", "addressRegion": "Область", "postalCode": "Почтовый индекс ЦИФРОЙ", "addressCountry": "RU" } } } </script> Edited April 8, 2021 by butlerov solve problem (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now