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)
Link to comment
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

Link to comment
Share on other sites

  • 5 years later...

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...