Often, we need to integrate other platforms (for example WordPress, phpBB, etc) with Magento. This usually begins with unifying the design and then synchronizing the user account. Towards the end if the cross-talk becomes too complicated, it would be easier to build some specific APIs to tackle this.
Here we are going to walk through a quick and neat way to extract the Magento header and footer, and the inject them into another platform, in the following steps:
- Create a blank Magento CMS page for the extraction
- Build Ajax code to retrieve the header and footer
- Update the HTML page