1and1 Help Centre Categories

print article

What is secure shopping basket integration?

Use secure shopping basket integration if you already have a website displaying
products and just want to add a basket function to it.

Step 1
Open eShop Administration. Click Items. From left navigation menu click
"Secure shopping basket integration"

Step 2
Enter a test item and click "calculate". The code for this item integration is
displayed. You can copy this code to integrate the shopping basket in your website.

Because a lot of programming is required, the secure shopping basket integration
is suitable for a small range of products with little or no changes.
Since the eShops session management cannot be used, the eShop needs cookies in
order to differentiate between various customers. The eShop's "Product Search"
feature cannot be used as the items are not recognized by the eShop.

Example 1: Basic item

A basic item consists of an item number (item_code), a name (title) and a price (price).

Item number: item01
title: test_item
price: 10.00

To include this item on your website to be ordered, insert the following HTML code:

<form action="http://s88227296.oneandoneshop.co.uk/action/order.php4" method="post">
<input type="hidden" name="article[title]" value="Security Penguin">
<input type="hidden" name="article[item_code]" value="sb001">
<input type="hidden" name="article[price]" value="25.99">
<input type="hidden" name="article[c]" value="c68e67cc2f2388a7571e8bba0432ed5">
<input type="submit" name="submit" value="order ...">
</form>
</form>
A unique check sum (article[c]) is created, which the cart then checks against
the compulsory fields that are transferred when an order is submitted.

Additional field names that can be included are:
Category (category): Item's product category.
Quantity (count): item quantity
Tax (vat): Tax rate
Hint (hint): Additional information on the item for e.g. "while stocks last"

Please check the eShop manual to get more examples of secure shopping basket integration.