Katrina92 Posted August 10, 2022 Share Posted August 10, 2022 Site URL: https://www.cherishhampersgifts.com.au/hampers-gifts Hi, I have purchased and put in place the "Filter" code on my products. The issue is I don't want a code for category or tags. I know I can just delete these out but I want to be able to see the categories as buttons down the side of my page how I used to. I still want to keep the filters for price and the search bar. How do I delete out the category code but still have them listed as buttons on the side? When I delete it out there is no categories anywhere. Please help! Link to comment
tuanphan Posted August 10, 2022 Share Posted August 10, 2022 Edit this code filter: { // here you define all filters you need and name them category: false, // disabling default Category dropdown tag: false, // disabling default Tag dropdown items: [{ name: 'Category', // give the dropdown (fiter entity) name you want multiple: true, // if true, allow to select multiple options logic: 'and', // how to combine dropdown options with other dropdowns logic. Other value is or multipleLogic: 'or',// combine each selected option with OR or AND logic within one dropdown closedSubOptions: false, // works for Products 7.1 subcategories onl sort: 'asc', // may be asc, desc, asAllowed (need define options list in allowedOptions), or your own custom function getAttr: 'categories'// here you say Filter to look for options in items categories }, { }] }, to this filter: { // here you define all filters you need and name them enabled: false, category: false, // disabling default Category dropdown tag: false, // disabling default Tag dropdown items: [{ name: 'Category', // give the dropdown (fiter entity) name you want multiple: true, // if true, allow to select multiple options logic: 'and', // how to combine dropdown options with other dropdowns logic. Other value is or multipleLogic: 'or',// combine each selected option with OR or AND logic within one dropdown closedSubOptions: false, // works for Products 7.1 subcategories onl sort: 'asc', // may be asc, desc, asAllowed (need define options list in allowedOptions), or your own custom function getAttr: 'categories'// here you say Filter to look for options in items categories }, { }] }, Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Katrina92 Posted August 10, 2022 Author Share Posted August 10, 2022 Thank you for replying. This just gets rid of the filter but doesn't show the side panel of categories Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment