Remove from King Jouet cart
Automatically remove from King Jouet cart on king-jouet.com. Remove a product from the King Jouet cart of this browser, whatever its quantity, by its reference or product page link, and return the cart left: each line with its reference, name, quantity, unit price and line price, plus the item count and total in euros. A product that is not in the cart returns removed false and changes nothing. Works as a guest: the cart lives in the browser.
Inputs
product requiredKing Jouet product reference (ref in List King Jouet cart items, for example 1004781) or its product page link (.../ref-1004781-....htm).
Output
count requiredUnits left in the cart.
lines requiredtotal requiredCart total in euros, taxes included.
removed requiredFAQ
Get King Jouet product
Read one King Jouet product page from its link: reference, name, brand, price in euros, the availability the page declares, and whether the page offers a button to add it to the cart or to pre-order it. Use it to check one product before adding it with King Jouet add to cart. A link that is not a King Jouet product page fails with an error; a page without a price returns a null price.
List King Jouet products of a category page
List the products of one King Jouet category, brand or franchise page, in the order the site shows them: reference, name, product link, price, original price when on sale, rating, brand, franchise, whether it can be bought on the web site, whether it is under embargo, the labels the card shows (such as pre-order or new product), and the codes of the stores that hold it. Pass the link of the listing page as you see it on the site (for example the Pokemon trading cards page); pass page for the next pages. Returns the number of matching products and pages the site reports, and an empty list when the page shows no product. Use it on a schedule to spot new products and restocks, then add one with King Jouet add to cart.
Add King Jouet product to cart
Add a King Jouet 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 reference, quantity and prices, 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 web add button (out of stock, store pickup only) fails with the availability the page declares; a link that is not a King Jouet product page fails with an error.
