Ajax themes do not work well with file upload. Product Options Version 2.0 and higher have 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.
- Add a Tooltip to Product Options
- Change the Order of Options in Product Options
- Customize the Display in Product Options