"for the absolute advantage principle the example uses the idea that the worker produces 100wool and 150shoes but for the comparative principle it says it either produce 100wool or 150 shoe. "
I dont know the source, but it seems correct to me.
If you have absolute advantage, then u are more efficient in both the production of 100 wool and 150 shoes. Whereas in comparative advantage, there is an opportunity cost in which one you choose to produce. Your advantage over person B in wool may be higher than your advantage in shoes. Therefore you produce wool.