DeveloperAdd or update
Commerce Add To Cart on Hunchbank
Add a selected product to the cart using Shopify or WooCommerce cart APIs when available, with DOM fallback for owned demo/custom sites.
Hunchbank source site51 tools on this site
DeveloperAdd or update
Add a selected product to the cart using Shopify or WooCommerce cart APIs when available, with DOM fallback for owned demo/custom sites.
Add a selected product to the cart using Shopify or WooCommerce cart APIs when available, with DOM fallback for owned demo/custom sites. Use it on Hunchbank with an agent. It runs in the browser on the website and needs no package install.
Open the hunchbank.com website and ask your browser agent to use commerce_add_to_cartUse the commerce_add_to_cart tool on hunchbank.com with product_id: <string>, variant_id: <string>, product_name: <string>, quantity: <number>. Return the structured result and cite the source page.product_id string Product ID returned by commerce_search_products.variant_id string Optional variant ID.product_name string Product name if product_id is not known.quantity number Quantity to add.Verify the live listing at the source before a production call. Fields marked as a starter contract may differ from what the site expects.