To import ads, go to the "System - Import/Export" section. Then select "Action - Add Task".
Select the import table, action, and source. Local file - the download is performed from the selected file in csv or xslx format. File link - the download is performed using a link, allowing you to specify a link to any source that provides data in csv format. This method is also suitable for updating uploaded data, such as prices, discounts, and more. The system will periodically download the file using the link and check if the data has changed. If it has, the data will be updated on the website.
After creating a task, you need to map the fields with the data from the file, so that the system knows what data to add and . Example: name to name, price to price, etc.
The import structure is simple, but there are some rules to follow:
- Images in the file should be separated by commas if there are many of them, for example: https://site.com/media/photo1.jpg, https://site.com/media/photo2.jpg. You can also choose whether to download the photos or not, and without downloading, the images will be pulled directly from the links.
- Filters must be specified using a special template, and it is important that the filters have already been created in the system. Filters are not created, but those that are already in the system are used. Example template: Object type=Apartment|Rooms=2|Floor=1|Window view=Park|Window view=Lake
- Select the category the ads will be uploaded. If no category is selected, you must select a category in the mapping. Ads will not be uploaded without a category. The categories in the file must match the categories on the website.
Auto-renewal - After the expiration date, the ads will be automatically renewed for 30 days.
User - You can link all imported ads to a single user, and if no user is selected, you must select an email or phone number in the mapping, and users will be created automatically.
Import file Template
When opening a file in a word program, it may display gibberish, which is usually normal and will be displayed correctly when uploaded to the website. However, if it still displays gibberish on the website, you can change the file encoding to UTF 8 using any online converter.
The import process occurs in the background. It is important to ensure that the cron script is properly configured.