Biscuits Bundles relies on your themes default add to cart behaviour to successfully add your customers bundle selection to cart. Because of this your theme needs to meet the following criteria to be able to use Biscuits Bundles.
Button requirements
Form requirements
Button Requirements
A button within a
<form>
element OR with a button with aform=""
attribute
Button within a <form>
<form method="post" action="/cart/add" id="product-form-template--16334267121855__main" accept-charset="UTF-8" class="form" enctype="multipart/form-data" novalidate="novalidate" data-type="add-to-cart-form">
<input type="hidden" name="id" value="43414054666431" class="product-variant-id">
<button type="submit" name="add" class="product-form__submit button button--full-width button--secondary">Add to cart</button>
</form>
Button with a form=""
attribute
<form method="post" action="/cart/add" id="product-form-template--16334267121855__main" accept-charset="UTF-8" class="form" enctype="multipart/form-data" novalidate="novalidate" data-type="add-to-cart-form">
</form>
/* Somewhere else on the page */
<button type="submit" id="CartDrawer-Checkout" class="cart__checkout-button button" name="checkout" form="product-form-template--16334267121855__main" disabled=""></button>
Form Requirements
Form must have an input of
name="id"
equal to the bundle parent variant id
<form method="post" action="/cart/add" id="product-form-template--16334267121855__main" accept-charset="UTF-8" class="form" enctype="multipart/form-data" novalidate="novalidate" data-type="add-to-cart-form">
<input type="hidden" name="id" value="43414054666431" class="product-variant-id">
</form>