prepare product attributes