Skip to content

praveenmanchana/Sitecore.Commerce.Plugin.PromotionsSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promotions Search

This is a sample solution that can enable indexing and search functionality for promotions in sitecore commerce.

For indexing any other entities, use this as a base sample and replace promotions with the relevant entities.

How to use this

  1. Perform the initial setup of the Solr core by running the powershell script from setup folder .\Install-Promotions-Solr.ps1. Note: Please update the variables to match you local environment
  2. Integrate project Plugin.Sample.PromotionsSearch into your solution
  3. Integrate Policy Set Plugin.Sample.PromotionsSearch.PolicySet-1.0.0.json into your solution
  4. Integrate Policy Set Plugin.Sample.PromotionsSearch.Minions.PolicySet-1.0.0.json into your solution
  5. Add Entity-PolicySet-PromotionsSearchPolicySet to your Authoring, Shops and Minions environments
      {
        "$type": "Sitecore.Commerce.Core.PolicySetPolicy, Sitecore.Commerce.Core",
        "PolicySetId": "Entity-PolicySet-PromotionsSearchPolicySet"
      }    
  6. Add Entity-PolicySet-PromotionsSearchMinionsPolicySet to your Minions Environment
      {
        "$type": "Sitecore.Commerce.Core.PolicySetPolicy, Sitecore.Commerce.Core",
        "PolicySetId": "Entity-PolicySet-PromotionsSearchMinionsPolicySet"
      }    
  7. Build, Deploy and Bootstrap commerce engine.
  8. Import Promotions Search.postman_collection.json postman collection
  9. Run the Full Index Minion - Promotions

About

Sample plugin for enabling indexing and search on Entities in Commerce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages