Skip to main content
Biscuits Bundle Theme Requirements
Updated over a week ago

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.

  1. Button requirements

  2. Form requirements

Button Requirements

  1. A button within a <form> element OR with a button with a form="" 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

  1. 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>
Did this answer your question?