// check if product got attribute before sql request