Web Integration using the SRS API: Item Setup part 2

Created by Migration Bot, Modified on Fri, 23 Oct at 11:32 AM by Migration Bot

Originally written by Will Miller, last updated Jan 16, 2022, on the Swan Retail knowledge base (SRS).

Part of: Web Integration using the SRS API


SRS Version: 6.3

Contents

Overview

Items marked with a yellow background are mandatory fields.

This guide outlines the settings and configuration available within Swan itself.

Please refer to the implementations team for details or guidance on setup of elements external to Swan.

Web Integration using the SRS API: System Setup should have been done first and Web Integration using the SRS API: Item Setup part 1 before using this guide to set up the items themselves.

Item Maintenance

Although referenced several times in this document, this section brings all the web related controls together.

Import column headers tagged where not included in the full listing under Web Import Options

It is strongly recommended that a few items are configured for web operation within Swan when first establishing a website integration, then move to on-mass setup through stock import once the interface has been proven on the ‘test’ data. This approach can save lots of time trailing scenarios.

Be aware some aspects cannot be set up through stock import, these are all identified as such in this topic.

Item types

Items sent to web can be structured as individual product pages, or item pages with options.

The grouping options for a product page vary by product type:

Unit Items

No grouping modification required. Must be web-enabled and published.

Example: Set of kitchen scales only available in one colour.

Web Structure Illustrations

Products only

Homewares (Top level web hierarchy)

Kitchen (Second level web hierarchy)

Baking (Third level web hierarchy, set on the CMS to display products)

Kitchen Scales (Product page from the web enabled stock item | PRICE LEVEL)

Grouped by Collections

Collection page appears between last level of the stock hierarchy and the product page.

Homewares (Top level web hierarchy)

Kitchen (Second level web hierarchy)

Baking (Third level web hierarchy, set on the CMS to display collections)

The Great British Bake Off Collection (Collection page)

Kitchen Scales (Product page from the web enabled stock item | PRICE LEVEL)

Style Items

Items generated using the fashion setup methods have up to 3 ‘Range’ sets which can be carried to the web to use as drop lists or buttons. All web-enabled unit items created through styles. Only web enabled items in the style will be shown as options on the web.

Example: Cheshire Shirts available in a selection of sizes, colours and fits.

Web Structure Illustrations

Products only

Menswear (Top level web hierarchy)

