"Simple" Theme (Shopify)

The "Simple" theme is not that simple.

When you click "Add to cart" this theme has an animation and then open a modal cart with the product details, which will break if you add a subscription item to the cart.

To solve this go to  jquery.theme.js.liquid line 261

and you have to add into the else statement in success this new line:
window.location.href = "/cart";

This function is in charge to add a new item from Form into the cart. So the final function should look like this:

Shopify.addItemFromForm = function(form, callback) {
      var params = {
        type: 'POST',
        url: '/cart/add.js',
        data: $(form).serialize(),
        dataType: 'json',
        success: function(line_item) { 
          if ((typeof callback) === 'function') {
            callback(line_item, form);
          }
          else {            
   			window.location.href = "/cart";
            Shopify.onItemAdded(line_item, form);
          }
        },
        error: function(XMLHttpRequest, textStatus) {
      error(XMLHttpRequest);
          Shopify.onError(XMLHttpRequest, textStatus);
        }
      };
      $.ajax(params);
  };

Still stuck? How can we help? Still stuck? How can we help?