Assign material to Archipack window

I’m trying to assign material to archipack objects and i assigned easily to walls like any other object but when it come to the window it doesn’t get assigned