Skip to content
No description, website, or topics provided.
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Images
XCentium.Commerce.Plugin.AddParentCategoriesToSellableItem
README.md

README.md

Sitecore Commerce Plugin to extend SellablItem with Parent Categories View

Out of the Box BizFx displays CategoryToSellableItem association in Category View. And you'd need to paginate through the unsorted Grid to find your sellableItem in the list and disassociate it. This plugin extends SellableItem EntityView in Bizfx with ParentCategories ChildView. This childview would list all parent categories and allows to disassociate it from the SellableItem View.

Sponsor

This plugin was sponsored and created by Xcentium.

How to Install

1- Copy the plugin to your Sitecore Commerce Engine Solution and add it as a project.
2- Add it as a dependency to your Sitecore.Commerce.Engine project.
3- Find 'Sitecore.Commerce.Plugin.EntityVersions.EntityVersionsActionsPolicy' in 'PlugIn.Versioning.PolicySet-1.0.0.json' and add 'DisassociateItemFromCategory' to 'AllowedActions':

{
        "$type": "Sitecore.Commerce.Plugin.EntityVersions.EntityVersionsActionsPolicy, Sitecore.Commerce.Plugin.EntityVersions",        
        "AllowedActions": {
          "$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], mscorlib",
          "$values": [
            "AddEntityVersion",
            "AddCatalog",
            "DeleteCatalog",
            "AddCategory",
            "DeleteCategory",
            "AddSellableItem",
            "DeleteSellableItem",
            "AssociateCategoryToCategoryOrCatalog",
            "AssociateSellableItemToCatalog",
            "AssociateSellableItemToCategory",
            "DisassociateItem",
            "DisassociateItemFromCategory"
          ]
        }
      }

4- Re-Bootstrap.

How to Use

Go to BizFx(Business Tools) and open any SellableItem. You should see a Parent Category child view.

Parent Categories

Note:

  • If you have any questions, comment or need us to help install, extend or adapt to your needs, do not hesitate to reachout to us at XCentium.
You can’t perform that action at this time.