Another 15 people, including a number of children, were injured in the attack by several gunmen, officials said.
Meanwhile, in the east, a bombing at a funeral killed at least 24 people.
In the wake of the attacks, President Ashraf Ghani said he was ordering the resumption of offensive operations against the Taliban and other groups.
He accused the militants of ignoring repeated calls for a reduction in violence.