Web Integration using the SRS API: Item Setup part 1

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


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 before using this guide, then Web Integration using the SRS API: Item Setup part 2 to set up the items themselves.

Item Maintenance

The web_stock_branch_lvl parameter controls the way in which items are defined as ‘Web Enabled’.

The Item Maintenance tabs, Settings or Branch, are used to set an item to go to the web.

Web enabled flags can also be defined via the stock import spreadsheet.

Enabled for All Web Sites

Where web_stock_branch_lvl is set to N, control is set against the Stock Item (via Item Maintenance – Settings Tab). Ticking the Web enabled field instructs the system that the specific stock item can be used by the webservice.

Enable for Specific Web Sites

Where web_stock_branch_lvl is set to Y, control is set against the Stock Item (via Item Maintenance – Branch Tab). Ticking the Web enabled field instructs the system that the specific stock item can be used by the webservice for the specific branch.

When a Bespoke item is created from a Catalog item the Bespoke item does not inherit the web details from the Catalog item, in that a Bespoke item should not appear automatically on the web site.

However if that Bespoke item gets converted into a normal Unit item at a later stage, it will inherit the web settings or the original final Catalog item has.

Stock Hierarchy Maintenance

Be aware that control of behaviour for stock and allocations has been move to Web Control from 7.2 onward. Hierarchy Maintenance should not be use for this purpose from 7.2.

In Hierarchy Maintenance each department, section and subsection has a number of web related settings.

Column Name / Field

Details

Default web stock branch

DEPRECATED in 7.2 - Use Web Control program instead

Use of web stock branch

DEPRECATED in 7.2 - Use Web Control program instead

Send new items to web

Tick to have newly created stock items automatically sent to the web

Always allocate web stock

On the Department level only If checked then for web orders stock will always be allocated against unit stock items regardless of the free stock level. Otherwise they will be back ordered..

Web enabled

The default control setting used for Stock items linked to this department / section or subsection.

Allocation Behaviour & Delivery Branch Assignment - From 7.2

Web control defines the allocation sequence used. The delivery branch is either set to the branch with the greatest number of order lines available or set by the delivery method.

Legacy Allocation Behaviour & the Sales Order Delivery Branch - Pre 7.2 Only

By Default, the web orders will auto-allocate to goods in the Web Stock Branch defined against the Webstore that has taken the sale if this is different from the delivery branch then it will generate transfers to the correct delivery branch.

The delivery branch of the sales order will be the Delivery Branch of the webstore unless there has been a Stock branch set against the department, section or subsection of the first item on the order. In which case it will use that branch as the delivery branch.

The delivery branch will be changed automatically to other branches when the customer elects to Click & Collect.

Example: Stock normally taken from stockrooms in a branch for homewares sales, but garden furniture is set on the hierarchy to have the central warehouse as the Web Stock Branch and Use of Web Stock Branch is set to Stock. Sales coming back that have a Garden furniture item as the first item on the order will automatically have their delivery branch set to central warehouse to ease management.

Web Hierarchy Maintenance

The Web Hierarchy Maintenance can be used to set up the category menu structure for the website.

This is optional structure overrides the stock hierarchy for an item when pushed to the web and is typically used to set up the categories used on Mega Menus.

It does not have to replicate the structure built within the Hierarchy Maintenance .

Items can have at multiple end points of the web hierarchy which sets it apart from the primary stock hierarchy where items can only appear in one department, section and subsection.

Web hierarchy can also have more levels than the stock hierarchy.

In the example below taken from the Item Maintenance – Web Hierarchy tab two web hierarchy end points have been specified.

Web hierarchies can be manually set within the Item Maintenance or imported via Item Import using the WebHierarchy X column (where X is a number the range 1 to 10)

If web hierarchy isn’t configured or a stock item isn’t configured with a web hierarchy, it will appear on the website under the standard stock hierarchy. To prevent this, ensure all items are included in the web hierarchy before web enabling them.

Setup on the CMS: Elements of the hierarchy (whether that be from Web Hierarchy or Stock Hierarchy) are referred to as Categories and can have their own imagery added and display products in different ways.

Clearance Products

If the website is to classify clearance products separately and the clearance identifier is to be controlled by Swan, it will be setting against the stock item. It is therefore important to remember to change any web hierarchy settings when marking a stock item down / making it a clearance item. It is also important to remember that it is not possible to have clearance stock and prime stock on the same stock item code.

Where desired clearance can be managed manually without linking to Swan. This will require a sales order amendment to add the correct item code when a clearance item is sold via the web.

Web Collections Maintenance

If products are to be grouped differently on the web to how they are collated within Swan the Web Collections Maintenance should be used. For example: Bathroom Collection could include towels, bathroom furniture and storage baskets all of which are in different groups within Swan.

Collections allow the web site to easily show the customer a group of products that may not reside under the same web category in the web hierarchy.

This can be used to generate web specific collections or groups.

Items can be in multiple collections.

In the example below taken from the Item Maintenance – Collections tab the stock item has been associated with multiple collections.

Collections can be manually set within the Item Maintenance or imported via Item Import using the Collection X column (where X is a number the range 1 to 10)

Be aware that items not in a collection may not display to the customer if the website category on the CMS is set up to display collections pages only.

