This study deals with an economic order quantity model to find out the optimal selling price and optimal ordering quantity for the products which deteriorates over time. The demand for the products depends on available stock level and selling price of the products. The shortages are allowed, and it is assumed that the occurring shortages are partially backlogged. Depending on the rate of backlogging two models are presented in this study. The first model assumes a constant rate of backlogging, while in second model the backlogging rate is assumed to be dependent on waiting time. Numerical example and sensitivity analysis are presented to illustrate the results of the proposed model.