Home › Forums › WoodMart support forum › Adding custom Taxonomy to WooCommerce filters
Adding custom Taxonomy to WooCommerce filters
- This topic has 18 replies, 4 voices, and was last updated 6 years, 1 month ago by Artem Temos.
-
AuthorPosts
-
August 24, 2018 at 8:51 pm #74221
sarahhellemsParticipantHi, I’m organizing the products in my store by custom taxonomies rather than by “attributes” – I’d like to be able to use the filters you have set up, especially the sidebar widget WOODMART WooCommerce Layered Nav. Is it possible for me to tweak the code so that I can add the taxonomy “producttype” rather than using “attribute”?
August 25, 2018 at 6:20 am #74235
Elise NoromitMemberHello,
The filters work only with attributes. So, even if you create a product type custom taxonomy it will not be filtered. Why don’t you create an attribute “Product type” with items inside?
Best Regards
August 27, 2018 at 6:06 pm #74545
sarahhellemsParticipantI would, but we have about 650 different product types. I’m using WP AllImport to import and update our 2200 products, and I can map their product types to certain taxonomies but I don’t see “Attributes” listed as a taxonomy anywhere. Is it something different than that? Any other way you can think of to be able to use these as filters?
August 27, 2018 at 6:55 pm #74551
Elise NoromitMemberHello,
Unfortunately, we are not able to give any advice in this question. You will need to find a plugin. We have not practiced such an issue before as it is not related to our theme options thus we cannot recommend you anything appropriate.
Best Regards
October 2, 2018 at 8:21 am #80269
plusinternetParticipantIt is related to your theme. Your theme is an ECOMMERCE theme that doesn’t facilitate the importing of product data.
If every feature on the website cannot be used via data import then the theme is failing.
It’s very frustrating to see these cool features yet we cannot use them because you seem to think companies will spend 100’s of hours manually building out the website.
Tell me one successful ecommerce website that doesn’t use product importing to manage its product catalog
October 2, 2018 at 8:25 am #80274
Artem TemosKeymasterBut products data structure and attributes come with WooCommerce and not related to our theme at all. Our filters widgets are the same as WooCommerce ones. So if you will be able to adapt WooCommerce to your custom taxonomies needs then our theme will work with all your changes as well. Our theme doesn’t have any influence here. Yes, it is an eCommerce theme but all data organization are related to WooCommerce plugin, not to our theme or any other themes on ThemeForest.
October 2, 2018 at 9:14 am #80308
plusinternetParticipantI understand and you’re right. Woodmart is the best e-commerce theme I’ve used. I was a long time user of Flatsome but I’ve made the switch and really think the potential for Woodmart is huge. Your updates seem to come quickly with plenty of new features.
The ONLY issue I have is that I cannot import the CUSTOM attribute information for the product variation images and it is really frustrating.
October 2, 2018 at 9:35 am #80319
Artem TemosKeymasterBut why you don’t want to use product attributes instead of custom taxonomy? Your request will require a lot of customization in the WooCommerce and our theme.
October 2, 2018 at 10:34 am #80360
plusinternetParticipantI don’t understand what you mean.
I import all of my products and variations (including images). The ONLY way I can display variation thumbnails on the product page, homepage and category page is by manually editing the Colour attribute and adding the variation image for every single term.
I also have to tick a box to enable them.
These are custom fields that Woodmart has implemented.
October 2, 2018 at 11:06 am #80368
Artem TemosKeymasterThey are standard terms meta and stored in the WordPress database as well as all other taxonomy terms meta. So you need to ask your import plugin’s developers how to fill these fields as well.
October 2, 2018 at 11:58 am #80427
plusinternetParticipanthttp://www.wpallimport.com/documentation/taxonomies/import-taxonomy-meta/
is this what you mean?
October 2, 2018 at 12:28 pm #80442
plusinternetParticipantI am using the import feature in WP-ALL-IMPORT called “taxonomies” and it is trying to auto detect the custom fields (see attached screenshot).
Could you help me identify the Name of the two fields in the other attached screenshot?
Attachments:
You must be logged in to view attached files.October 2, 2018 at 12:50 pm #80457
Artem TemosKeymasterWe don’t see them in the list. Their keys are
not_dropdown
,image
andcolor
.October 2, 2018 at 12:55 pm #80458
plusinternetParticipantI’ll give them a try later, we could be onto something here Artem! Thank you!
Could I make a suggestion? Look at setting up a private Facebook group for theme users. Flatsome uses a private Facebook group and its a fantastic way to get the community working together to solve issues. Obviously, your existing moderators/staff can oversee the posts and content on Facebook etc.
October 2, 2018 at 1:49 pm #80470
Artem TemosKeymasterThank you for the suggestion!
October 4, 2018 at 5:12 pm #80956
plusinternetParticipantFYI, I have been able to import all of my product data and attribute term meta using WP-ALL-IMPORT. Thank you for your help and assistance!
October 4, 2018 at 5:39 pm #80967
Artem TemosKeymasterWe are glad to hear that! Could you please write in a few words how did you do that?
October 4, 2018 at 6:54 pm #80986
plusinternetParticipantI add all of the product data into a Google Sheet and import into Woocommerce using WP-ALL-IMPORT and their Woocommerce addon.
This can be set to automatically pull in the product data using a CRON job or WP-ALL-IMPORT has a $9 subscription that will manage the auto import.
I re-import the Google Sheet but this time select TAXONOMIES as the type of content I wish to import, I select my Colour attribute from the list, if the attribute isn’t showing, add it by going to Products > Attributes.
There is a section that allows you to add custom fields to the import (it tries to detect them but it doesn’t pick up the Woodmart fields). Add them manually.. “not_dropdown” and “image” and link them to the two relevant columns in the Google Sheet.
“not_dropdown” needs to be set to “1” in order to tick/enable the option. The “image” field needs to be a direct URL to the image file.
Hope that all makes sense, let me know if you require further clarification.
October 5, 2018 at 5:53 am #81017
Artem TemosKeymasterThank you for posting your solution here š
Kind Regards
-
AuthorPosts
Tagged: filter, widget, woocommerce
The topic ‘Adding custom Taxonomy to WooCommerce filters’ is closed to new replies.
- You must be logged in to create new topics. Login / Register