Article Definition Basics

This guide is for the HTML integration of Smart Checkout. If you feel not confident with it, or before you start a new integration, please get in touch with our friendly help desk:Link

Using the HTML integration, the basket is managed automatically. You just need to define the articles.

Example with a checkbox:

<input type="checkbox"
data-sc-item-name="ACME ball pen Modern Line 8050"

These parameters are mandatory for each basket item:

  • data-sc-item-name: the article name;

  • data-sc-item-tax: the VAT rate in percent;

  • data-sc-item-price: the gross unit price in the smallest currency unit;

  • data-sc-item-quantity: the amount as integer.

The gross unit price is the price for one of it, including the value added tax (VAT).

Monetary amounts are expressed in the smallest currency unit (e. g. Euro Cent). The article in our example above has a gross unit price of €15.95.

These parameters are optional, and can be omitted:

  • data-sc-item-article-number: your article number, or storage keeping unit (SKU) number;

  • data-sc-item-ean: the official EAN (or GTIN) of this product.

This is the visual outcome, with two different articles: