Last active
January 28, 2024 12:56
-
-
Save radiustheme/7a15605eac0a6a952d90e5853f5e9c39 to your computer and use it in GitHub Desktop.
How to import sample data for classified listing like categories & locations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locations": [ | |
{ | |
"name": "New York", | |
"slug": "", | |
"description": "", | |
"meta": [ | |
{"image_id" : 45}, | |
{"_icon" : ""} | |
], | |
"order": 0, | |
"child": [ | |
{"name": "New York", "order": 1 }, | |
{"name" : "Port Chester", "order": 2}, | |
{"name" : "Mineola", "order": 3}, | |
{"name" : "Mount Vernon", "order": 4}, | |
{"name" : "Hempstead", "order": 5}, | |
{"name" : "Lynbrook", "order": 6}, | |
{"name" : "Yonkers", "order": 7}, | |
{"name" : "Franklin Square", "order": 8}, | |
{"name" : "Newburgh", "order": 9}, | |
{"name" : "Buffalo", "order": 10}, | |
{"name" : "Long Beach", "order": 11}, | |
{"name" : "Ithaca", "order": 12}, | |
{"name" : "New Rochelle", "order": 13}, | |
{"name" : "Freeport", "order": 14}, | |
{"name" : "Rochester", "order": 15}, | |
{"name" : "Albany", "order": 16}, | |
{"name" : "Valley Stream", "order": 17}, | |
{"name" : "Poughkeepsie", "order": 18}, | |
{"name" : "Baldwin", "order": 19}, | |
{"name" : "West Hempstead", "order": 20}, | |
{"name" : "Schenectady", "order": 21}, | |
{"name" : "White Plains", "order": 22}, | |
{"name" : "Uniondale", "order": 23}, | |
{"name" : "North Valley Stream", "order": 24}, | |
{"name" : "Ossining", "order": 25} | |
] | |
} | |
], | |
"categories": [ | |
{ | |
"name": "Electronics", | |
"slug": "", | |
"description": "", | |
"meta": "", | |
"order": 0, | |
"child":[ | |
{ | |
"name": "Mobile Phone", | |
"order": 1 | |
}, | |
{ | |
"name": "Mobile Phone Accessories", | |
"order": 2 | |
}, | |
{ | |
"name": "Computers & Tablets", | |
"order": 3 | |
}, | |
{ | |
"name": "Computer Accessories", | |
"order": 4 | |
}, | |
{ | |
"name": "TVs", | |
"order": 5 | |
}, | |
{ | |
"name": "TV & Video Accessories", | |
"order": 6 | |
}, | |
{ | |
"name": "Cameras & Camcorders", | |
"order": 7 | |
}, | |
{ | |
"name": "Audio & MP3", | |
"order": 8 | |
}, | |
{ | |
"name": "Video Games & Consoles", | |
"order": 9 | |
}, | |
{ | |
"name": "Freeze", | |
"order": 10 | |
}, | |
{ | |
"name": "Air Conditioner (AC)", | |
"order": 11 | |
}, | |
{ | |
"name": "Other Electronics", | |
"order": 11 | |
} | |
] | |
} | |
], | |
"listings":[ | |
] | |
} |
This is my site https://www.weedslists.com and I am doing this to learn and in my spare time. I have uploaded about 4600 items in about 20 to 30 mins, using WP inp exp plugin. I just create one example item and exported it with all the settings that I need like a template and then I modify the .csv file with all the items like 2000 or 4000 items and then just import them in with the settings from the export file and its that easy.
how did you do it? I couldn't do it here.
did anyone manage to upload sample listings in the end? i have managed only to import locations...
how did you do it? I couldn't do it here.
Hi Guys
Can someone tell me how to upload global locations for every country?
Regards
Tania
…On Sun, Jan 7, 2024 at 6:02 AM yvbc ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
did anyone manage to upload sample listings in the end? i have managed
only to import locations...
how did you do it? I couldn't do it here.
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/radiustheme/7a15605eac0a6a952d90e5853f5e9c39#gistcomment-4820340>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BEHXL7OLPZEEDEADPIGIDYNGRDBBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4TONJTG43TAONHORZGSZ3HMVZKMY3SMVQXIZI>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Hi,
I want to import data. I need guidance on it.
My data is available in an Excel sheet.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did anyone manage to upload sample listings in the end? i have managed only to import locations...