rassy Posted February 21, 2012 Share Posted February 21, 2012 Hi guys, does anyone know how to do this? 1) For the first-time visitor of my webshop I would like to have a nice landing-page on the index of my shop (for example www.myshop.com). I already have this page designed as a static html page (outside of prestashop) and would now like to replace the standard index.php. 2) PLUS I would like to make Prestashops' standard index.php to a different seo url (www.myshop.com/shopindex). What did not work so far: I tried renaming index.php into new-index.php and assigned it a friendly-url in the backend. But when I now open the "new-index.php" I am redirected to the index of the shop.... which is not what I want it to do. :-/ Is there a quick solution for this? Thanks for your support Rassy 1 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 21, 2012 Share Posted February 21, 2012 Hi Rassy, In this situation, the easiest thing to do is to install PrestaShop on a subdirectory of your site. For example, www.myshop.com would be the static landing page with a link to the store, which you could have in a /shop directory for that site, or however you would like to name it. This way, your landing page would still be www.myshop.com, and the actual store would be on www.myshop.com/shop I hope this helps. -Mike Link to comment Share on other sites More sharing options...
rassy Posted February 21, 2012 Author Share Posted February 21, 2012 Hi Mike, thanks a lot for the quick response. :-) Well - I got some other static pages which I already implemented right into prestashop (thru a custom and very simplyfied controller). The thing is that the whole menu-structure is prestashop-based and the last thing I would like to change is the static "home-page"... ... what do you recon? Can you maybe give me some directions where to look at in the code? I know some PHP and HTML... Thanks for your support Rassy Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 21, 2012 Share Posted February 21, 2012 Hi Rassy, I'm not completely sure what you're looking to do here, can you post a link so that I can check out how your site is configured currently? -Mike Link to comment Share on other sites More sharing options...
rassy Posted February 21, 2012 Author Share Posted February 21, 2012 Hi Mike, unfortunatly I can't post a link as the webpage is not online yet. I am still running locally on XAMP. Well.. let's go a bit more into detail. I would like to achieve the following: 1) HOME-LANDING (www.myshop.com -> replacing the original index.php) Replacing the original index.php with a static html page. 2) Move the old index.php to a new url ( www.myshop.com/product-overview ). The reason I want to do so is, because I have some nice modules installed in the HOME HOOK to show the best selling products and give a nice overview over the products.... Any ideas? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 21, 2012 Share Posted February 21, 2012 Hi Rassy, Unfortunately, I'm still struggling to visualize your website when it comes to the customizations you're looking to make. Is there any way you can post some screenshots at least, so that I can make sure we're on the same page? -Mike Link to comment Share on other sites More sharing options...
rassy Posted February 22, 2012 Author Share Posted February 22, 2012 Hi Mike, the pic shows the new index file which has a lot space for the Landing features. The landing page keeps the standard prestashop-menu. The "old" index I would like to be available within the navigation of the menu. I hope this helps a bit with the understanding of my goals... :-) Kind regards Rassy Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 22, 2012 Share Posted February 22, 2012 Hi Rassy, If you're looking to keep the PrestaShop top menu bar on your static landing page, unfortunately you'll need to find someone else who can advise you on this, it will require a decent amount of custom coding. -Mike Link to comment Share on other sites More sharing options...
rassy Posted February 23, 2012 Author Share Posted February 23, 2012 @Mike: I would like to do this coding myself and was asking for some directions of where to look at. There must be some places within the index-controller where the magic can happen. So I still wonder if there is anyone out there who has implemented something similar? Link to comment Share on other sites More sharing options...
LightBulb Posted February 27, 2012 Share Posted February 27, 2012 Hi guys, does anyone know how to do this? 1) For the first-time visitor of my webshop I would like to have a nice landing-page on the index of my shop (for example www.myshop.com). I already have this page designed as a static html page (outside of prestashop) and would now like to replace the standard index.php. 2) PLUS I would like to make Prestashops' standard index.php to a different seo url (www.myshop.com/shopindex). What did not work so far: I tried renaming index.php into new-index.php and assigned it a friendly-url in the backend. But when I now open the "new-index.php" I am redirected to the index of the shop.... which is not what I want it to do. :-/ Is there a quick solution for this? Thanks for your support Rassy Not sure if i understand you correctly in what you are trying to achive, but If you want to create a static landing page all you need to do is to copy the source code of the index.php page and add this to your files and call it index.html this will then be your root page which you can edit, and then create a link to point to your index.php page, Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted March 6, 2012 Share Posted March 6, 2012 does anyone know how to do this? 1) For the first-time visitor of my webshop I would like to have a nice landing-page on the index of my shop (for example www.myshop.com). I already have this page designed as a static html page (outside of prestashop) and would now like to replace the standard index.php. Is there a quick solution for this? I did this develop for my client. When a visitor comes to the store for the first time - it shows a static page (hello page), in the future he runs the shop as usual Link to comment Share on other sites More sharing options...
Recommended Posts