barrystein Posted June 20, 2011 Share Posted June 20, 2011 Is there any way to have more than one page of Product details for a specific product.I would want links to the different pages of product information,or even better - ajax where the panels slide open Link to comment Share on other sites More sharing options...
shokinro Posted June 21, 2011 Share Posted June 21, 2011 there is an option to do this, you can create a new module that hook to new tabs product detail page - more info area Link to comment Share on other sites More sharing options...
tomerg3 Posted June 21, 2011 Share Posted June 21, 2011 There are a few ways you can approach this, a module is one, the other would be to modify the product class and add new description fields.You will need to also modify the product Admin page to allow you to add / edit those fields, and then modify product.tpl to display it any way you want.I did something similar on my site to add new tabs to products (Change log, Videos, FAQ) see this for example http://www.presto-changeo.com/en/prestashop-modules/19-website-translator.html Link to comment Share on other sites More sharing options...
barrystein Posted June 21, 2011 Author Share Posted June 21, 2011 Is there an existing module that does this already?It would be great to have one that let you choose what to name the extra panels.If I change the class and the tpl, will I have to redo at every upgrade?Do I have to change the database as well? Link to comment Share on other sites More sharing options...
tomerg3 Posted June 21, 2011 Share Posted June 21, 2011 I don't know of any such module, there is one for extra tabs, but this is a much cleaner / customized solution.You need to change the database.If you do it using proper override class, than you will not have to redo anything when upgrading (tpl file is in the theme and stays the same between versions) Link to comment Share on other sites More sharing options...
barrystein Posted June 21, 2011 Author Share Posted June 21, 2011 Is it possible to do sub tabs this way,in other words, have one tab that opens up with several tabs under it?What directory is the admin page code in?What directory is the product.tpl file in?What fields or tables do I need to change in the database?Could I just enter my product info in the database fields, without changing the admin page? Link to comment Share on other sites More sharing options...
tomerg3 Posted June 21, 2011 Share Posted June 21, 2011 1) everything is possible if you know how to code it.2) /adminfolder/tabs/adminProduct.php3) /themes/themename/product.tpl4) Add new fields to the product_lang table5) Yes, you can. Link to comment Share on other sites More sharing options...
barrystein Posted June 21, 2011 Author Share Posted June 21, 2011 Thank You for all your help,I am going to try this..I know enough coding to be dangerous...when you said2) /adminfolder/tabs/adminProduct.phpdid you mean2) /adminfolder/tabs/adminProducts.phpI cannot find 2) /adminfolder/tabs/adminProduct.php Link to comment Share on other sites More sharing options...
tomerg3 Posted June 21, 2011 Share Posted June 21, 2011 Yes, I did...Make sure to keep a backup of your shop, and not try it on a live shop... Link to comment Share on other sites More sharing options...
Recommended Posts