I have a small import script that will import product to Magento 1.
It works well but there is something not work.If a product attribute happen to be a select type attribute the value will not save. I can determine this cause through eav system and magento would like to have the option id and not text value.
But magento want:
Is a method in magento that will accept the text value and correctly set the option id in the background for me?