New Landing How can we help? Cardinal functions change or woo-commerce

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #126989
    izemach
    Member
    Post count: 47

    Hi,

    I am removing the description and reviews tabs from the products page, using a method you suggested and that can be found here: http://docs.woothemes.com/document/editing-product-data-tabs/

    The problem is that it should be done on the functions.php files, and every time I update the theme it is erased and I need to re-do that. Is there another way to hide the tabs?

    #126995
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You just need to use a child theme and inside the childtheme functions.php you will put that code to hide the tabs. This way the Parent themes updates won’t affect that code.

    -Rui

    #126998
    izemach
    Member
    Post count: 47

    Thank you. Can you describe how to do this it?

    #127004
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You can download the child theme in this link:
    https://www.dropbox.com/s/gew5v7itkjzgxus/cardinal-child.zip?dl=0

    Just upload it like a normal theme and activate it. Then edit the functions.php that is inside the child-theme directory and place your changes there.

    Hope it helps.

    -Rui

    #127019
    izemach
    Member
    Post count: 47

    Awesome! works great. Can I use the same method to change other php files?

    #127022
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    it depends on the files. Need a specific example.
    -Rui

    #127030
    izemach
    Member
    Post count: 47

    I would like to change the file content-single-product.php (I am moving the h1 line to another location)

    #127064
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    ok. In that case you have to create and identical file structure and it will be fine.

    -Rui

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register