This topic has 6 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler
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.
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
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.
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
thank you!
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up