prevents checkout page loading when item is added