Hedera Posted October 23, 2012 Share Posted October 23, 2012 Dear all, Please help me. I want to make a product page /product.php?id_product=1 as my home page. How to do that? Thank you. Best regards Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2012 Share Posted October 23, 2012 to be honest I have no idea how to do this. The only thing I can suggest is adding a redirect, for example by using javascript. Just add this code somewhere in homepage: <script type="text/javascript"> <!-- window.location = "http://you address here" //--> </script> Link to comment Share on other sites More sharing options...
Hedera Posted October 24, 2012 Author Share Posted October 24, 2012 You mean in index.php? Link to comment Share on other sites More sharing options...
vekia Posted October 24, 2012 Share Posted October 24, 2012 You mean in index.php? nope, I mean some template files from module added to home hook. By this i mean module homefeatured, editorial etc. for example, try to edit homefeatured.tpl located in modules/homefeatured directory Link to comment Share on other sites More sharing options...
Hedera Posted October 24, 2012 Author Share Posted October 24, 2012 But I do not use this module. Link to comment Share on other sites More sharing options...
vekia Posted October 24, 2012 Share Posted October 24, 2012 But I do not use this module. so add code to other module which exists in HOME hook Link to comment Share on other sites More sharing options...
Hedera Posted October 24, 2012 Author Share Posted October 24, 2012 I will try it. Thank you. But it would also be useful to find how to do it without redirect. Anyone? Link to comment Share on other sites More sharing options...
Hedera Posted October 24, 2012 Author Share Posted October 24, 2012 I works. I added it to nivo slider. However, still wondering how to do it without redirect. Link to comment Share on other sites More sharing options...
vekia Posted October 24, 2012 Share Posted October 24, 2012 I works. I added it to nivo slider. However, still wondering how to do it without redirect. I think that the good idea is to use .htaccess which version of prestashop you use? Link to comment Share on other sites More sharing options...
Hedera Posted October 24, 2012 Author Share Posted October 24, 2012 1.4.9 Link to comment Share on other sites More sharing options...
vekia Posted October 24, 2012 Share Posted October 24, 2012 (edited) LOL! i've found solution... go to preferences tab -> SEO & URLs and change the "Homepage file" to product.php?id_product=1 Edited October 24, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
Hedera Posted October 24, 2012 Author Share Posted October 24, 2012 Yes it works! Great. Only thing is that in browser shows product.php?id_product=1 url instead homepage url, but I can live with this. Would you like to help me with some customization? I will pay you, ofc ourse. Link to comment Share on other sites More sharing options...
fstab Posted January 7, 2013 Share Posted January 7, 2013 (edited) Yes it works! Great. Only thing is that in browser shows product.php?id_product=1 url instead homepage url, but I can live with this. Would you like to help me with some customization? I will pay you, ofc ourse. is my solution ok for you? http://www.skrillex.cz/dev/presta/ Edited January 7, 2013 by fstab (see edit history) Link to comment Share on other sites More sharing options...
edyy Posted January 8, 2013 Share Posted January 8, 2013 That option is available only in prestashop 1.4.x not in 1.5. How can I do that in prestashop 1.5 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