Shopware data import - php

I am using shopware as e-commerce engine, I creating articles from back-end for every articles, but it is a lazy process and is taking too much time. My question is, Is there any way that I can import articles into shopware directly(to the database), because I have thousands number of articles. and It will take so much time if I Insert it from backend for each article.

Shopware provides a free plugin Shopware Import/Export for this. You can use it to import and export product and customer data, categories and product images using CSV and XML files. Here you will find the documentation of the plugin.

Related

Wordpress bulk products upload (woocommerce) - 650K

I'm using WordPress + Woocommerce for one project. The problem is that the CSV file from the client has over 650k records for products and I have to upload all these products to woocommerce store.
Wordpress using 2 tables (wp_posts, wp_postmeta) for products and 3 tables(wp_terms, wp_term_taxonomy, wp_term_relationships) for categories and tags. All products should be uploaded as just simple woocommerce products.
Not sure what could be the best option for such data migration.
I tried to use a WordPress import plugin for this (WP All Import) but it was taking too much time.
By using this script (largeCSV2mySQL) I was able to import 650k products info to the database table in less than 10s. Is there anyway to import all those 650k products to woocommerce store in such a fast way?
What could be the best experience to handle such huge data?
I highly recommend using the Woocommerce REST API to perform the population of the data. You'll definitely need to write code to process your file by utilizing the CRUD actions available to you. The REST API handles most of the heavy lifting, all you need to do is read the data from your file and fit it to the API.
If you do have a large number of products to import, and it's all in a single file, try composing your importer to only process a range of lines (can do with with command line parameters). That would allow you to run the import in multiple terminals and split the load, rather than having to write something that's multithreaded using pthreads.
I recommend creating a function that retrieves the data from the file and sends it to WordPress/Woocommerce with wp_insert_post and the post_type 'product'.

Problem when import products in CS-Cart with new import

When I import products with new CS-Cart import, I have problem with fields mapping. In particular dropdown menu show "coming soon..." and not load other entries. I have 600 features fields and CS-Cart load only first 100.
I have modified PHP parameters (for example max execution time etc.) but I don't resolve the problem.
How can I resolve?
I have a sample image below:
The advanced import is still in beta, instead, you should use the depcrecated functionality for now. From version 4.10 and onwards, this functionality will work.

Woocommerce - import products from csv file

I need to import more than 100 products from an CSV file but some of the products already exists in the webshop. I will be using the core importer tool that comes with Woocommerce.
When importing the file I need to update each already existing product by matching the Name of the product. (I know there is an option for matching the SKU or ID but I need to update the product if the name already exists)
Thanks in advance!
This is a pretty common scenario. Of course, the core wp imported plugin will work with this. But it will create new entries regardless of which once you already have. You might have imported content before and noticed that there are duplicate posts, this is something I think you can't avoid with the default importer.
Now to help you with this, there are other solutions. WP import all is one of my favourites. The reason, it lets you map the entries from your CSV to WP. You decide entries from which column go to which field.
Here is a free version of the plugin: https://wordpress.org/plugins/woocommerce-xml-csv-product-import/
This does not work with WooCommerce though, you will need a premium plugin for this: http://www.wpallimport.com/woocommerce-product-import/
Another product I can think of is the one built by the WooCommerce folks itself:
https://docs.woocommerce.com/documentation/plugins/woocommerce/woocommerce-extensions/product-csv-import-suite/
I have not used this myself, but have heard good words about it.
PS: If the data from the previous posts is also there on the CSV, you can delete the previous posts and import them from the CSV, that way you won't have to worry about the duplicated, or the check the names. You can try this on a local install. and then export them with all the updated data, and import it again to the production site.
I hope you find this helpful.

How to make Duplicate Posts and Pages in multi sites - Wordpress

I want to make duplicate posts and pages on wordpress either by functions or a plugin, any suggestions.
Also, i want to use these duplicacy for multi site functionality. That is, if i create another site, it may inherit the posts and pages of master site.
You can do this with the built in export/import feature. Under the tools menu in the admin menu you can find these two options. Just export the posts and pages XML file. Then on your new site or multisites you can import that XML file. You'll have an option to download all media on import also, which will bring over the images, PDFs, etc.
Here's the documentation:
http://codex.wordpress.org/Tools_Export_Screen
http://codex.wordpress.org/Tools_Import_Screen
I have a subsite that contains the base setup for a new site.I use the "Multisite Cloner" plugin on the master site to specify that 'template' subsite whenever new subsites are created.
For duplicating posts/pages, you could use the export/import process.
But there is now (4 years later from your question) a plugin that allows you to duplicate a page or post from one subsite to another: Multisite Post Duplicator (https://wordpress.org/plugins/multisite-post-duplicator/ ). I have not used it yet (although I will be testing it soon), but it has good reviews and appears to be maintained.
I add this info now (four years later) because this question came up in a search for a similar need.

Moving data from custom blog to Wordpress?

Ok so i have this custom blog that i now need to move over to wordpress. I tried using the import features in wordpress but that didnt work as planned. The custom blog is written in php and has a userscomments table, authors table, and posts table. Is there an easy way to move all these posts over to wordpress and preserve all the comments per post.
If the custom blog doesn't have an export function that will dump its data into a format WordPress can read, then it may be that you'll have to roll your own. There are 2 approaches:
Do a database-only import, using code or SQL tools along with information from the WordPress Codex entry on the WP database. This will probably be fairly simple from a coding standpoint, but you have to make sure you get it right.
Use the WordPress API to create the posts based on the output from the old system. This will involve a bit more learning, but it's the Right Way™ to do it, and means that you learn the WordPress API rather than the database structure.
If I were doing it myself, I'd choose option #2.

Categories