Article Definition Basics

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

Example with a checkbox:

HTML
<input type="checkbox"
data-sc-item-name="ACME ball pen Modern Line 8050"
data-sc-item-article-number="ACM/BPMOD-8050"
data-sc-item-ean="4123456789012"
data-sc-item-price="1595"
data-sc-item-quantity="1"
data-sc-item-tax="19"
/>

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:

images/download/attachments/97374018/image2020-1-22_11-12-19.png