Preheat your oven to 350°F (175°C) and grease your cake pans with butter or cooking spray.
If you haven’t made your marzipan yet, follow this easy marzipan recipe to whip up a fresh batch.
In a large mixing bowl, beat the unsalted butter and granulated sugar together until light and fluffy. This should take about 3-5 minutes.
Add the eggs, vanilla extract, and pineapple extract (if using) to the mixture. Beat until well combined.
In a separate bowl, whisk together the all-purpose flour, baking powder, and salt.
Gradually add the dry ingredients to the wet mixture, mixing just until combined. Be careful not to overmix.
Gently fold in the drained and chopped pineapple until evenly distributed throughout the batter.
Cut the homemade marzipan into small pieces and fold it into the batter. This will add delightful pockets of flavor throughout the cake.
Divide the batter evenly between the prepared cake pans and smooth the tops. Bake in the preheated oven for 25-30 minutes or until a toothpick inserted in the center comes out clean.
Once baked, remove the cakes from the oven and let them cool in the pans for about 10 minutes. Then, transfer them to a cooling rack to cool completely.
While the cakes are cooling, prepare the glaze by melting the dark chocolate and coconut oil together in a microwave or over a double boiler until smooth.
Once the cakes are completely cool, place one layer on a serving plate. Pour half of the chocolate glaze over the top, letting it drizzle down the sides. Add the second layer and repeat with the remaining glaze.
Slice the cake and serve it to your family and friends. Watch their eyes light up with delight as they enjoy this tropical treat!