Jeremy3 Posted May 6, 2012 Share Posted May 6, 2012 (edited) Any idea how can we print the store hours (as saved in the back end) in store.tpl ? I tried {if $store.hours_1}{$store.hours_1}{/if} but this is not working, probably hours_1 is not in the $store variable. Anyone has an idea on this? Thanks. EDIT: Just noticed, $store.hours is giving a:7:{i:0;s:13:"09:00 - 19:00";i:1;s:13:"09:00 - 19:00";i:2;s:13:"09:00 - 19:00";i:3;s:13:"09:00 - 19:00";i:4;s:13:"09:00 - 19:00";i:5;s:13:"10:00 - 16:00";i:6;s:13:"10:00 - 16:00";} Edited May 6, 2012 by Jeremy3 (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