This is a demo site to showcase the power and functionality of the “MWI” plugin, for easy integration between your Magento store and your WordPress website.

Demo Versions: WordPress 3.8, Magento, Latest MWI

WordPress is installed underĀ “demo.mwi-plugin.com”, and Magento is installed under “demo.mwi-plugin.com/shop”. The two platforms must reside on the same host, but they could be in subfolders or subdomains – as long as they share the same server root.

This plugin is not meant to be used as a replacement for Magento, instead it will allow you to theme the two platforms more closely, and create a seamless user experience for your website users.

Below I have called a variety of the default blocks from Magento.

Example Code:

<?php the_block('top.links'); ?>

Language Switcher

Example Code:

<?php the_block('store_language'); ?>

Example Code:

<?php the_block('catalog.topnav'); ?>

Sidebar Cart

My Cart

You have no items in your shopping cart.

Example Code:

<?php the_block('cart_sidebar'); ?>


Example Code:

<?php the_block('top.search'); ?>


Example Code:

<?php the_block('newsletter'); ?>

Custom Block from local.xml

This is a custom block, defined in app/design/frontend/default/modern/layout/local.xml, within the Modern Magento theme. This block could display anything I wanted.

The local.xml file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
		<reference name="root">
			<block type="core/template" name="exampleBlock" as="exampleBlock" template="exampleBlock/exampleBlock.phtml"/>

Example Code:

<?php the_block('exampleBlock'); ?>