Originally written by Will Miller, last updated May 03, 2023, on the Swan Retail knowledge base (SRS).
Part of: Web Integration using the SRS API
Contents
Overview
Settings and configuration available within Swan itself for core SRS web integration.Once core configuration is complete, go to Web Integration using the SRS API: Item Setup part 1 for creating the fundamentals for items, then Web Integration using the SRS API: Item Setup part 2 to set up the items themselves.
Please refer to the implementations team for details or guidance on setup of elements external to Swan and specifics for your system.
System Setup
System wide configuration and establishing defaults.
Website Maintenance
See Website Maintenance & Web Control
Set up your website connection details with the url of the website. This is a fundamental for setting up website connectivity with SRS.
This should be done in conjunction with your project manager. If done incorrectly the website connection will not work.
Web Control
See Website Maintenance & Web Control
Web Factors
Control the percentage of stock per branch, department, section and subsection that is sent to the website.
This is also a great way of excluding stock from web as you can set 0 against the branch, department, section and subsection too.
Web Allocation
Controls the sequence of branches used to allocate stock to for web orders.
Branch Maintenance
All websites in SRS put their sales through a dedicated branch. Create a new branch in Branch Maintenance for use by the website.
|
Column Name / Field |
Details |
|---|---|
|
Branch type |
Set the branch to WEBSTORE. This can only be set when the branch is first created. |
|
Web click collect |
Tick if Click & Collect enabled items can be collected from the branch when there is sufficient stock. The customer will be able to see the free stock for Click & Collect items at all the Click & Collect enabled branches |
|
Web enabled |
Tick if you have multiple websites connected to SRS and this is a website currently being populated. It will allow items to be sent to the site in Item Maintenance and Item Import. |
|
Send Catalog to Web |
Catalog items will be sent to all websites by default, to stop them from going to the selected webstore, untick this checkbox. Useful if you’re running a business selling big ticket products which are not sold on every site. |
If you’re using SRS accounts, you may wish to consider a separate cost centre for web branches (via Cost Centre Maintenance) so you can separate their activity in the nominal ledger.
Salesman Maintenance
There must be a web specific sales person within the Salesman Maintenance.
This salesperson should only be used for the website sales.
Company Maintenance
The Company Maintenance enables overall web settings to be defined.
These settings can be overridden by other controls defined in Web Control.
|
Column Name / Field |
Details |
|---|---|
|
Default web salesman |
Define the code used by the webservice as the salesperson for orders generated via the web. |
|
Web stock type |
Deprecated from 7.2 → Set to Company Stock and control it using Web Control instead. Prior to 7.2 choose from Branch stock Web branch stock Company stock Branch stock including transfer quantity Web branch stock including transfer quantity Company stock including transfer quantity See Web Stock Type below |
|
Web stock factor |
This field defines the default percentage of the stock level that will be sent to the web and is adjusted further by Web Control → Web Factors. This guards against over-selling by only showing some of the free stock to the web. If factor is set to 100% and 1 item is in stock, that item could be in a customer’s basket in store and still available for sale the web. This could mean that it could be sold in store before the web order is processed, leading to the sale of an item which is not in stock. Setting it to less than 100% rounds the free stock level down to the nearest whole unit. |
Web Stock Type - Pre 7.2 ONLY
There are six possible settings for the Web Stock Type
|
Parameter |
Comments |
|---|---|
|
Branch stock |
Sends the stock level for a selected branch to the web excluding transfer quantities Using the stock example below if branches 1 were web enabled and the web partner requested details from that branch, 2 units will be sent to the web. |
|
Web branch stock |
This option only sends stocking levels for the specified Web branch. In the example below, if the web branch is 30, 5 units would be reported to the web. |
|
Company stock |
Sends the full company level stock figure excluding transfer quantities Using the stock example below 15 units will be sent to the web. |
|
Branch stock including transfer quantity |
Sends the stock level for a selected branch to the web including transfer quantities Using the stock example below if branches 1 were web enabled and the web partner requested details from that branch, 4 units will be sent to the web. |
|
Web branch stock including on transfer quantity |
This option only sends stocking levels for the specified Web branch. In the example below, if the web branch is 30, 5 units would be reported to the web. If the web branch was 5 then 8 units would be reported to the web. |
|
Company stock including on transfer quantity |
Sends the full company level stock figure to the web including transfer quantities Using the stock example below 17 units will be sent to the web. |
User Maintenance
A Web user is used by the interface for orders and other automated activity.
Within the User Maintenance create a web user.
Set the sales branch to the web branch, salesperson to web sales and ensure the user can create orders.
Set a complex password that's not known so users cannot login as the user.
Payment Types
It is important to ensure that any forms of payment used by the website are replicated within Swan.
The Payment Type Maintenance will list payment types for checking against those used on the web. Wherever possible codes and descriptions should match.
Typical web payment methods are Paypal and Sagepay.
It is possible to use a mapping if there are different names used between Swan and the Website.
The web can pull the available payment types from Swan once set up.
The Webpayment Type is used to map the payment type used on the web system.
The Default Web Payment is used to set the standard payment used on the web system in cases where the web does not send a payment type.
Parameter Maintenance
In order for Swan to successfully communicate with the website a number of application parameters require configuring. This is achieved via the Parameters Maintenance .
If the parameter name does not exist it can be created however ensure the name is correctly typed.
The example below shows the edit screen.
When setting parameters, the Value field should be used to hold the setting.
|
Parameter |
Comments |
||||||
|---|---|---|---|---|---|---|---|
|
external_image_root |
To enable Swan to hold images of stock it will be necessary to create an image folder on your server. For hosted sites Swan will create this and advise of the path to this folder. This is typically I:\<Customer>\Live (where <Customer> represents the name of the retailer on the hosting server) The images folder must be within the FTP folder shared with the web and must have a shared folder path that is accessible by the Swan client. It is important to ensure the folder has the correct access privileges to allow the both Swan and the website to read and write to the folder. |
||||||
|
web_path |
The value for this parameter should be set to a folder whereby the system will share order data. For hosted customers this is typically D:\Web\<Customer>\Live\WebOrders |
||||||
|
sop_default_sundry |
Set to the account type code as set up in Account Type Maintenance normally the sundry account code 1. |
||||||
|
so_carriage_item |
Set to the Stock Item code for the default delivery charge item. Only used by the web if there is not an item assigned to the delivery methods. |
||||||
|
web_interface |
Set to Zone1 (for any modern integration using the web services) |
||||||
|
port_number_live |
Set to the port number that the webservice will be connecting in to Swan live on. |
||||||
|
port_number_test |
Set to the port number that the webservice will be connection in to Swan test on (not required if there is no test integration) |
||||||
|
Web_collect_branch |
Set to the default branch to use for Click&Collect orders. This is only used if the website does not send an instruction of which branch should be used for the Click&Collect |
||||||
|
web_stock_branch_lvl |
Define how the web-enabling of items should be managed Select from
|
||||||
|
web_service_url |
Set the web address for the api of the web provider so that Swan can retrieve orders and details from the web provider. Not used in cases of a file-based integration |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article