The invention provides a commodity selling method and device, and relates to the technical field of intelligent shopping, and the method comprises the steps: determining the warehouse-out informationand association relation of shelving commodities according to the historical sales information of commodities, and determining the placement information of the shelving commodities on a shelf based onthe attributes of the commodities, the warehouse-out information, the association relation and the shelf information; controlling the shelf management system to adjust the shelf layout according to the placement information; and determining the replenishment quantity and the replenishment position of the shelving commodity according to the current residual commodity quantity of the shelving commodity, and controlling the commodity conveying system to place the replenishment commodity to the replenishment position. According to the commodity selling method and device, full-flow automatic operation of goods on the shelf can be realized, operations such as loading and unloading of goods, automatic determination of goods placement positions, full-automatic goods replenishment and the like canbe carried out, the goods loading and replenishment efficiency is improved, workers in shopping places can be reduced, the operation cost of supermarkets can be reduced, the customer experience is improved, and the sales volume can also be improved.