Please note that this add-on is compatible with Litium Accelerator 7.4 and up
How to get started:
- Unzip the AddOn zip file and copy Litium.AddOns.Loop54 project in the src folder to your solution.
- Copy file Litium.AddOns.Loop54.dll.config from Litium-Accelerator-Files folder to your website (MVC) root folder.*
- Add reference Loop54.dll from SharedLibs folder into your Litium.Accelerator and Litium.Accelerator.MVC projects.
- (If necessary) Correct the references of the add-on projects so that they refer to the correct packages..
- Add reference Litium.AddOns.Loop54 into your Litium.Accelerator and Litium.Accelerator.MVC projects.
- Add and replace or alter your files in Litium projects with new codes/files from Litium-Accelerator-Files folder under Src folder in zip file, description on changes down this page.*
- Fix any compile errors and compile your solution also rebuild frontend code
- Add your Loop54 account credentials to the copied config file and start your website.(Loop54 custom fields should be created now on all Litium channels)*
- Rebuild the product catalog indices in back office. Then Loop54 can get data from your feed and construct its own indices.
Loop54 uses client chosen filters such as size, color, price.. as facets and non client chosable product tags as filters.
Loop54 does not support different price intervals since it is not returning number of items in different price ranges, only max and min prices (RangeFacet), and it is not working as a real faceting. If there are no products in the given interval then returned products will be null or zero. Price filters are implemented as price intervals in Litium Accelerator. If you want to use price filtering with Loop54, you have to change price filter options to a slider or similar instaed of single or multi chosen checkboxes.
Same Logic appears for News faceting since it also is a RangeFacet. There is hard coded logic on 1 and 3 month on News field and you chose your News field in backoffice in the Loop54 channel settings. Apply a slider for presenting News in a satisfactory option on the page.
On sorting option "Recommended" is not used by Loop54!
Litium-Accelerator-Files description *
In Litium.Accelerator project:
- CampaignIndexingProviderPreProcessor.cs
Almost whole file is altered so most of the code are replaced for supporting indexing new format on campaign tags.
- CategoryPageViewModelBuilder.cs
Private method BuildProducts is altered to set CategoryShowRecursively to true.
- PriceFilterService.cs
Adding new campaign readtags with and without vat.
- SearchQuery.cs
Property "IsAutoCompleteType" added to SearchQuery class.
- QuickSearchResultViewModelBuilder.cs
Logic to support boolean property IsAutoCompleteType in SearchRequest object implemented.
- SearchQueryBuilder.cs
Altering pagesize for Loop54 and built-in Lucene. (In Loop54 set as numers of products presented by page)
- VariantIndexDocumentMerger.cs
Class is made public instead of internal
New files to insert:
- Loop54FilterAggregatorDecorator.cs
- Loop54ProductSearchServiceDecorator.cs
- Loop54SearchService.cs
- SortableSearchHit.cs
In Litium.Accelerator.MVC project:
- QuickSearch.container.js
Altering the code to wait on at least 3 characters in QuickSerach before calling the server.
- Litium.AddOns.Loop54.dll.config
The account credentials to Loop54 must be filled in this file.