32
©2014 Eric Landmann, Earthling Interactive, Madison, WI Integrating WordPress and Magento By Eric Landmann Sr. Project Manager / Lead Developer Earthling Interactive Madison, WI USA

Integrating magento and word press

Embed Size (px)

Citation preview

Page 1: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Integrating WordPress and Magento

By Eric Landmann Sr. Project Manager / Lead Developer

Earthling Interactive   Madison, WI USA

Page 2: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

About Earthling

Total Staff: 25+ Avg Experience: 7.5 years # Staff > 8 years Experience: 10+ # Staff > 5 years with Earthling: 8 Well-Rounded

Developers/Computer Scientists, DBAs, UI Designers, Business Analysts, Statistics

Current Clients From Small to Enterprise, local to international Have built over 30 Magento sites (EE & CE)

Page 3: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

How to build an integrated site?

Page 4: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

– Is there an existing Magento instance? – Is there an existing WordPress instance? – What are the design requirements and desired templates? – How to handle forms and search? – How are menus built? – How upgradeable will it be? – How maintainable? – How are Magento’s CMS pages handled? – How many blog/content pages/posts are there? – What is the frequency of content modification? – Is there any SEO value to existing structure?

Architecture Considerations

Page 5: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Architecture Considerations

– How should the URL be structured (subdomain/filepath/none)? Subdomain blog.mysite.com / store.mysite.com Filepath www.mysite.com / www.mysite.com/store Or remove “blog” or “wp” from the URL www.mysite.com

– What are the available modules to integrate    Magento and WordPress?

Page 6: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Architecture Considerations

What is the site focus? Need to determine if the site is

Wordpress-centric or Magento-centric

  Wordpress-Centric    A complex marketing site that happens to have products

  Magento-Centric      An ecommerce site that has some supporting content

Page 7: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Architecture Considerations

WordPress-Centric   Complex, blog-like or marketing copy page designs   Multiple WordPress plugins with unique functionality   Some product integration   Uses WordPress theme(s)

Approach: Emphasis is on using WordPress templates with plugins that pull in Magento product data

Page 8: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Architecture Considerations

Magento-Centric   Ecommerce style page design   Few WordPress plugins, but common ones (contact form,

Facebook, gallery)   Lots of Magento extensions and functionality   Relatively less blog/marketing pages to handle   Use Magento themes

Approach: Use Magento themes with extensions that integrate WordPress content

Page 9: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Architecture Considerations

And now for something completely different…

  Homebrew Use some other exotic method (custom)

  Or just do the blog inside of Magento AheadWorks Blog Professional MagePleasure Blog Pro

Page 10: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

WordPress-Centric Approach

Most pages are WordPress pages with Magento product information pulled into WordPress WordPress Plugins to Pull in Magento Data

  Kemp Magento WordPress Integration   Wordgento (no longer maintained)   Feraro Mage Enabler (no longer maintained)

Page 11: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Magento-Centric Approach

WordPress Integration Extensions

Fishpig – WordPress Integration

  Sonassi – Wordpress Integration

plus a few others … see the references

Page 12: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Feature Matrix Feature Sonassi Fishpig Uses your Magento theme for your WP blog X X 1-Click login to your WordPress Admin from your Magento Admin X X

Associate WordPress posts with Magento products

manual using shortcode

automatic through Magento admin

Use WordPress plug-ins Some Some Magento search also searches WordPress content X 1

Display Magento's blocks in WordPress posts X Use WordPress menus in Magento X Supports custom templates for posts/pages X WordPress shortcodes can be used in Magento X X Multi-language blog supported X Both Magento admin and WordPress admin function independently X X

Page 13: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Feature Matrix Feature Sonassi Fishpig Magento customers have their profiles directly linked to WordPress X X

Magento layout block calls can be used within WordPress posts and pages (e.g. {{block type=""}}

X

WordPress Upgradeability Manual upgrade, some core

files modified

No core mods, automatic WordPress

upgrade works WordPress plugins supported "almost any" Some free,

some paid Cost

£150 Free + puchased

modules 1 With additional module

Page 14: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Features Matrix Fishpig Add-Ons and Compatibility

Root (£49.99) Custom Post Types (£49.99) Advanced Custom Fields (£49.99) Customer Synchronization (£49.99) Integrated Search (£49.99) Facebook (£49.99) Contact Form 7 (£49.99) WordPress SEO AddThis YARPP Google XML Sitemaps Lightbox Gallery

Page 15: Integrating magento and word press

Our Example Site

Page 16: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Design Requirements

  Use one template for both Magento and WordPress   Template can be simple (not complicated content)   Responsive design   Few WordPress plugins   Not much content to be managed   Menu structure to be hand-modified   Use Magento template’s home page   Need complicated forms integrated with Magento   Wordpress posts should show on category page   Associated products should show on content pages   URL structure should not display “blog” or “store”   Wanted commercial support (if needed)

Conclusion: Use Magento-Centric Approach with Fishpig Extension

Page 17: Integrating magento and word press

Typical Category Page

Page 18: Integrating magento and word press

Typical Product Page

Page 19: Integrating magento and word press

Magento category page showing associated WordPress posts

Page 20: Integrating magento and word press

WordPress post page showing products in an associated Magento category

Page 21: Integrating magento and word press

Example forms page created with MageMe Webforms for Magento

Page 22: Integrating magento and word press

Sonassi’s method of calling a Magento category listing

Page 23: Integrating magento and word press

Sonassi configurations

Page 24: Integrating magento and word press

WordPress post showing categories that will be used to relate to Magento content

Page 25: Integrating magento and word press

FighPig-provided “Associated Blog Posts” tab is where you can connect WordPress posts to a Magento category

Page 26: Integrating magento and word press

FighPig-provided “Associated Blog Categories” tab is where you can relate a Magento category to a WordPress category

Page 27: Integrating magento and word press

Defining a top nav in WordPress (stock functionality). Requirements are that the top nav be fully controllable by the admin so we are building it in WordPress

Page 28: Integrating magento and word press

Fishpig configuration settings

Page 29: Integrating magento and word press

Fishpig configuration settings

Page 30: Integrating magento and word press

Fishpig configuration settings

This is where we append the WordPress menu to Magento’s top nav. If Magento’s category navigation display is set to no, then no categories will display and this menu takes its place

Page 31: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

References

Example Client Site – http://www.clgenetics.com/

Fishpig Extension – http://fishpig.co.uk/magento/wordpress-integration/

Sonassi Wordpress Integration – https://www.sonassi.com/knowledge-base/magento-kb/magento-wordpress-deluxe-extension/

Mage WordPress Integrated Search – https://www.smackcoders.com/store/magento-wordpress-integrated-search-extension.html

Kemp Magento WordPress Integration – https://bitbucket.org/jamesckemp/mwi-magento-wordpress-integration/src

Wordgento – https://wordpress.org/plugins/tristar-wordgento/

MageMe Web Forms Pro – http://mageme.com/

Gravity Forms – http://www.gravityforms.com/

AheadWorks Blog Professional – http://ecommerce.aheadworks.com/magento-extensions/blog-professional-and-enterprise-editions.html

StackExchange Discussion – http://bit.ly/1ALAShD

Page 32: Integrating magento and word press

©2014 Eric Landmann, Earthling Interactive, Madison, WI

Questions?

Eric Landmann [email protected]

Twitter: iteratews    LinkedIn: http://www.linkedin.com/in/elandmann