Skip to content

Instantly share code, notes, and snippets.

@radiustheme
Last active January 28, 2024 12:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save radiustheme/7a15605eac0a6a952d90e5853f5e9c39 to your computer and use it in GitHub Desktop.
Save radiustheme/7a15605eac0a6a952d90e5853f5e9c39 to your computer and use it in GitHub Desktop.
How to import sample data for classified listing like categories & locations
{
"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":[
]
}
@haymondo
Copy link

haymondo commented Jun 7, 2020 via email

@radiustheme
Copy link
Author

For support please create ticket in our site. This file is example data to import category and location.

@Geibson82
Copy link

can i only import 25 locations?
if I put 26 or 24 it doesn't matter.

@radiustheme
Copy link
Author

@Geibson82 Yes you can import any no of location as you set in the JSON file.

@mikeyascanio
Copy link

@radiustheme do I have to follow the same format for locations? I want to upload more than 2500 entries and it is a pain to follow that same format.
I want to upload all these entries: https://github.com/martinciscap/json-estados-municipios-mexico/blob/master/estados-municipios.json

@Amdsnk
Copy link

Amdsnk commented Dec 11, 2020

@radiustheme I have the same issue, do we have to follow the same format, because I want to upload a lot of entries

@mirfu101
Copy link

Where is this file located?

@Rodrigo-Fuentes
Copy link

@radiustheme do I have to follow the same format for locations? I want to upload more than 2500 entries and it is a pain to follow that same format.
I want to upload all these entries: https://github.com/martinciscap/json-estados-municipios-mexico/blob/master/estados-municipios.json

Did you solve the problem?

@jacedehodossy112
Copy link

Unable to importe any file. Nothing happens when I click "import"

@ozel1978
Copy link

how about list from other country? where we can download it?

@yamizi
Copy link

yamizi commented Mar 11, 2022

Hi @radiustheme
Can we now import listings? Or not yet?
Thanks

@yamizi
Copy link

yamizi commented Mar 11, 2022

Hi @radiustheme
Can we now import listings? Or not yet?
Thanks

@elciogodoysp
Copy link

{
"locations": [
{
"name": "New York",
"slug": "",
"description": "",
"meta": [
{"image_id" : 45},
{"_icon" : ""}
]

what are the terms so that (prince-unit = total) and (types = ?) I can't find it at all. name ok, slug ok, description ok, but nothing else works. I have to enter 5600 records and I need them to be part of the type, because I can't select more than 5000 items manually.

@Armab944
Copy link

I want some style settings on my listing page, Like in the default setting, there are no whats app or calling option on the listing page. Cal someone help me for doing that

@web920
Copy link

web920 commented Mar 10, 2023

hello

@web920
Copy link

web920 commented Mar 10, 2023

classima theme kindly
how ad paid gallery ads in this theme
please...

@web920
Copy link

web920 commented Mar 10, 2023

https://leecanto.com/ this my site

@konduce
Copy link

konduce commented Mar 13, 2023

@radiustheme can I import listings from my customer database???

@walmir57
Copy link

Como importar Estados, cidades e municípios para o Brasil?

@kylerobinsm
Copy link

Unable to importe any file. Nothing happens when I click "import"

Having the same issue

@HMC84
Copy link

HMC84 commented Apr 1, 2023

Unable to importe any file. Nothing happens when I click "import"

Having the same issue

Same here as well. @radiustheme Can you confirm the format is complete? I'm trying to upload locations and it does nothing when set in your format. When I click import, nothing happens.

Copy link

ghost commented Jun 25, 2023

How to import bulk data for listing? can we do that?

@WeedsLists
Copy link

WeedsLists commented Sep 1, 2023

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.

@matt7570
Copy link

matt7570 commented Oct 2, 2023

I'd like to report that the import function won't allow duplicated entries. It shouldn't be like that. What it should do is creating duplicated entries with different slugs. Can you fix that?

@bingobutt69
Copy link

Hi Guys, we are you the classima radius theme and want to be able to have people list and sell from global location, and buy from global locations. What is the best way to add global locations and to give this option to sellers without having to input everything manually. When I click classifieds and location there is no option to upload a location file.

Best Regards

Tania

@fodor95
Copy link

fodor95 commented Dec 27, 2023

did anyone manage to upload sample listings in the end? i have managed only to import locations...

@yvbc
Copy link

yvbc commented Jan 6, 2024

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.

@yvbc
Copy link

yvbc commented Jan 6, 2024

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.

@bingobutt69
Copy link

bingobutt69 commented Jan 7, 2024 via email

@guptsanchit
Copy link

Hi,

I want to import data. I need guidance on it.

My data is available in an Excel sheet.

guptsanchit@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment