Jump to content

Copy Prestashop shopping cart Theme into html index home page


Recommended Posts

Hello,

 

I would like to create an index.html page for my website and use the Prestashop Theme (Header & Footer) for seamless appearance.  How can I embed the theme in the html pages?  Where would the source files for the Theme be located?  And, would I just copy the script into the html pages?

 

Thank you!

Edited by emassy (see edit history)

Share this post


Link to post
Share on other sites

ok repeat is not the best but work

 

1) you need go to your templates files

 

themes/YOURTEMPLATE/header.tpl

 

look for 

 

{if $page_name !='index' && $page_name !='pagenotfound'}

{include file="$tpl_dir./breadcrumb.tpl"}

{/if}
 

after add

 

{if $page_name =='index' }

{include file="$tpl_dir./yourhtml.tpl"}

{/if}

 

save you tpl as tpl in these directory at these moment you can see you html 

 

 

2) Prestashop use hook to show info you can go to the backoffice   modules -> positions and look for displayHome you need hide these info to not be show on the home

 

 

Other option But maybe you can create a CMS page and use as home but i am not sure about these

 

Other option create your own page but you need create your controller and you need code some

Share this post


Link to post
Share on other sites

  • 5 years later...

Hi @Segitterius - 

Probably that's not the right topic to ask help for ;) I can feel you're frustrated, however can you elaborate for me in 1 phrase what your issue is, as I'm certain that there is always a solution. I'm doing this from too long, and would hate you see gone!

Regards, 

Leo

 

  • Confused 1

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More