• Resolved andreu

    (@andreu)


    Hi,

    The plugin is great, so thank you for developing it! At the moment I have a doubt in relation to the fields of brand and material. In the drop-down menu I can only choose custom fields. However, I would like to select taxonomies. Is that possible?

    Thanks in advance for your time!

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello Andreu,

    Are the taxonomies you are using, coming from a third party plugin or do you use one of the standard WooCommerce taxonomies?

    If their from a third party plugin, what is the name of this plugin?

    Best regards,
    Michel

    Thread Starter andreu

    (@andreu)

    Hi Michael,

    Taxonomies are standard, implemented by us in a custom theme with the register_taxonomy function inside an init filter. Should the taxonomies appear in the list?

    Thanks

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Could you send me a screenshot of the taxonomy as it shows up in a products page?

    Standard taxonomies like Product Tags and Product Categories should show up, but I think the taxonomies you want to use are related to the custom theme. That would probably mean that I need a bit more information about how it is stored in the database, but lets take it step-by-step and if possible show me how the taxonomy is displayed in the products page.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Andreu, did some further research and as far as I can see, as you are using the standard register_taxonomy function, it should work right out of the box.

    Regards,
    Michel

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Andreu, Assuming that the taxonomy should work, I will close this topic.

    If you have any issue with it, just reopen it again and if you have any other issue or question please open an new topic.

    Regards,
    Michel

    Thread Starter andreu

    (@andreu)

    Hi Michel,

    Sorry for my late reply. I’ve been investigating this and I couldn’t make taxonomy to appear. Here you can see what’s the select showing as options to assign https://pastebin.com/yKeiuf3R. We have a lot of custom fields and other data, but not taxonomies.

    Any idea? Thanks

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Thanks for reporting again. I will have a look at it.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello Andreu,

    I did some research and I have to admit that I was thinking in the wrong direction. Currently our plugin does not implement selecting taxonomies.

    I’m willing to look into implementing this option, but I’m wondering how. I mean, a taxonomy is a way of grouping items, like the product category. I could make the custom taxonomies to appear in the selection menu, but I don’t understand what data I should place in the feed then. I mean, a taxonomy probably contains several “group names”. Should I put these names in the feed?

    I hope you understand what I mean. Maybe you could give me more information about what taxonomies you are using, like the name of the taxonomy, the different options that belong to this taxonomy and how you’re using it.

    Thread Starter andreu

    (@andreu)

    Hi Michael,

    I understand. Do you know if its possible to put an array of data instead of a single value in those cases? If not, I think you should assign only the first term used of the taxonomy.

    In our case, we’re using this for designers. Each product have a single designer assigned. We’re doing this with a taxonomy because we have a designer page with all his products. We would want to put the designer name in the “brand” field. This is why we need to use taxonomies there.

    Let me know what do you think. Thanks for your work!

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Well the output that goes into the feed needs to be a string, so an array would not work. The only workaround with an array is to convert the array to a comma separated (or other character) string. I use that already for other arrays. But if I understand you correctly you want to be able to pick one of the items from that array (a designer name) into the feed.

    I will have to perform some tests to see how they come out. At least I now understand what you’re trying to achieve. Give me a few days for these tests and I will come back on this subject.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @andreu,

    Just to keep you informed. I’m working on a change in the plugin that should allow the use of these taxonomies. It does require some serious changes to the plugin so I do need to have some time to get it working and tested, but I’m sure it will become available.

    Thread Starter andreu

    (@andreu)

    Oh, thank you for the effort! ??

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @andreu,

    I’m ready to make a test patch for you that should work with taxonomies.

    To be able to make the correct patch, could you confirm that you’re using a free version at the moment?

    And could you please send me an email to michel(at)wpmarketingrobot.com so I use your mailaddress to share the patch files to?

    Thread Starter andreu

    (@andreu)

    Hi @michel-jongbloed,

    Yes, for the moment we’re using the free version but my client won’t have any problem to purchase the pro one if you include this feature there.

    I just send you an email for this.

    Thanks!

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    @andreu,

    If you don’t mind I will close this topic for now as we finished the issue by email. If you have any issues regarding this topic, just reopen it again or email me.

    Best Regards,
    Michel

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Use of taxonomies’ is closed to new replies.