Learn how to combine WordPress with your Miva Merchant Store to provide a better customer experience, content management and use the power of WordPress to take your store to the next level. This includes tips and tricks for using both platforms together, how to share assets and match your Miva Theme to WordPress and important security considerations when using WordPress alongside your Miva Store.
MivaCon 2016, Thursday session 1
2. MIVA since 2009
WP since 2008
MIVA since 1999
WP since 2009
EXPERTS IN ECOMMERCE
EXPERTS IN AWESOME
Full-Service Digital Marketing
Agency in Wilmington, NC
@tayloegraykrist
/tayloegraykristof
3. Getting to Know You
⢠Who has a WordPress Site and a Miva Site?
â Hosted on the Same Server?
â Hosted on Different Servers?
4. ⢠Improved Content
Management
â Blog / News Posts
â Custom Post Types
⢠WordPress Plugins
â Forms, Events, etc
⢠Adding eCommerce
to an Existing Website
Why would you want to do this?
8. Install WordPress
⢠Wordpress.org/download/
â Unzip
â FTP Files
â Create WP Specific Database
â Backup .htaccess
â Visit Install URL
⢠: http://example.com/wp-admin/install.php
â Enter DB credentials
9. Considerations / Planning
⢠Theme
â Same Design?
⢠Menus
â Static or Generated?
⢠Search
â WP or Miva Search
â Third Party Search
⢠Login / Logout / Cart Status
â How to Show Mini Basket Page / Login
12. Miva Site With Blog: Sullivan Anlyan
⢠Miva in Docroot
â Blog in Subfolder
⢠Search: Only in Miva
⢠Cart: Direct Link from WP
⢠Two Themes
â Ready Theme on Miva
â Bought Theme on WP
16. Streamlined Integration: Defiant Whisky
⢠Shared Install in Root
⢠Common (Simple Header) in Both Themes
â Login and Cart in the Sidebar
⢠WordPress CMS: Events, Awards, News
⢠Themes: Custom WP and Miva Theme
17. Miva Side
⢠In Sidebar
â Cart
â Login
â Simple Category
⢠Hard Coded Top Nav
18. WP Side
⢠In Sidebar
â News
â Awards, Team,
Cocktails CPT
â Events Plugin
⢠WordPress Managed
Top Nav
â Easier to Copy / Paste
26. Mega Menu on WP Side
⢠WP Code Requests Category and Product
XML from Miva
⢠WP Processes Feed to Make Menu
⢠WP Writes Cached Header HTML
⢠WP and Miva Themes include header
HTML
29. WordPress Code (PHP)
⢠Get All Categories from Feed
â Loop Through Categories
⢠Get All Products in Category
⢠Generate Menu HTML
⢠Write Static File to Server
31. WP and Miva Themes Include Header HTML
⢠WordPress:
â If Generated Header Does Not Exist, Generate
â Otherwise
⢠<?php include_once('generated-header.html'); ?>
â MIVA
⢠<mvt:assign name="g.file_read"
value="file_read('/wp-
content/themes/ll/generated-header.html','script',
g.wordpress_header)" />
&mvt:global:wordpress_header;
32. Considerations
⢠How Do You Update a Stored Header?
â WPCRON in WP
â CRON Calling URL
â Manual Link
⢠High Traffic Site Should Avoid External Calls
â <mvt:item name="toolkit"
param="callurl|header|https://www.liquidlogickayaks.com/wp-
content/themes/LiquidLogic/generated-header.html" />
34. Search Options
⢠Customize WP Search Results Using XML
Feed from Miva
⢠MIVA Search That Ignores WP Pages
⢠Third Party
â Google Custom Search
â Search Spring
â Unboxed