Setup on the CMS: Assign collection descriptions and imagery on the CMS.

Attribute Group Maintenance

Attributes are used for multiple areas in Swan, on the web they correspond to the filters that customers can use to navigate.

All attributes are grouped together, which gives the title for the filter on the web.

It is possible to load attributes via the Attribute Import

The Attribute Group Maintenance is used to set up the headers.

Any attribute intended for use on the web should have the Attribute Type set to Web Stock.

Try to make the group code be as meaningful as possible to make it easier to find when amending it later.

Attribute Maintenance

Having generated the attribute header, the next step is to provide a list of attribute choices. This is achieved via the Attribute Maintenance .

Once the Attribute Group has been selected a list of codes will be presented whereby it is possible to Add, amend or Delete items from the list. To amend click in the description – apply the change and click the Save button.

Attribute detail codes are numeric only and only used internally within Swan and to import stock. It is suggested that numeric gaps are left between codes. This makes it easier to slot in new attributes later.

In the example below taken from the Item Maintenance – Attributes tab the stock item has been associated with multiple collections.

Attributes can be manually set within the Item Maintenance or imported via Item Import using the AttributeGroup X and AttributeCode X columns (where X is a number the range 1 to 10)

When these have been added to items they will appear on the web as filter options. For example: Adding to the Colours attribute group, for example, to show generic colours (red, green, blue, brown etc.) This would produce a smaller selection for the web browser to search. Rather than seeing a list of russet colours the operator could use the ‘red’ grouping.

Setup on the CMS: Some filters on the web may be set up using images for the filter instead of text.

Special Attributes

Specific Swan attributes used for values currently set up in Zone1

Attribute Group Name

Attribute Codes

Usage

microsite

Austins

category

subcategory1

subcategory2

subcategory3

Brand

live

N

overwrites default 'yes' status

allowbackorder

Y

overwrites default 'no'

Status

freeshipping

Y

overwrites default 'no'

Status

infoonly

Y | No Price

Overwrites default 'no'.

Displays the product without the ‘Add to Basket’ button.

familyvalues

Fishpools

disclaimer

Fishpools

warranty

Fishpools

Warrantyseats

Fishpools

Giftwrap

ns1:product_type

google product type

inroomview

(Breeze)

range1asattribute

range2asattribute

range3asattribute

Showrangeaslist

Y

Groupbycolour

prod_group

(group products using this name)

grp_*

(use these as variant options)

Brand Maintenance

The Brand Maintenance drives the brand category on the web by default.

Where brands are already in used it may not be possible to use this for web activities. If this is the case it is recommended that an attribute of brand is created in Attribute Group Maintenance and Attribute Maintenance.

Creating or amending a brand generates the following screen.

The Stock item’s brand is defined on the General Tab screen of the Item Maintenance and can be imported via Stock Import.

It is suggested that the brand code be structured so that it is easy to recall when using them for example the first 3 characters of the brand name followed by a numeric to allow for multiple similar descriptions.

Linked Item Maintenance

Linked Item Maintenance can be used to create ‘You May Also Like…’ (upsells) and ‘Related to this product’ (related items) associations between products.

A maximum of 2 linked items can be associated with each stock item. This is achieved by specifying linked item 1 and 2 via the General tab within the Item Maintenance

Alternatively linked items can be imported via Stock Import using the LinkedItemGroup1 and LinkedItemGroup2 columns.

Linked Item Group 1: Appears as upsells on Zone1 by default

Linked item Group 2: Appears as related items on Zone1 by default

Model Maintenance

Models are a new concept used to group together styles for display on the web.

It is primarily used for grouping together products where they are separated by a high level price affecting option, such as cover grade on sofas, which has meant that they need to be set up as separate catalog items for easy price and product maintenance.

Use Model Maintenance to set up a Model Code which will be displayed as the primary product code on the web and Model Description which will be used as the product page description.

Models have the additional benefit of another option application level

The model becomes a new product level when used and any items assigned to models will appear in a model product page on the web instead of a style or item product page.

A model can be associated with each stock item. This is achieved by specifying the model code via the General tab within the Item Maintenance

Alternatively linked items can be imported via Stock Import using the ModelCode column.

Delivery Method Maintenance

Use Delivery Methods Maintenance to establish the different types of delivery offered on the website.

Setup on the CMS: These methods will also need to be set up on the website along with the zones that they apply to. Postcode zoning can be used to change the charge applied per area per delivery type.

DHD can also be set as a delivery method on web but requires no additional setup in Swan. This will set the items for direct home delivery from supplier.

Web Availability Messages Maintenance

The Web Availability Messages Maintenance manages the in-stock and out-of-stock messages for use on the web.

The message type can be either Out of Stock or In Stock. These are then assigned to each item.

Reason Maintenance

The Reason Maintenance should be used to define any extra markdown reasons needed for the website.

These will also be visible in SOP to sales orders created in-store.

Any discount code that can be used on the web needs to be set up in Swan as a Reason Type to allow the discount to be posted to the ledgers correctly.

Setup on the CMS: All Discount codes should be set up on the web so it can be sent down with orders.

Any unknown discount code that comes from the web will prevent the web order from being imported into Swan.

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