Jump to content

[SOLVED] Incorporating pestashop into an existing website template


Recommended Posts

Hi all,

I need a little bit of guidance please. I have got an existing website and have developed my online shop separately at the mo and I am now ready to add the shop into the existing template and make the final adjustments before going live.

Im not too sure which files I need to edit to add my existing template into the prestashop one because there are so many .tpl files in the themes folder. I thought it would be index.tpl but all that is in there is {HOOK_HOME} so now i'm not sure!

Any help will be much appreciated!!

Many thanks

Link to comment
Share on other sites

  • 2 weeks later...

Anybody have any ideas?

I can get the shop to sit inside my existing template for the homepage only but as soon as anyone clicks any links it loses the existing template and goes back to just the store.

I have edited the index.php file in the base directory to included my template around the php code that was in there. I assumed that this was the right one to edit but its obviously not.

Can anyone help?

Many thanks

Link to comment
Share on other sites

Sorted it! Thought I would post up incase anyone else needs this info.

It turns our rather than changing one single file you need to split the existing template code across two files which are header.tpl and footer.tpl. These are located in the themes/yourtheme directory.

Once split you will need to make sure you reference all of your css, js, images etc properly and also make sure your CSS does not conflict with any existing code otherwise your website might not look like you expected it to!

Link to comment
Share on other sites

×
×
  • Create New...