How to place the app in a particular form

The app automatically tries to find a cart form and add the calculator inside that form.

This is the optimal solution in most cases, but sometimes, the app does not appear in the desired form when there are several cart forms.

We can tell the widget which forms we want to use by adding the CSS class cbb-shipping-rates-cart-form to it, as in the following example:

    <form action="/cart" method="post" id="cartform" class="cbb-shipping-rates-cart-form" >
      <ul>
        {% for item in cart.items %}
        <li class="item product-{{ item.product.handle }}">
          <div class="image">
            ...
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us