mods to make function with spree 2-1-stable and limit unecessary api calls, optional subscriber ajax