Thanx for your reply.
I put the ecart code within html because I had made a query within a query in order to show all the different product colours. Is there a workaround, maybe with ob_start? or javascript in order to load the cart page? The cart loads properly with all the selected products but it just won't load the cart page.