{** * Store page: a CMS page linked to a store in BO > Magasins (module rocketextrastore). * Store data ($cms.store) comes from the store record; editorial text comes from the CMS content. * Changes vs current file: real H1, phone, directions button, per-store map, "Fermé" for empty days, * LocalBusiness JSON-LD (built in override/controllers/front/CmsController.php). *} {extends file='parent:cms/page.tpl'} {block name='page_header_container'}{/block} {block name='head_microdata_special'} {if isset($store_jsonld) && $store_jsonld} {/if} {/block} {block name='cms_content_class'}o-wrapper c-page-cms c-cmsstore u-mt-4{/block} {block name='cms_content'} {if $cms.store} {assign var='store' value=$cms.store}
: the page had no H1. *}
{$store.note}
{/if} {foreach $store.business_hours as $day} {assign var='isOpen' value=false} {foreach $day.hours as $h}{if $h|trim != ''}{assign var='isOpen' value=true}{/if}{/foreach}
{/if}