larrson Posted February 20, 2018 Share Posted February 20, 2018 Hey, how can i remove the tabs in product page. I want just display my text and blocks, one below the other. I want to do this without module, if it's not too much cumbersome. I use prestashop 1.7.2.4, classic theme. thank you for reading larrson Link to comment Share on other sites More sharing options...
larrson Posted February 22, 2018 Author Share Posted February 22, 2018 (edited) After looking around, i guess it's more css and layout than developer skills related. Someone has an idea ? Edited February 22, 2018 by larrson correction (see edit history) Link to comment Share on other sites More sharing options...
Dan Posted February 22, 2018 Share Posted February 22, 2018 subbing to this thread. Don't know the solution, but also want to deactivate the tab "product details", when it's empty. Link to comment Share on other sites More sharing options...
nadie Posted February 22, 2018 Share Posted February 22, 2018 (edited) En 20/2/2018 a las 9:36 AM, larrson dijo: Hey, how can i remove the tabs in product page. I want just display my text and blocks, one below the other. I want to do this without module, if it's not too much cumbersome. I use prestashop 1.7.2.4, classic theme. thank you for reading larrson File: /themes/classic/templates/catalog/product.tpl has "include" to: /themes/classic/templates/catalog/_partials/product-details.tpl Check files Edited February 22, 2018 by nadie (see edit history) 1 Link to comment Share on other sites More sharing options...
larrson Posted February 23, 2018 Author Share Posted February 23, 2018 Thank you a lot for your answer. I checked product.tpl file. It seems to me that the product-details file is not involved at all with my issue. Product.tpl call a javascript to get the tab job done. So i guess by removing that call, i can disable the tabs. Am i right ? Maybe some advice for removing the javascript call to get the things done the right way (without the blank page of death) Dan : i'm sorry. This is beyond my knowledge. Somewhere you have to put an if statement, or a check like : isset description (action)... larrson Link to comment Share on other sites More sharing options...
speed-providing-uncl Posted February 27, 2018 Share Posted February 27, 2018 (edited) If you disable .tab-content > .tab-pane {display:none} by adding .tab-content > .tab-pane { display: block !important; } It gives you all the fields from all tabs (see image 6) but It also shows the fields (see image 7) for internationalization: - translationsFields-form_step3_available_later_1 tab-pane active translation-label-en for >> will be displayed because locale = en - translationsFields-form_step3_available_later_3 tab-pane translation-label-fr >> will also be displayed, even if locale = en Edited February 27, 2018 by Florian (see edit history) 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