LS Retail is a point-of-sale software which is used by retailers and restaurateurs in more than 130 countries.
We have built a demo project showcasing some of the possible features of an integration between LS Retail and Dynamicweb. This demo project sets up a standard Dynamicweb 9.10 solution with Rapido 3.4.2 and integrates with an official VM from LS Retail containing LS Central and LS Omni. The end goal of this project is presales, demo activity, and a starting point for an integration between Dynamicweb & LS Retail.
This demo projects contain the following features:
- Different stock locations (webshop and physical stores)
- Individual stock and stock status
- Click and collect on checkout
- Cart validation – Only add products to one webshop or store at a time
- Multiple ‘Add to cart’ buttons - ‘Webshop’ and ‘Click and collect’
- ‘Find store’ functionality
- User management
- Create account
- Change password
- Forgot password
- Loyalty program
- Earn points
- Buy products with points
- Supports data from LsRetail
- Products w/images and product groups
- Prices & Currencies
The demo project does not contain the following features:
All guides and files in the demo project are preset for certain demo scenarios.
The demo project is built against specific versions of Rapido, Dynamicweb, Ls Central and Ls OMNI, so we do not guarantee that the demo project can be used with older or newer versions of Dynamicweb, Rapido, LS Central or LS OMNI without making some changes in the demo project.
To succeed with an actual project leading to a website in production, you will need an implementation team consisting of experts in all four main areas of the technology stack; LS Central, LS Omni, Dynamicweb & Rapido. It is very likely that an actual implementation requires you to customize source code in some or all of these four areas.
The demo project also comes with an initialize site button/script which auto-creates a lot of the stuff necessary to demo an LS Retail integration, e.g. generates product facets, auto-creates payment methods, shipping methods, password retrieval pages, and find store pages, updates website settings, module pages, integration jobs, configures the live integration, creates an external login provider, custom order fields, and much more.
All of these operations are of course specific to this particular version of Dynamicweb, Rapido & LS Central/Omni.
Dynamicweb partners and other third parties are welcome to base their own turnkey solutions on this demo project. It is, however, their own responsibility to document and maintain these solutions. It is also their responsibility to support any solutions not strictly based on the versions of LS Central, LS Omni, Dynamicweb & Rapido mentioned in the Dynamicweb LS Retail Setup Guide available below.
To set up a demo project:
- Read and follow all steps in the Dynamicweb LS Retail Setup Guide – this guide will teach you how to setup a demo environment
- Read the document Dynamicweb LS Retail Demo Guide – this guide will show you what features there are to demo and how you can demo them
- You are now ready to demo
Download the demo project here:
|Dynamicweb LS Retail Setup Guide v1.00.docx||8953 KB||28/06/2021|
|LS Retail - Dynamicweb - Demo Script - v0.93.pdf||1821 KB||28/06/2021|
Extending the demo project
If the functionalites covered in the demo project does not statisfy the requirements of your project, you have the option of customizing the project, so you can implement the missing functionalities.
Below you find a description of some of the key files in the demo project, which could be relevant if you want to customize the project:
- ApiHandler.cs – This class contains the methods which are calling the LS OMNI service API methods.
So, if you need the integration to contain some new functionality available from the LS OMNI service, you will need to implement some new methods inside this class, similar to how the rest of the methods has been implemented.
- LsRetailIntegrationAddin.cs – LSRetail LiveIntegration Add-In. This contains all the settings needed to connect a LiveIntegration to LSRetail. This is available from the LiveIntegration section. If you want to add a new setting, you should use this class and look how the other options has been implemented.
- LsRetailImportDataAddIn.cs - ScheduledTaskAdd-In, which makes it possible to configure the import of data from LsRetail. You will need to look into this class if you want to change the way data is moved from LS into Dynamicweb, or if you need to handle a new kind of data.
- QueuedOrdersSyncScheduledTask.cs – ScheduledTaskAdd-In which handles exporting order from Dynamicweb to LS.
- AreaRibbon.cs – This class adds the “Initialize site” button on the WebSite edit page. This “Initialize site” button will autocreate a lot of the things required for the LS setup.
- LsRetailUserTemplateExtender & LsRetailProductTemplateExtender - These classes extends the User and Product templates tags with relevant LS information like stock status for a product and user birthday/gender.
- LsRetailLoginProvider.cs – This class is used for the user logging in to DW frontend by authorization from LS service.
- LSRetailRecipientProvider.cs – represents special recipient provider that can be used in the Email marketing to send emails for LS customers imported to DW based on different conditions selected in its settings
- OrderHandler.cs – handles order calculation and creation in the LS service.
The NotificationSubscribers folder contains classes that are used at subscribing to DW events.
- Download the source code
- Make the changes needed in the relevant files
- Build the project
- Copy the LSRetailIntegration.dll into the bin-folder of your solution
- Your changes should now be available
Download the source code here: