Skip to content

Custom Sitecore Commerce inventory plugin project with extended functionality for the Business Tools.

License

Notifications You must be signed in to change notification settings

ArchitectedDev/Ajsuth.Foundation.Inventory.Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended Sitecore Commerce Inventory

Custom Sitecore Commerce inventory plugin project with extended functionality for the Business Tools.

Supported Sitecore Experience Commerce Versions

  • XC 9.2

Features

Associate Inventory from Sellable Item and Variant Page Views

Adds action, Associate Sellable Item to an inventory set to the Inventory Sets entity view, to provide the business user the ability to associate inventory information without requiring navigation to the Inventory Manager. If an inventory information entity already exists when selecting the inventory set, the user will be presented with edit functionality instead.

Enablement Policy Property: InventoryFromProductView

Associate action in Sellable Item view

Sellable Item entity view.

Select Inventory Set view

Select Inventory entity view.

Associate entity view

Associate Inventory entity view.

Enabling Features

In the environment configuration files, add the CatalogFeatureEnablementPolicy and set the desired features to true. (See the Enablement Policy Property value under each feature). For example:

{
	"$type": "Ajsuth.Foundation.Inventory.Engine.Policies.InventoryFeatureEnablementPolicy, Ajsuth.Foundation.Inventory.Engine",
	"InventoryFromProductView": true
}

Enabling Inventory Actions on Published Entities

The EntityVersionsActionsPolicy's AllowedActions property allows actions to continue to be enabled to the business user once a versioned entity has been published. To enable inventory actions for sellable item and variant Inventory Sets entity view, add the following action names to the policy.

Custom Actions

  • "AssociateSellableItemToSelectInventorySet"

System Actions

  • "DisassociateSellableItemFromInventorySet"
  • "EditSellableItemInventory"
  • "TransferInventory"

Installation Instructions

  1. Download the repository.
  2. Add the Ajsuth.Foundation.Inventory.Engine.csproj to the Sitecore Commerce Engine solution.
  3. In the Sitecore Commerce Engine project, add a reference to the Ajsuth.Foundation.Inventory.Engine project.
  4. Enable desired features, following Enabling Features.
  5. (Optional) If desired, follow Enabling Inventory Actions on Published Entities.
  6. Run the Sitecore Commerce Engine from Visual Studio or deploy the solution and run from IIS.
  7. Run the Bootstrap command on the Sitecore Commerce Engine.

Known Issues

Feature Description Issue

Disclaimer

The code provided in this repository is sample code only. It is not intended for production usage and not endorsed by Sitecore. Both Sitecore and the code author do not take responsibility for any issues caused as a result of using this code. No guarantee or warranty is provided and code must be used at own risk.

About

Custom Sitecore Commerce inventory plugin project with extended functionality for the Business Tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages