Hanesbrands’ ability to order materials, make and ship orders, and process payments was negatively impacted during its second quarter due to a ransomware attack on the company’s information technology systems that was identified on May 24. The company was unable to fill customer orders for about three weeks.