Shirts (Second level web hierarchy

Formal (Third level web hierarchy)

Traditional (Fourth level web hierarchy, set on the CMS to display products)

Cheshire Formal Shirt (Product page from the style)

Small (Size Option drop list generated from Range1 on the style)

Navy (Colour Option drop list generated from Range2 on the style)

Slim (Style Option drop list generated from Range3 on the style)

Cheshire Formal Shirt Small Navy Slim (Final Product linking to Web enabled stock item code | PRICE LEVEL)

Grouped by Collections

Collection page appears between last level of the stock hierarchy and the product page.

Catalog Items with Options

Standard catalog items require option set to be assigned at Style or Stock Range level in Swan to pull through for selection on the web. All options will need to be maintained, including options that would normally be left as free-type for salespeople to enter.

Items with the import file column CatalogStyle set to Y

Example: Garden wood burner available in a variety of different colours (all at the same price)

Web Structure Illustrations

Products only

Garden (Top level web hierarchy)

Heating (Second level web hierarchy

Wood Burners (Third level web hierarchy)

Norfolk Wood Burner (Product page from the style/Catalog item | PRICE LEVEL)

Charcoal (Colour Option drop list generated from the Colour option set against the style)

Norfolk Wood Burner Charcoal (Final Product that will generate a bespoke item from the catalog when received into Swan)

Grouped by Collections

Collection page appears between last level of the stock hierarchy and the product page.

Multiple Catalog Items with Options

(Single product with multiple price points and options)

Use ‘Model’ to group together styles under a ‘Model Description’ as the main product page description. The ‘Web Description’ of all the web enabled items will be shown as the first option set to choose from. Option sets can then be assigned at Big Ticket Range Maintenance and Model Maintenance can then be used to assign the option sets that will appear for all of the items grouped under the model. Options added at style level will then only show for items of that selected style when it has been chosen from the first drop list on the site.

Example: Sofas available in different price-pointed fabric grades available with a choice of feet colour (option set at Stock Range Level) with each grade of fabric having a different selection of colours (option set at Style Level).

Web Structure Illustrations

Products only

Living Room (Top level web hierarchy)

Sofas (Second level web hierarchy

Corner Sofas (Third level web hierarchy)

Oxford Corner Sofa (Product page from the Model)

Fabric Grade B (Fabric grade drop list option from the web enabled styles/catalog items that are part of the Model. Description taken from the Web Description on the catalog item | PRICE LEVEL)

Crosshatch Cream (Colour Option drop list generated from the Colour option set against the style)

Oak Feet (Wooden feet option drop list generated from the Wooden Feet option set against the Big Ticket Range)

Oxford Corner Sofa Crosshatch Cream Oak Feet (Final Product that will generate a bespoke item from the catalog when received into Swan)

Grouped by Collections

Collection page appears between last level of the stock hierarchy and the product page.

Setup on CMS: Resorting of the style / catalog item buttons or drop list on the product page is controlled via CMS and not driven by Swan.

Multiple Simple Unit Items

(Single products without options, not part of the same style)

Unit items can be grouped by Model as well but will only display the ‘Web Description’ selection on the web. Fill in the ‘ModelCode’ field on stock import/export to add unit items to models. Option sets are not applicable and will not display on web. Can be used to replicate similar display to using the Fashion Range setup method for items that are already set up.

The ‘Web Description’ for each of the unit items should make clear what the point of difference is. If a given item is a different colour and size from others, then this should be part of the web description for that item.

Example: Leeds Wardrobe available in 1 finish but in various different price pointed sizes. All set up as unit items

Web Structure Illustrations

Products only

Bedroom (Top level web hierarchy)

Wardrobes (Second level web hierarchy

Leeds Wardrobe in Slate Black Gloss (Product page from the Model)

Double Door (Wardrobe size drop list option linking to the web enabled unit items that are part of the Model. Description taken from the Web Description on the unit item | PRICE LEVEL)

Leeds Wardrobe in Slate Black Gloss (Final Product linking to the web enabled stock item code)

Grouped by Collections

Collection page appears between last level of the stock hierarchy and the product page.

Setup on CMS: Resorting of the style / catalog item buttons or drop list on the product page is controlled via CMS and not driven by Swan.


Grouping by Model

Multiple Catalog items with options (Single product with multiple price points and options)

Use the Style Details button from Item Maintenance to load a catalog item into Style Maintenance access the Model field.

The model is maintained within the Model Maintenance .

Big Ticket Range > Model > Style > Item structure of Swan is like a hierarchy. Adding the style to the model effectively links all items to that style therefore they appear on the product page if they are web enabled.

Multiple Simple Unit items

(Single products without options, not part of the same style)

To group the simple unit items together, they are added to a model via Stock Import by inserting the ModelCode column into the stock import spreadsheet.

Creating Options Sets

Big Ticket Options Maintenance is used to create the options

Recommendation: Website images do not normally need to be larger than 300x300 pixels as this is sufficient for swatch gallery lists and will keep the file size to a minimum while maintaining image quality

Assigning Options

Options apply to Catalog Items with Options and Multiple Catalog Items with Options and appear at three levels in Swan.

Options are set in the options tab and cannot be imported.

Big Ticket Range Maintenance (Formally Stock Range Maintenance)

Often used to group together items with the same fabric grade applied. Interchangeable with Model as the top level of option assignment.

Model Maintenance

Models can be part of a big ticket range and therefore inherit options. Model is often used as the product page designation for the web and is interchangeable with the big ticket range as the top level of option assignment dependant on the product.

Style Maintenance

Styles can be part of a model and a big ticket range and inherit options from both levels

Example: A range of sofas may have Feet options on all items in the range, Bolster cushion choices on just the 3 seater and Colour options on each fabric range. In this situation, the Feet choices can be set at Big Ticket Range level (as they apply to all items in the range), Bolster choices at the model level (as all the 3 seaters in the range have the option) and Colour options at the style level (as colours are applicable to fabric range selected which is set as the style).

General Tab

The screen examples below show fields pertinent to web operation. Highlighted fields are used to identify the item on the web.

Field Name

Details

Stock Import Column

Description

The main descriptions used on the web.

There is no ‘web’ description on the Web Tab.

Description

Sub description

The sub or extended description used by the web

SubDescription

Brand

If empty, select the in-store brand from the pick list to use as the consume brand

This is only applicable to web where de-branding is not being used in the business. If de-branding is in use, set the consumer brand on the Attributes tab.

BrandCode

Linked item group 1

Used to ‘upsell’ items.

Set to the appropriate item from the pick list

LinkedItemGroup1

Linked item group 2

Use for upselling on the web

LinkedItemGroup2

Settings Tab

Highlighted fields in this page control if the item is to be visible to the web.

Field Name

Details

Stock Import Column

Publish to web

Tick when the item is ready to be sent to the web.

This will default if set on the stock hierarchy.

SentToWeb

Web Enabled

Tick when the item has had details prepared for web. This is the primary field for controlling whether an item is on the website.

WebEnabled

Branch Tab

Highlighted fields in this tab enable branch control visibility to the web.

Field Name

Details

Stock Import Column

Web Enabled

This setting is branch specific.

Tick to enable item at the web store for sale and at other branches for stock.

It is only relevant to enable branches other than the web store when Web Branch Stock has been set to Branch Stock on Company Maintenance.

WebEnabled B

B represents the branch code

Images Tab

Also available via the Style Maintenance – Images tab

Highlighted fields are used to identify the image and its use on the web.

Field Name

Details

Stock Import Column

Description

Image description

ImageDescription X

Type

Image category

Choose from

Small

Large

Other

Thumbnail

Image

Style

ImageCategoryType X

Image path

URL to the image

This is obtained automatically when the image is added to the stock item.

ImagePath X

X represents a number in the range 1 to 10 inclusive.

All stock images are stored outside of Swan with a file path pointing to them.

Multiple images can be added by repeated use of Add button.

The Type is for notation and quick reference when looking at the listing of images against the item.

Once saved, the image is uploaded, imported into Swan and a file path is shown to the image on the server.

Thumbnails and resizing of the image is done automatically to fit on the web, but file sizes should ideally be kept low to minimise upload time and maximise load speeds for customers on the web site.

The image will be sent to the web as-is, so do any formatting before importing the image into Swan.

Recommendation: Website images do not normally need to be larger than an average screen resolution. Typically 1500x1500 pixels is sufficient and will keep the filesize to a minimum while maintaining image quality

Attributes Tab

Highlighted fields may be used as additional classifications and grouping within the web.

Each stock item can have multiple attributes

Field Name

Details

Stock Import Column

Attribute group

Attributes can be from those set up specifically for customers to filter the web products or can be form the Special Attributes which change the way the web interacts with the item

AttributeGroup X

Attribute

Choose the attribute within the group

AttributeCode X

X represents a number in the range 1 to 15 inclusive.

Example: A Tempur headboard (set up as a catalog item) is not stocked, but available in 10 colours, 4 are shades of brown, 2 are shades of grey, 2 reds and 2 blues. Set the brand attribute so it will appear under the brand page, then 4 different Colour attributes against the item so it will show when the customer selects any of the four on the web filters.

Web Tab

The highlighted fields on this tab are used for web messaging.

Field Name

Details

Stock Import Column

In stock message

Specify a message to be used by the web when this stock item is in stock from the pick list.

InStockMessage

Out of stock message

Specify a message to be used by the web when this stock item is out of stock from the pick list.

OutStockMessage

Send to web

This field is no longer used

n/a

Click and collect

Tick to indicate this item can be sold on the website to be collected in store.

The website will only see branches where click and collect has been enabled.

ClickAndCollect

The CMS will automatically produce an availability message based on the stock message and ordering options. If it is available to order, then the message for an item without stock with a lead time in Swan of 14 days will default to: Available (Allow 2 weeks for delivery)

Web Hierarchy Tab

This tab enables the web site to have a different search structure to Swan.

Field Name

Details

Stock Import Column

Web hierarchy

Use the left hand column to find the point the stock item is to be linked with. Select the Add button to replicate in the right column. (Remove having selected an item in the right deletes the item from the chosen list)

It is possible to have more than one web hierarchy per stock item.

In the tree listing the

image indicates there more choices below. The

indicates then end of the choice list. To add or remove a choice the

item must be highlighted.

WebHierarchy X

X represents a number in the range 1 to 10 inclusive.

Specifications Tab

The specification tab enables additional / extended information to be made available to a website.

It is possible to have a number of specifications linked to a single stock item.

Field Name

Details

Stock Import Column

Specification

Choose a specification linked to the stock item from the list available

(Specifications set up in Product Specification Maintenance – not detailed in this document)

Description

Specification X

Primary specification – title

This field can be used by the web or they can all be duplicated in CMS.

ProductSpecificationTitle

Primary detail

If Text is set as the Primary Detail Type, then type the full specification as it is to appear on the web.

If URL is set as the Primary Detail Type, then

This field can contain HTML useful for formatting for the web.

ProductSpecification

Primary detail type

Choose from

URL

Text

SpecificationTextOrUrl

X represents a number in the range 1 to 10 inclusive.

An example of formatted text is shown below

Description (as shown to the customer)

Primary Specification (as set up in Swan)

A stylish luxury real leather 3 seater sofa (manual recliner) available in a wide range of leather colours.

Item shown in Cat 60 tan leather. Swatches available on request
click on icon below.

Colour reproduction on screen may vary. Please request a swatch before ordering to avoid disappointment!

<p>A stylish luxury real leather 3 seater sofa (manual recliner) available in a wide range of leather colours. </p>

<p><b>Item shown in Cat 60 tan leather. Swatches available on request </br> click on icon below.</b></p>

<p><em> Colour reproduction on screen may vary. Please request a swatch before ordering to avoid disappointment! </em></p>

<p><a title="Request a Swatch" href="/forms/80-request-a-swatch"><img src="/userfiles/image/request_swatch.png" alt="" height="53" width="144"></a></p>

Please refer to internet resources such as http://www.w3schools.com/ for more information on writing HTML code.

Collections Tab

The highlighted fields enable the web to show groups of ‘like’ products as a collection.

The stock item can belong to move than one collection.

Field Name

Details

Stock Import Column

Collection code

Choose a collection group from the list

Collections are maintained via Web Collection Maintenance.

Collection X

X represents a number in the range 1 to 10 inclusive.

Setup on the CMS: The category pages on the web will need to be set to show collections. Any items in a collection will cause the whole of that collection to be shown even if they are not in that part of the web hierarchy.

Delivery Methods Tab

The highlighted fields enable the web to identify how the item can be ‘delivered’ to the customer.

The stock item can belong to move than one delivery method.

Field Name

Details

Stock Import Column

Delivery method code

Choose a delivery method from the list

Collections are maintained via Delivery Method Maintenance.

DeliveryMethod X

X represents a number in the range 1 to 10 inclusive.

Setup on the CMS: Remember that the CMS controls the zoning and charges that are made for deliveries.

Controlling Web Enabled flags

If the web_stock_branch_level parameter is set to N, then all of web-enabled items will manage by using the web-enabled tick box on the Settings tab of Item Maintenance. Otherwise, items will be managed by branch on the Branch tab of Item Maintenance.

The flags are inherited from Branch Maintenance for the Branch tab, inherited from Stock Hierarchy Maintenance for the main flags on Settings tab.

Use the Remove Item from Web button in Item Maintenance or simply un-tick Web Enabled on the settings tab.

Web Item Import

All the available fields for importing are outlined in the main Swan User Guide under the topic: Stock Item Format. Outlined here are the web specific fields and how to complete them.

Column Heading

Description

Example

ItemCode

Stock item code. Blank to import a new item.

9001122334

ModelCode

Model code if using models for product page grouping.

FUR101

WebEnabled

Default set to that on the stock hierarchy. Only used if system set to use item level web-enabled (web_stock_branch_level = N in parameters maint)

Choose from Y or N

Y

Recommended

Tells the website to show as a Recommended product.

Choose from Y or N

N

HomePage

Shows in the homepage product display if used.

Choose from Y or N

Y

CubicMetres

Up to 4 decimal places

9.6

Condition

Choose from

NEW (default)

USED

REFURBISHED

NEW

Weight

In Grams (as a whole number)

39950

SearchTags

Common misspells, other search terms used for the product

Soofa, Seatee, couch, coach

SeoCode1

Search Engine Optimisation codes (refer to web vendor for advice)

SeoCode2

Search Engine Optimisation codes

SeoCode3

Search Engine Optimisation codes

ProductSpecification

Free format text up to 2GB of characters. Include text inside double quotes and check 'Preserve Control Chars' to preserve line breaks.

“<p>A stylish luxury real leather 3 seater sofa (manual recliner) available in a wide range of leather colours. </p>

<p><b>Item shown in Cat 60 tan leather. Swatches available on request </br> click on icon below.</b></p>

<p><em> Colour reproduction on screen may vary. Please request a swatch before ordering to avoid disappointment! </em></p>

<p><a title="Request a Swatch" href="/forms/80-request-a-swatch"><img src="/userfiles/image/request_swatch.png" alt="" height="53" width="144"></a></p>”

ProductSpecificationTitle

Title for spec if used

Description & Features

SpecificationTextOrUrl

Choose from T or U

T

InStockMessage

Code for the in stock message to be used

101

OutStockMessage

Code for the out of stock message to be used

102

ClickAndCollect

Choose from Y or N

N

ExcludeFromSearch

Choose from Y or N

N

SendRrspToWeb

Choose from Y or N

N

WebDescription

Atlantic 3 seater sofa

PublishToWeb

Choose from Y or N

Y

HeightCentimeters

Height, up to 99999.99

132

WidthCentimeters

Width, up to 99999.99

236

LengthCentimeters

Length, up to 99999.99

93

Repeated web fields

Column Heading

Description

Example

AttributeGroup N

Attribute group code (N range 1 > no limit)

COLOUR

AttributeCode N

Attribute code (N range 1 > no limit)

3

Specification N

Secondary Specification code (N range 1 – 10)

10

Collection N

Collection code (N range 1 > no limit)

ATL100

DeliveryMethod N

Delivery Code (N range 1 – 10)

1

WebHierarchy N

Web Hierarchy (N range 1 – 10)

Living Room/Sofas/Traditional

WebEnabled B

Branch Web Enabled. b as branch number

Choose from Y or N

Y

Replace the N with a number in the range specified in bold for each item.

Replace the B with the branch number

Imagery

Column Heading

Description

Example

ImageDescription N

Description. (N range 1 – 10)

Atlantic 3 seater sofa

ImageCategoryType N

Image Category: (N range 1 – 10)

Choose from

SMALL

LARGE

OTHER

THUMBNAIL

IMAGE

STYLE

LARGE

ImagePath N

Location of image, including full path (N range 1 – 10)

\\tsclient\C\Images\Sofa.jpg

Replace the N with a number in the range specified in bold for each item.

Replace the B with the branch number

Attributes

Attributes must be imported with the group and code to assign correctly.

When importing any attributes all the attributes choices for the attribute group must be included in the import. Omitting an attribute will remove it from the item.

Stock Images

On export the image path will be the existing external image, e.g. C:\Images\\201385\53.jpg”.

To import a new image, the image path will be the path to the location of the new image, e.g. "C:\images\Clearance.jpg" or "\\tsclient\c\temp\Halo Armchair.png".

The image path needs to be accessible on the server otherwise the system will produce an error "Error - Image file ... is not valid".

Swan will import new images even though it is unable to display them. The image path name should not contain spaces and should be either jpg, gif or png.

Web Import Options

Up to 10 of each Specification, Collection, DeliveryMethod and WebHierarchy can be imported

When importing any of the import options detailed above it is important that all permutations of the import are included in the import. Any items held in the database will be removed if not present in the load file. For example, if importing Specifications, all specifications need to be in the file not just those that have changed.

Delivery Charges

When creating a sales order in Zone1 if there is a delivery charge the order is created in the back office with a delivery charge attached.

If there is no delivery charge indicator sent with the Zone1 order Swan does not create an order line for the delivery hence a free of charge delivery order.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article