The decline phase of a high-tech product's life cycle often causes variations in production schedules due to over or under production. To address this challenge, we propose a production-inventory model that considers decreasing demand and prices during pandemics. Our model aims to optimize replenishment, dispatching, and backordering policies, ultimately maximizing total profit for high-tech industries. Our proposed solution procedure derives 2 optimal policies, taking into account the unique demands during the pandemics. We suggest adopting either a last-in-first-out (LIFO) or first-in-first-out (FIFO) backordering policy depending on whether profit or fairness is the primary concern. We have provided a numerical example and conducted a sensitivity analysis to demonstrate the practical application of the proposed model. By optimizing the replenishment, our model enables high-tech industries to maximize total profit, even in the face of declining demand and prices during the pandemics. Overall, our model represents a valuable tool for high-tech industries seeking to better manage production and inventory, and we believe it has the potential to increase product profitability during the declining phase of a product's life cycle.