Solved

Can I use woocommerce with my existing product database

Posted on 2014-09-16
1
1,067 Views
Last Modified: 2014-09-19
I have a WordPress site with woocommerce installed and would like to populate it with my products that already exist in a MySQl Database (used on our other site with PHP code, never used with WordPress or woocommerce before).

The current product database is auto updated at least once a week and is used by other applications.
So in a perfect world it would be great if woocommerce could read from that database or make a copy and then auto update it (or manually we could do the update if needed).

Is this possible?

If so how would I get started?
Are there plugins that would help with this?

Or would it require custom coding in woocommerce?
If it requires custom coding can you point me towards the right files so I can start researching in the correct areas?

Thank you.
0
Comment
Question by:Razzmataz73
1 Comment
 
LVL 12

Accepted Solution

by:
William Nettmann earned 500 total points
Comment Utility
A possible approach would be to export the data from your MySQL database into a CSV file, and then use the WP All Import WooCommerce add-on to import the products into the WordPress database.

You could possibly automate the process using cron jobs and a few scripts.

You can find WP All Import here: http://www.wpallimport.com/woocommerce-product-import/

I have no relationship with WP All Import, but I do use it, and it is pretty good.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now