I've installed boost on my drupal 7 site with commerce setup. Boost is working fine, but any pages with a form, such as an add to cart form. It will disable boost caching. I need a way to ajax load these form buttons after the page is loaded so boost doesnt cache the forms.

What methods are there to solve this solution?

1 Answer 1


I solve the solution by using the following module:


One issue I had to was getting these links to display in a Views output as this module turns the add to cart input fields into url links. There was no option in views to change this:

I did a work around to get this to work. Apparently you can just append the product id to the form of this link:


I'm not sure what the token is for, but you can just put anything in there and it will still add it to the cart. It works for anonymous, but when your logged in, the link will hit you to an access denied page. I had to do the following to get it to work for authenticated users by commenting out 3 lines in commercie_cart_link.module:

enter image description here I'm not sure what the token is for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.