preparing for AJAX cart