Reading list Switch to dark mode

    How to create New tabs in Prestashop

    Updated 2 April 2013

    In Database Table ps_tab

    1. create a parent class with id_parent =0 ,classname = parentclass , position=0, active=1 and as id_tab is auto Increment let id_tab=100.

    2. Now create a child class width id_parent = 100, classname = childclass1, position =1, active =1 and as id_tab is auto Increment id_tab=101.

    3. Now create another child class width id_parent = 100, classname = childclass2, position =2, active =1 and as id_tab is auto Increment id_tab=102.

    you can create any number of childclass under only one parent class.Every child class should be associated with one file but parent class don’t.

    Searching for an experienced
    Prestashop Company ?
    Find out More

    In Database Table ps_tab_lang

    4. Enter id_tab in ps_tab_lang which is equal to id_tab in ps_tab of respective tab,id_lang is the id of the language you want to insert which you will get from ps_lang table,name is the tab name which display on the tab.

    In Database Table ps_access

    5. id_profile is the id of the profile of the user which you can select from ps_profile & ps_profile_lang database table, by id_profile you can give the access of the respective tab to the desired profile type of the user.

    For giving child class access to the user it is necessary to give the access of parent class.

    view,add,edit,delete attributes in ps_access table will also allow to give the permission of view, add, editing, delete respectively by putting value 1 for yes and 0 for No.

     

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home