Jump to content

remove tabs in product page prestashop in 1.7.2.4


larrson

Recommended Posts

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

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 by nadie (see edit history)
  • Like 1
Link to comment
Share on other sites

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

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

 

Image 6.png

Image 9.png

Edited by Florian (see edit history)
Link to comment
Share on other sites

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