Jump to content

Include store contacts in stores.tpl


Recommended Posts

Hello,

 

I found Prestashop default stores.tpl not too nice if you have only 1 store.

And if you want to display the map and the store details (simplified view), it is not possible.

 

So I wanted to add the $stores variables but no luck there.

So I tried to include the blockcontactinfos.tpl (with he help of this topic : http://www.prestashop.com/forums/topic/308515-include-blockcontactinfostpl-into-contact-formtpl/), but can't manage to make it works. Even just by copying the content of blockcontactinfos.tpl.

I always get a

Notice: Undefined index: blockcontactinfos_company...

 

I have declared variables in ContactControllers (override).

Empty / Erase cache.

 

I developing on the latest version of Prestashop 1.6.0.9.

 

If you have any ideas please help.

 

In the end I would like to retrieve the details of the store in a custom stores.tpl.

I could include the details directly in the tpl. But then my client won't be able to change these easily.

 

Best regards,

Quentin

Edited by qimzu (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...