This study addresses the limited attention given to product substitution in inventory models. Incorporating product substitution is crucial for determining reorder points, and safety stock, enabling businesses to optimize inventory levels, reduce costs, and maintain customer satisfaction. This study introduces an economic order quantity model tailored to an inflationary environment with shortages and one-way substitution between two deteriorating product types. Through comprehensive testing, this study evaluates the model under various substitution scenarios, including partial substitution. Findings highlight the significance of product substitution in inventory management, allowing businesses to optimize inventory levels, manage costs, and ensure customer satisfaction in dynamic environments with inflation and fluctuating product availability. This model provides the firm with the necessary information to determine the optimal ordering quantity of both products to optimize total benefit and enhance supply chain efficiency. The model demonstrates substantial cost advantages, with partial substitution resulting in an average cost reduction of approximately 9% compared to no substitution and about 45% compared to full substitution. Numerical experiments validate the applicability of the proposed model.