-
Notifications
You must be signed in to change notification settings - Fork 67
Adding categories and products with code #382
Comments
Ok if someone is wondering, here is how I am doing it: Categories
Posts
|
Hi @arimk , this is really handy, thanks! Just so I understand better:
Hope my question is clear and a big thanks to the developers of this plugin! |
Yes so for the categories let's say you have a csv like that for each line You do a wp_insert_term for each $en_id = Be carefull for double slugs, so I prefixed slugs with
And this will create it! Follow the same guidelines for posts If it's not clear enough, tel me and I will try to elaborate a little more |
got it to work with those hints, thanks @arimk ! |
Do only thing not syncing is the hierarchy.. how did you approach this? @arimk |
Hi,
First of all thank you for this great plugin!
I have a question about mass import. I have (in excel files) categories (a few dozen) and products (3000) to import in 3 langages.
What could be the best solution to do it?
Basically I would like to do it programaticaly
For the categories, the idea is to first add the default langage, then every other langage.
Same for the products.
The text was updated successfully, but these errors were encountered: