• Resolved roadlink

    (@roadlink)


    Hello there,

    I am using you plugin for a while and I am so far. Thanks again.

    I have some products which I don’t want to show in the feed.
    I want to make a setting in product page and exclude these products from feed automatically.

    Maybe like a metadata in the product, or category.
    I am mentioning few hundred product and keep changing daily.

    Thus rules and filters are not usable for me.

    Do you have any suggestion?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jeff Alvarez

    (@superlemon1998)

    Hi @roadlink ,

    I don’t think we have a hook you can use to dynamically exclude products from being added to the feed. For starters you could try looking into this hook:

    adt_get_product_data

    This is how we get product data, if you want to look at our exclusion code it’s in the class-get-products.php file

    Thread Starter roadlink

    (@roadlink)

    Hi Jeff,
    Thanks for reply.
    I want to exclude some products on some feeds but not all. This make it complicated.
    Otherwise I found your metadata, but it exclude from all feeds.
    Let me explain what I tried;

    • Added a metadata to product and try to find it in filter. But filters can’t find metadata. Is it normal.
    • Add special tag to these products and filter it. Inconvenient since it add extra data in to front end. Category is also same result.

    Is there any way to filter based on product metadata?

    Thread Starter roadlink

    (@roadlink)

    I have managed to solve it via small code snippet and custom field.
    Later added filter.


Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Don’t show some (many products) programatically’ is closed to new replies.