0
Jules posted
override {} in Prestashop or smarty
how to override {} in Prestashop or smartyi added some schema at header.tpl for home page
"potentialAction":
{
"@type": "SearchAction",
"target": "https://website.com/?controller=search&search_query={search_term_string}",
"query": "required",
"query-input":"required name=search_term_string"
}
but it generate the error because {search_term_string} , because smarty or prestashop try to acess constant or variable for {search_term_string}
so we need to override {} some how so it display {search_term_string} as it is