Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Jung 2 posts 22 karma points
    Mar 28, 2022 @ 15:53
    Kevin Jung
    0

    Use ProductAdapter for product discount

    Hey Matt,

    We are using a Product Adapter to get our products, is it possible to add an Order line product rule for these products?

    Umbraco 8.15.0, Vendr v1.8.6

    Thanks

    Kevin

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Mar 29, 2022 @ 08:29
    Matt Brailsford
    0

    Hi Kevin,

    Hmm, good question. I think at the moment the order line product rule just uses a content picker to pick the product that the discount relates to which would mean unfortunately no it wouldn't work for non umbraco node based products.

    This said, we did in the recent update where we added Carts feature to Vendr implement the means to lookup products by the product adapters so I think we should probably update the product rule to use this API instead of assuming umbraco node based products.

    I'll add it to our issue tracker to look at, but I can't guarantee when that will be just yet.

    UPDATE The issue tracker link is https://github.com/vendrhub/vendr/issues/358

  • Kevin Jung 2 posts 22 karma points
    Mar 29, 2022 @ 13:47
    Kevin Jung
    0

    Hey Matt,

    Thanks for your help, will be looking forward :)

Please Sign in or register to post replies

Write your reply to:

Draft