List Alza.cz cart items
Automatically list Alza.cz cart items on alza.cz. List what is in the Alza.cz shopping cart of this browser: each line with its product id, name, quantity, unit price and line price in Czech crowns, plus the item count and the total to pay with taxes. Works as a guest, with no account: the cart lives in the browser. An empty cart returns no lines and a count of zero. Nothing is paid or ordered.
Inputs
None
Output
count requiredUnits in the cart.
lines requiredtotal requiredCart total in Czech crowns, taxes included. Null when the cart is empty.
FAQ
Add Alza.cz product to cart
Add an Alza.cz product to the shopping cart from its product page link, with an optional quantity, and return the cart as the site holds it afterwards: each line with its product id, name, quantity, unit price and line price in Czech crowns, plus the item count and total. Works as a guest, with no account: the cart lives in the browser, so lines already in it stay and are listed too. Nothing is paid or ordered. A product page that does not offer the add button (out of stock, sold in store only) fails with an error; a link that is not an Alza product page fails with an error.
Remove Alza.cz product from cart
Remove a product from the Alza.cz cart of this browser by its product id, whatever its quantity, and return what is left in the cart: each line with its product id, name, quantity, unit price and line price in Czech crowns, plus the item count and total. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure.
Search Alza.cz products
Search Alza.cz (Czech shop, prices in Czech crowns) for products by free text and return one page of results: each product with its id, code, name, link, price and whether it can be bought. Pass a page number to go further; the result says whether a next page exists. A search the site sends to a single category returns that category's products.
