A method for automated loading of products from a warehouse onto a carrier in accordance with collecting orders each comprising products of different types, with a system comprising a warehouse for accommodating products in rack positions thereof, a collecting location, conveying means (5, 10) for conveying products from a rack position to the collecting location, loading means for loading a carrier at the collecting station and control means for controlling the conveying means (5, 10) and the loading means, comprising the steps of A determining by control means a desired spatial pattern in which the products are to be collected on a carrier by the loading means, the desired spatial pattern comprising products which are arranged beside and above one another, B determining by the control means a hypothetical loading sequence in which the products can be loaded onto the carrier by the loading means so as to obtain the desired spatial pattern, C dividing by the control means successive products within the hypothetical loading sequence into successive groups of products wherein at least one of said groups comprises products of different types, wherein the size of each group is limited such as not to allow that the addition to the group in question of the next product within the hypothetical loading sequence could mean that when the carrier is loaded in random order with products belonging to the group in question, including the next product, in accordance with the desired spatial pattern by the loading means, at least one product belonging to the group in question cannot be loaded onto the carrier by the loading means on account of the carrier having previously been loaded with the aforesaid next product, D controlling the conveying means (5, 15) with the control means to supply the successive groups from the warehouse to the collecting location, wherein the order of the products within the associated group upon arrival at the collecting location is random, and E controlling the loading means with the control means to load in an automated manner the product onto a carrier in the order of arrival of products at the collecting location by the loading means, thereby realising the desired spatial pattern. A determining by control means a desired spatial pattern in which the products are to be collected on a carrier by the loading means, the desired spatial pattern comprising products which are arranged beside and above one another, B determining by the control means a hypothetical loading sequence in which the products can be loaded onto the carrier by the loading means so as to obtain the desired spatial pattern, C dividing by the control means successive products within the hypothetical loading sequence into successive groups of products wherein at least one of said groups comprises products of different types, wherein the size of each group is limited such as not to allow that the addition to the group in question of the next product within the hypothetical loading sequence could mean that when the carrier is loaded in random order with products belonging to the group in question, including the next product, in accordance with the desired spatial pattern by the loading means, at least one product belonging to the group in question cannot be loaded onto the carrier by the loading means on account of the carrier having previously been loaded with the aforesaid next product, D controlling the conveying means (5, 15) with the control means to supply the successive groups from the warehouse to the collecting location, wherein the order of the products within the associated group upon arrival at the collecting location is random, and E controlling the loading means with the control means to load in an automated manner the product onto a carrier in the order of arrival of products at the collecting location by the loading means, thereby realising the desired spatial pattern.