Thrive Team

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Filtering on custom field #105694
    Thrive Team
    Participant

    Just saw you included your e-mail- I’ll get a clone set up so I can grant access.

    in reply to: Filtering on custom field #105693
    Thrive Team
    Participant

    Hello, thanks for the reply but- I’ve already done exactly as you suggested- I placed the custom taxonomy field to include. I shouldn’t need to do anything further based on your documentation.

    In your example, you shouldn’t need to put in “M” or “S”. If you put in “size” as the attribute, it should grab all products WITH a size attribute. But nevertheless, I have put in the exact name of the attribute, it still doesn’t work.

    I’m not using ACF to create a custom taxonomy. I’ve created a custom taxonomy through standard WordPress register functions. The only thing ACF is being used for is to create an easy interface to select taxonomies. (You could add them in the sidebar via the standard wordpress method- makes no difference. The taxonomy is being saved correctly on the post, but the plugin cannot filter by it.)

    In my scenario, the custom taxonomy name is ‘gundealtaxonomy ‘and the attribute is ‘Ammunition’. When I put both of those into the settings as you have suggested like Size and S/M- it still produces an XML document with every product, whereas it should only be returning a single product since that’s all that is entered in the backend so far.

    How did you create the custom taxonomny Size, how did you populate it with data?

    I could give you access to a clone of the site, but i’ll need to create it first and I’ll also need a secure method of communication.

    in reply to: Filtering on custom field #105691
    Thrive Team
    Participant

    Darn, I updated my taxonomy code to:

    register_taxonomy( ‘gundealtaxonomy’, ‘product’, $args );
    register_taxonomy_for_object_type( ‘gundealtaxonomy’, ‘product’ );

    Seems to save the taxonomy values correctly through ACF. But placing neither the ACF field name “gun_deals_taxonomy” nor “gundealtaxonomny” works for filtering. So either I’m doing something very wrong… or the filtering by custom taxonmy doesn’t seem to wrok.

    in reply to: Filtering on custom field #105690
    Thrive Team
    Participant

    I tried creating a new taxonomy, since that what it seems to really want. Not just a custom field. I was certain this would work… but it’s not.

    I registered a custom taxonomny:
    register_taxonomy(‘gundealtax’)

    I’m then using advanced custom fields to use that taxonomy to show fields on WooCommerce products. I populated 1 product with a ‘gundealtax’ taxonomy. I then place ‘gundealtax’ (without quotes) in the Custom taxonomy to include field, and it returns a list of all products, instead of 1.

Viewing 4 posts - 1 through 4 (of 4 total)