// write cookie on Cart::displayAjax()