Reputation: 41
I'm just setting up my first BigCommerce store, and I'd like to know if I can use their API to add products to a shopper's cart and forward them to the checkout page programmatically?
The problem I'm trying to solve is creation of bundles of products in the store. I need to have each product in a bundle show up as a separate line item and sku on the order, but BigCommerce does not natively support this. The next best thing I can think of is to send the user to a specially crafted php page that will add the constituent parts to their cart, then forward them to the checkout page.
Am I barking up the wrong tree? Is there a simple way to do this that I've missed?
Upvotes: 3
Views: 2511
Reputation: 103
You can use the Cart api to - Create cart https://developer.bigcommerce.com/api/v3/cart.html#post-carts
and use the created cart id to
Then you can move the user to this url
Upvotes: 1