List Alternate cart items
Automatically list Alternate cart items on alternate.de. List the shopping cart of this browser on Alternate Germany (alternate.de, the German store): each line with its product id (also its line id), name, quantity, unit price and line price in euros (VAT included), plus the item count, the items total (delivery not included) and the currency. Alternate sells every product itself, so offerId and seller are null. Works as a guest, with no account. A browser that never had a cart gives an empty cart.
Inputs
None
Output
count requiredUnits in the cart.
lines requiredtotal requiredTotal of the item lines in euros, VAT included, delivery not included.
currency requiredFAQ
Remove a product from the Alternate cart
Remove a product from the shopping cart of this browser on Alternate Germany (alternate.de, the German store), from its Alternate product id (Art.-Nr.) or product page link, whatever its quantity, as the cart page's delete button does. Returns removed and the cart after it: each line with its product id, name, quantity, unit price and line price in euros (VAT included), the item count, the items total and the currency. A product that is not in the cart gives removed false and the cart unchanged, not an error. Works as a guest, with no account.
Add a product to the Alternate cart
Add a product of Alternate Germany (alternate.de, the German store) to the shopping cart of this browser, from its Alternate product id (Art.-Nr.) or product page link, with a quantity, as the product page's add button does. Returns the product id and name, the units added, and the cart after the add: each line with its product id, name, quantity, unit price and line price in euros (VAT included), the item count, the items total and the currency. Alternate sells every product itself, so offerId and seller are null. Works as a guest, with no account: lines already in the cart stay. Nothing is ordered or paid. An unknown product, or a product page with no add button, fails with an error that says so.
Get Alternate product
Get one product of Alternate Germany (alternate.de, the German store) from its Alternate product id (Art.-Nr.) or product page link: name, brand, category, link, image, description, barcode number, manufacturer part number, price and currency (euros, VAT included), availability, condition, seller, average rating out of 5 and rating count, and whether the page offers an add to cart button. An id that is not an Alternate product fails with an error that says so.
