Solved

Can I use woocommerce with my existing product database

Posted on 2014-09-16
1
1,182 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
ID: 40327462
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

785 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