Set a large skillet or wok over the stove to medium-high heat and let it heat up. Once the pan is hot, add 2 tablespoons of oil, and 1 tablespoon butter (optional).
Add in ½ cup frozen vegetables, diced onions, and the whites of the green onion. Cook for about 2 minutes until the vegetables soften.
Next, add the minced garlic and cook it for 30 seconds.
Push aside the veggies, and add more oil to the pan. Then add the shrimp in and cook it for approximately 2 minutes until fully cooked, then stir fry it together with the veggies for a few seconds.
Push aside the vegetables and shrimp. Add a bit more oil to the pan, and add in the beaten egg. Let it cook for about 30 seconds until it is about 80% cooked.
Add the rice on top of the partially cooked eggs. Mix just the rice and the egg together and cook it together until the egg is fully cooked and the rice and eggs look dry (not mushy). This should take about 2 minutes. If there are still small chunks of rice, use the back of your spatula to break them up.
Mix the vegetables and shrimp back together with the rice and eggs, and pour the sauce and the greens of the green onion, and mix everything together until the sauce has evenly mixed with the rice.
Adjust the heat to high heat, add in the pineapple pieces, and stir fry for 1 minute.
Do a taste test. If you like it more salty, add more fish sauce or seasoning sauce.
Scoop the rice into the pineapple bowl. Top with 2 tablespoons crispy fried onions or shallots Your delicious Thai pineapple fried rice is ready to be served. Enjoy!