8[Theme] PRODUCTS (Visual Composer Plugin)

This topic has 6 replies, 2 voices, and was last updated 6 years ago ago by Rose Tyler

  • Avatar: macamrstudios
    macamrstudios
    Participant
    March 5, 2018 at 21:05

    Hi

    I am trying to see where (if/how) I can modify/add/delete the ‘products type’ options from the drop down within the 8[Theme] Products element in the visual composer.

    Currently, there is only the following options:
    1- All
    2- Featured
    3- Sale
    4- Recently Viewed
    5- Best Selling

    I would like to add some custom filters (such as Recent Acquisitions, Archives, Online Catalog, etc)

    Where is this set and can I change it? Below is a screen shot for reference.
    Screen Shot of Admin tool

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 6, 2018 at 09:20

    Hello,

    You can overwrite “etheme_products_shortcode” function (xstore/framework/shortcodes/products.php) via child theme (functions.php file):
    wrap with

    if ( ! function_exists('etheme_products_shortcode) ) {
    common function () {
    
    }
    } // end of function exist wrapper

    https://prnt.sc/inh48v
    https://prnt.sc/ingzdb
    https://prnt.sc/ingzqh

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 23, 2018 at 14:46

    Hi – If I want to change the sort options under the filter bar at the top of the page (see screen shot) – what file(s) would I need to look into? I tried doing a search, but was not able to locate the necessary function.

    For example, instead of sorting by price (high to low / low to high), etc. I would like to sort by brand name (a-z / z-a), title (a-z / z-a), or date (which I think is already there (newness)?

    If that is not possible, I would like to hide / remove this dropdown altogether.

    filter/dropdown

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 26, 2018 at 12:18

    Hello,

    I would recommend you to contact woocommerce support or use this css code to remove the filter:

    .woocommerce-ordering .fancy-select {
        display: none;
    }

    Regards

    Avatar: macamrstudios
    macamrstudios
    Participant
    March 27, 2018 at 01:54

    thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 27, 2018 at 07:17

    You’re welcome!

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.