Ajax themes do not work well with file upload. Product Options 2.0 and higher has a customization that allows you to have both file uploads and an Ajax cart. Follow these steps to add this functionality:
- Select Online Store.
- Select Actions.
- Select Edit code.
Under "Assets", select theme.js.
Search for addItemFromForm, it will look something like this:
ShopifyAPI.addItemFromForm(evt.target, itemAddedCallback, itemErrorCallback);
Change the part before .addItemFromForm to BOLD.helpers, it will look something like this:
BOLD.helpers.addItemFromForm(evt.target, itemAddedCallback, itemErrorCallback);
- Select Save.