If the glass panels are the only issue, you may be able to replace them without replacing the frame. However, if the door or frame is damaged or in poor condition, you may need to replace the entire unit. Assess your current sliding glass door situation and take note of any irregularities or damage.