Cooking oils can be used for soap, but the quantities must be adjusted on a case by case basis and certain oils make a better soap than others.
There are different cooking oils, for example it can be canola oil, or palm oil, etc. I am sure the label must say something to enlighten this...