Sunsetting inventory - key steps

@Karla @dcook Apologies I’ve misunderstood something when iterating with Gaetan, and it seems indeed variant tag takes precedence over inventory. So you could turn variant tags on for them without needing to turn off inventory.

This could still lead to a lot of confusion for the user, so I’m checking with Gaetan the best way to proceed. We will change a bit how we turn off inventory in the next release. Stay tuned!

Thanks @Rachel for clarifying. I am having trouble getting tags to work for my demo hub (I add a default rule of ‘not visible’ and they still appear in the shopfront) and I thought that maybe it was because I had used inventory previously (it was on the list you sent of ‘inventory’ users) with that enterprise and needed to deactivate inventory. I still can’t figure out why it is not working, but will try testing with another enterprise. Thanks!

Same for me @Karla. I have a variant tagged ‘wholesale’, tagged to a specific customer. Default rule is ‘not visible’ But a non-tagged customer also sees this variant in the shop. First I thought maybe the tag rule didn’t work for a variant-product that was part of a product-group. But i tested that - and its still an issue. Even when the product is not part of a product -group, the ‘invisible’ tag rule doesn’t hide the tagged variant from the shop it seems.

@Karla @tschumilas can you open an issue on github with the tag rule set up you are using? There might be a bug we didn’t catch yet.
Many thanks!

@Rachel No problem - I created this github issue #13764. Thanks for your help!

@instance_managers the last release has turn off inventory for all users who are not using it, and turned variants tags ON for them.

For the remaining inventory users, there are some you might want to switch to variant tags as inventory is no use for them. Here is the new process (forget everything else mentioned here before :wink: ):

  • Copy the enterprise ID in /admin/enterprises/ENTERPRISE-NAME/edit : e.g. 5740
  • Go to /admin/feature-toggle/features/variant_tag
  • Turn the toggle ON for them with the syntax Enterprise;ID e.g. :

This will automatically turn off inventory for them, no need to touch the inventory toggle.

:warning: this is not handling automatically enterprises relationships. If several hubs are involved, each enterprise will need to be added individually.

@Rachel FYI all - the Inventory link in the admin screen has disappeared for everyone, regardless of if they’re using the Inventory or not and therefore should still see the link. It is still accessible at the URL when you inevitably get the panicked emails from users that I just got!

A bit of feedback as I’m moving over probably our biggest Inventory user in the UK.

They currently use stock level and price overrides in the inventory, and show/hide functionality. The show/hide functionality they can use a ‘visible’ tag to perform the same function in the product list - all good. What has occurred to me though is that currently hidden products do not appear for selection in the Incoming Products section of an order cycle. This means product selection at Incoming Products is streamlined by removing products that are out of season/long term unavailable etc. Using tags instead of show/hide therefore can’t quite match the functionality. I don’t think this is a breaking point, but I do think there is a strong argument for considering an archive or hide function for products that reflects in Order Cycles in future. I’d imagine this would also speed up the loading time for Incoming Products for big users to :person_shrugging:

FYI all - the Inventory link in the admin screen has disappeared for everyone, regardless of if they’re using the Inventory or not and therefore should still see the link. It is still accessible at the URL when you inevitably get the panicked emails from users that I just got!

Just adding here that this bug is now fixed. It was affecting users who had enterprises with inventory and others without. The setting without inventory was overriding the other one.

Using tags instead of show/hide therefore can’t quite match the functionality. I don’t think this is a breaking point, but I do think there is a strong argument for considering an archive or hide function for products that reflects in Order Cycles in future.

@BethanOFN yes this is why in the new OC design we have worked with Christina, we have the ability to search / select products with tags.

Let’s see with @Mario once this is kicked off in development if we need to develop a dedicated show/hide feature, or if together with Allow to select "none" in variant tags dropdown · Issue #13744 · openfoodfoundation/openfoodnetwork · GitHub and an ability to save / reuse the selection we aren’t better off.
One thing users keep saying at support is that they sometimes forgot they have hidden a product. Therefore I like the idea of seeing in the dropdown that the tag is deselected. Otherwise we may need to always have a way to show hidden products.

1 Like

I forgot about the tags in redesigned OC! Ignore that comment then :slight_smile:

1 Like

I won’t forget it :smiley: I think it’s good to list here every use cases, thank so you much @BethanOFN

It will help everyone to understand better how we need to proceed.

Happy New Year @Rachel!
Just wondering how we enable variant tags for those ‘inventory users’ identified last fall (spreadsheet sent to instances) if we have determined they are not really using inventory?

hi @Karla happy new year !

You need to enable variant tag for the enterprise using the actor section with Enterprise;6 - where 6 is the enterprise id.

Let me know how it goes!

Ahh! Ok. That makes sense. Thanks for letting me know!