How to setup the Sandberg Guide
It is easy to add the Sandberg Guide to your own website. Here is a guide to the parameters you can use to customise the Sandberg Guide for your website.
Add the Sandberg Guide to your website
To use the Sandberg Guide on your own website, you can insert it in a <frame> , or a <iframe> depending on your current setup. For example, the code to insert the Sandberg Guide in a <iframe> could be:
<iframe src="http://www.sandberg.it/guide/" width="100%" height="700"></iframe>
The address to the Sandberg Guide is therefore http://www.sandberg.it/guide/ which can be inserted in the same way in a normal <frame>.
Return address
...?return_url=http://www.mysite.com/addSandbergOrder.aspx
When the Sandberg Guide finds a solution for the customer, you can allow the customer to add the products directly to the shopping basket on your website. To do this, you must specify a return_url , to which the Sandberg Guide can send the product codes.
The Sandberg Guide sends the list of product codes as aQueryString products to the address return_url in the following format, containing Sandberg's product codes in a comma-separated list:
http://www.mysite.com/addSandbergOrder.aspx?products=125-25,130-60,501-36
All you need to do is make sure that the return page is set up to retrieve QueryString products and insert the product codes.
Instead of http://www.mysite.com/addSandbergOrder.aspx the path is written to a script, which will be set up on your domains in order to load the product codes into the shopping basket.
Language setup
...?language=da
The Sandberg Guide supports a wide range of languages. If you wish, you can select the default starting language of the Sandberg Guide. If you do not set this parameter, the Sandberg Guide attempts to determine the language automatically from the user's browser settings.
| Language | Parameter | Example |
| Danish | da | ...?language=da |
| Finnish | fi | ...?language=fi |
| Swedish | sv | ...?language=sv |
| English | en | ...?language=en |
| German | de | ...?language=de |
| Spanish | es | ...?language=es |
| French | fr | ...?language=fr |
| Italian | it | ...?language=it |
| Dutch | nl | ...?language=nl |
| Norwegian | nb | ...?language=nb |
Layout settings
...?layout=black
To customise the Sandberg Guide so it matches the layout of your website, you can change the colour scheme. At present, the following colour schemes are supported:
| Color |
Parameter |
Example |
| Sandberg standard |
|
|
| Sandberg black/grey |
black |
...?layout=black |
| Sandberg blue |
blue |
...?layout=blue |
| Sandberg red |
red |
...?layout=red |
| Sandberg green |
green |
...?layout=green |
Example
Finally, we have created an example illustrating all the settings described above:
<iframe src="http://www.sandberg.it/guide/?language=da
&return_url=http://www.mysite.com/addSandbergOrder.aspx&layout=black"
width="100%" height="700"></iframe>
Legal notes
The Sandberg Guide can be implemented free of charge onto any third party website in order to promote the sale of Sandberg products. Any use of the Sandberg Guide in which its functionality is used to promote the sale of products in competition with Sandberg products will be considered misuse. Legal action will be taken immediately and the police informed.
Technical notes
The Sandberg Guide complies with the specifications for the W3C's XHTML 1.0 Transitional standard, and uses CSS2 style sheets for the layout. You are recommended to enable JavaScript in your browser, but this is not a requirement.