New Landing How can we help? Atelier Attributes in menu's

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #274929
    skullo27
    Member
    Post count: 217

    Hi, I have been looking at adding attributes to my menus: https://docs.woothemes.com/document/using-custom-attributes-in-menus/

    In the instructions it says I need to do the following:
    Copy woocommerce/templates/taxonomy-product_cat.php into your theme folder
    Rename the template to reflect your attribute – in our example we’d use taxonomy-pa_size.php

    If I do this, will it be erased when theme updates are issued? Or do theme updates just overwrite files and so it would be left untouched?

    Thanks
    Sam

    #274934
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    In this case you will have to copy it into the child theme, keeping the same directory structure so it won’t be overwritten by the updates.

    Not sure what exactly you are trying to achieve but it’s already possible to add product categories and product tags to the menus.

    https://www.dropbox.com/s/ipc9yid39io4tzq/Screenshot%202016-06-15%2014.23.30.png?dl=0

    What is the goal?

    -Rui

    #274936
    skullo27
    Member
    Post count: 217

    Hi Rui, I know you can add categories and tags, but I would like to add attributes, as I have some that are not in categories or tags.

    Does that make sense?

    thanks

    #274941
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    If you uploaded the new theme via FTP then it will not delete the files, it will just override the old files. However if you update via WP admin it will delete the files

    – Kyle

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

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

License required for one of the following items
Login and Registration Log in · Register