Copied to clipboard

Flag this post as spam?

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


  • Ryan Helmn 26 posts 188 karma points
    Oct 19, 2021 @ 10:45
    Ryan Helmn
    0

    Variants keep the 'Generic' tab

    Recently upgrade a project to 8.17 & Vendr 2.0.1 and noticed that the generic tab keeps pinned even though it's empty, only when there are variants.

    I suspect it's to do with the custom logic behind the variants to convert it to a content app, however I haven't looked too much into it.

    The variants property editor lives in the 'Product Content' tab.

    I don't suppose this is happening for anyone else?

    Generic Tab

    Content type with no generic tab

    Content type 'reorder' with generic tab empty

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Oct 19, 2021 @ 10:55
    Matt Brailsford
    0

    Ahh yea, it's highly likely it's the variants editor as the way the variants prop editor works is to force the property editor to be the last property on no tab and then hidden with CSS.

    We might have to look at whether there are tabs defined on the doc type and if they are, force the property onto it's own tab and hide that tab.

    🤔

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Oct 20, 2021 @ 08:11
    Matt Brailsford
    100

    So yea, this looked to be the case.

    I've now added a fix for this and pushed out a Vendr 2.0.2 which should be available on nuget now.

  • Ryan Helmn 26 posts 188 karma points
    Oct 20, 2021 @ 08:12
    Ryan Helmn
    1

    Can confirm this does the trick 🎉

Please Sign in or register to post replies

Write your reply to:

Draft