App Logo
dangdang.com

Add Dangdang product to cart

Automatically add Dangdang product to cart on dangdang.com. Add a product of the Dangdang Chinese store (dangdang.com) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart button does. Returns the cart as the site holds it afterwards, in the shape List Dangdang cart items gives, plus the product id, offer id (always null: Dangdang has one seller for each product), name and units added. Works as a guest, with no account: lines already in the cart stay. A product the site does not know, a product that is sold out, and an add the site refuses fail with an error that says so. Nothing is paid or ordered. Use a managed browser in China (country CN).

Inputs

product required

Product id from Search Dangdang products (for example 29996911), or a product page link.

quantity optional

How many units to add.

Default: 1

Output

name required
added required

Units this run added.

count required

Units in the cart.

lines required
total required

Items total in yuan, delivery not included.

offerId required
currency required
productId required

FAQ

Add a product of the Dangdang Chinese store (dangdang.com) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart button does. Returns the cart as the site holds it afterwards, in the shape List Dangdang cart items gives, plus the product id, offer id (always null: Dangdang has one seller for each product), name and units added. Works as a guest, with no account: lines already in the cart stay. A product the site does not know, a product that is sold out, and an add the site refuses fail with an error that says so. Nothing is paid or ordered. Use a managed browser in China (country CN).
Ask an AI agent connected to Reduck to run reduck/dangdang.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/dangdang.com/add_to_cart
You do not need one. "Add Dangdang product to cart" drives the real dangdang.com pages in a browser, so it works whether or not dangdang.com offers an API for this.
Required: product. Optional: quantity.
It returns name, added, count, lines, total, offerId, currency, productId.
No. It only uses pages of dangdang.com that are reachable without signing in.
It makes changes on dangdang.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/dangdang.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/dangdang.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking