A method, controlled by a control module, for selecting a product from any position in a stack of products on an inclined sub-shelf for increasing the capacity of different product types in an automatic vending machine, the method comprising:
- actuating a positioning module to move a product picking module so that a first product picking member of the product picking module is positioned under a first product and aligned with a gap running from a lowest end to a highest end of the sub-shelf;
- raising the first product picking member through the gap of the sub-shelf for pushing the first product to overcome a product stop member, attached at the lower end of the sub-shelf, and topple from the stack onto a main body of the product picking module;
- facilitating the first product to load on the main body;
- lowering the first product picking member under the sub-shelf for allowing at least a second product in the stack to slide until it touches the product stop member;
- repeating previous actuating, raising, and facilitating steps for moving the at least second product from the stack to the main body while maintaining a relative order of the first product and the at least one second product;
- repositioning the product picking module;
- actuating means for unloading products to move a last loaded on the main body of the at least second product onto one of another sub-shelf, a dispenser module, and a discard module;
- repositioning the product picking module so that the first product picking member is positioned in front of a third product in the stack of the sub-shelf and above the product stop member, and aligned with the gap of the sub-shelf;
- actuating the means for unloading products to move all products from the main body to the stack of the sub-shelf by pushing the third product away from the product stop member;
- retracting the first product picking member for allowing all products on the stack to slide until the first product touches the product stop member;
- and
- updating a product log.