Pre-heat oven to 350F/180C. Line an 8 inch/20 cm square pan with parchment paper or lightly grease or spray.
FOR THE SHORTBREAD BASE
In a medium bowl mix together with a pastry blender the flour, butter and sugar until it resembles coarse crumbs. Place the mixture in the prepared pan and gently pat down, bake for 15 minutes.
FOR THE TOPPING
Meanwhile in a medium bowl cream together the butter, sugar and egg, then fold in the well-drained pineapple and half the coconut, mix well then spread over the baked base, sprinkle the top with the remaining coconut, return to the oven and bake for another 25-30 minutes. Let cool completely before cutting. Enjoy!
Notes
For room temperature remove the egg from the fridge at least 1 hour before using.Bar cookies can be stored in their baking pan tightly covered with foil or they can be removed and kept in an air tight container, layered between parchment paper. Bar cookies removed from the pan should be stored in an airtight container. Separate bar cookies with waxed paper between layers. They should be stored in the fridge, and will keep for up to 4-5 days.If you wish to freeze the whole pan, then it is a good idea to line the pan with parchment paper so it is easier to remove. Be sure to cool the bar cookies completely before double wrapping in plastic wrap then foil. If freezing the sliced bars, then place in a freezer safe container between layers of parchment paper. Either way the bars will last up to 3 months in the freezer. Thaw at room temperature.