A carton for holding at least one article, the carton comprising: a plurality of panels that extends at least partially around an interior of the carton , the plurality of panels comprising a bottom panel , a front panel foldably connected to the bottom panel (31, a back panel foldably connected to the bottom panel , and a top panel foldably connected to at least one of the front panel and the back panel ; a plurality of end flaps each respectively foldably connected to a respective panel of the plurality of panels, the plurality of end flaps being for closing an end of the carton ; a dispenser comprising a dispenser panel that is pivotably connected to at least one panel of the plurality of panels, the dispenser panel being at least partially defined by a dispenser tear line and comprising a front portion comprising at least a portion of the front panel and a swing arm foldably connected to the front portion and comprising at least a portion of at least one end flap of the plurality of end flaps, the dispenser panel being moveable between a closed position and an open position allowing access to the interior of the carton ; the dispenser comprises locking features for engaging the front panel and locking the dispenser panel in the open position, the locking features comprise a notch in the swing arm and a retention portion in the front panel , the notch engaging the retention portion when the dispenser panel is in the open position, the locking features comprise a stop wall of the swing arm adjacent the notch and an opening in the end flap adjacent the swing arm , the stop wall is moveable in the opening when the dispenser panel is pivoted from the closed position to the open position, the opening is defined by a first edge , a second edge , a front wall , and the stop wall of the swing arm , the first edge and the second edge extend from the stop wall to the front wall and diverge so that the opening has a first width at the front wall that is greater than a second width at the stop wall . a plurality of panels that extends at least partially around an interior of the carton , the plurality of panels comprising a bottom panel , a front panel foldably connected to the bottom panel (31, a back panel foldably connected to the bottom panel , and a top panel foldably connected to at least one of the front panel and the back panel ; a plurality of end flaps each respectively foldably connected to a respective panel of the plurality of panels, the plurality of end flaps being for closing an end of the carton ; a dispenser comprising a dispenser panel that is pivotably connected to at least one panel of the plurality of panels, the dispenser panel being at least partially defined by a dispenser tear line and comprising a front portion comprising at least a portion of the front panel and a swing arm foldably connected to the front portion and comprising at least a portion of at least one end flap of the plurality of end flaps, the dispenser panel being moveable between a closed position and an open position allowing access to the interior of the carton ; the dispenser comprises locking features for engaging the front panel and locking the dispenser panel in the open position, the locking features comprise a notch in the swing arm and a retention portion in the front panel , the notch engaging the retention portion when the dispenser panel is in the open position, the locking features comprise a stop wall of the swing arm adjacent the notch and an opening in the end flap adjacent the swing arm , the stop wall is moveable in the opening when the dispenser panel is pivoted from the closed position to the open position, the opening is defined by a first edge , a second edge , a front wall , and the stop wall of the swing arm , the first edge and the second edge extend from the stop wall to the front wall and diverge so that the opening has a first width at the front wall that is greater than a second width at the stop wall . <EOS>