Title: Import hotels from CSV for Booking.com affiliates
Author: JCarlos
Published: <strong>25. Mai 2016</strong>
Last modified: 25. Mai 2016

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

![](https://s.w.org/plugins/geopattern-icon/import-hotels-from-csv-for-bookingcom-
affiliates.svg)

# Import hotels from CSV for Booking.com affiliates

 Von [JCarlos](https://profiles.wordpress.org/jcmoscardo/)

[Herunterladen](https://downloads.wordpress.org/plugin/import-hotels-from-csv-for-bookingcom-affiliates.zip)

 * [Details](https://de.wordpress.org/plugins/import-hotels-from-csv-for-bookingcom-affiliates/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/import-hotels-from-csv-for-bookingcom-affiliates/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/import-hotels-from-csv-for-bookingcom-affiliates/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/import-hotels-from-csv-for-bookingcom-affiliates/#developers)

 [Support](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/)

## Beschreibung

**You must have a Booking.com Affiliate account in order to import the booking.com
hotels using this plugin.**

This plugin allows you to import easyly Booking.com hotels from TSV files. Before
of that you should have downloaded these hotels datasets from Booking.com Affiliate
area (Downloads > Hotel datasets).

Before use this plugin you have to do:

 * Download hotels TSV files of the cities that you want import hotels from Booking.
   com Affiliate Partner Centre > Downloads,
 * Place these tsv files in tsv-import folder located in the plugin folder.
 * Create a draft post or custom type template. (It will be used to create the hotel
   posts)

This plugin will create posts (of the same type of the post template). The numbers
of post will be created may vary depending the hotels to import and languages (if
you have WPML installed ).

It is strongly recommended to:

 * edit the TSV files and keep only the cities and hotels you want to import to 
   your wordpress site.
 * **create a database backup of your wordpress site**.

#### Features

 * Compatible with wordpress post types (posts/pages) and custom post types.
 * Easy template creation.
 * TSV/CSV cache and hotel indexing for performance
 * Easy to use. Insert Destination city ID, post ID and click validate/import
 * Replacements fields compatible with Visual Composer
 * Import system compatible with WPML
 * Remote Hotel Image URL inside posts or as featured image (Do not need to download
   hotel images)

#### Possible customisation

Use these fields inside your post template.

 * **{{hotel_id}}** => Hotel ID
 * **{{hotel_name}}** => Property name
 * **{{hotel_address}}** => Property address
 * **{{hotel_zip}}** => Post code
 * **{{hotel_city_hotel}}** => Property city
 * **{{hotel_cc1}}** => Property country code
 * **{{hotel_ufi}}** => Unique city identifier (destination id), also known as city_id
   or dest_id
 * **{{hotel_class}}** => Star rating of property
 * **{{hotel_currencycode}}** => The currency in which prices are given for this
   property (three characters, uppercase – e.g – EUR)
 * **{{hotel_minrate}}** => The lowest rate charged by the property, calculated 
   on average
 * **{{hotel_maxrate}}** => The highest rate charged by the property, calculated
   on average
 * **{{hotel_preferred}}** => If value is 1, this property is a Booking.com preferred
   property
 * **{{hotel_public_ranking}}** => The rank of the property (higher is better)
 * **{{hotel_nr_rooms}}** => The total number of rooms at the property
 * **{{hotel_longitude}}** => Decimal longitude
 * **{{hotel_latitude}}** => Decimal latitude
 * **{{hotel_hotel_url}}** => The property URL on Booking.com
 * **{{hotel_photo_url}}** => URL for main property photo
 * **{{hotel_desc_(language)}}** => Short description of property change (language)
   => en, es, fr … {{hotel_desc_en}}
 * **{{hotel_city_unique}}** => Unique city name for use in URL
 * **{{hotel_city_preferred}}** => Preferred name of city for Booking.com use
 * **{{hotel_continent_id}}** => sThe unique ID for the continent on which the property
   is located

The plugin will replace the fields above with the hotel information. For example:

{{hotel_name}} will be replaced with the name of the hotel

{{hotel_hotel_url}} will be replaced with booking.com hotel url
 … …

## Screenshots

[⌊First of all you need to downdoad from "Booking.com Affiliate Partner Center" 
the hotels datasets (TSV files).⌉⌊First of all you need to downdoad from "Booking.
com Affiliate Partner Center" the hotels datasets (TSV files).⌉[

First of all you need to downdoad from „Booking.com Affiliate Partner Center“ the
hotels datasets (TSV files).

[⌊Once you upload the hotels datasets to /tsv-uploads/. You need to Generate cache
files.⌉⌊Once you upload the hotels datasets to /tsv-uploads/. You need to Generate
cache files.⌉[

Once you upload the hotels datasets to /tsv-uploads/. You need to Generate cache
files.

[⌊Create a post draft as template, using (customization fields, adding translations,
categories, etc etc).⌉⌊Create a post draft as template, using (customization fields,
adding translations, categories, etc etc).⌉[

Create a post draft as template, using (customization fields, adding translations,
categories, etc etc).

[⌊Insert destinations ID and the draft post ID (template already created) and click
for validation.⌉⌊Insert destinations ID and the draft post ID (template already 
created) and click for validation.⌉[

Insert destinations ID and the draft post ID (template already created) and click
for validation.

[⌊The destination id exists in the TSV files and the post ID is valid as hotel template.
You can continue by clicking Import hotels⌉⌊The destination id exists in the TSV
files and the post ID is valid as hotel template. You can continue by clicking Import
hotels⌉[

The destination id exists in the TSV files and the post ID is valid as hotel template.
You can continue by clicking Import hotels

[⌊Impoer RESULTS. List of hotels (posts, status, languages) imported or updated.
Only import or modified hotels 10 each time.⌉⌊Impoer RESULTS. List of hotels (posts,
status, languages) imported or updated. Only import or modified hotels 10 each time
.⌉[

Impoer RESULTS. List of hotels (posts, status, languages) imported or updated. Only
import or modified hotels 10 each time.

[⌊List of posts created (ex. portfolios categories Hotels and Mojacar), By default
created as Draft, though It can be force to publish⌉⌊List of posts created (ex. 
portfolios categories Hotels and Mojacar), By default created as Draft, though It
can be force to publish⌉[

List of posts created (ex. portfolios categories Hotels and Mojacar), By default
created as Draft, though It can be force to publish

[⌊Final post created. {{Name of field}} have been replaced by the hotel value.Ex.{{
hotel_name}} => Real name of the hotel⌉⌊Final post created. {{Name of field}} have
been replaced by the hotel value.Ex. {{hotel_name}} => Real name of the hotel⌉[

Final post created. {{Name of field}} have been replaced by the hotel value.Ex. {{
hotel_name}} => Real name of the hotel

## Installation

Please, renember that you must be Booking.com affiliate to use this plugin.

 1. Download the plugin from https://wordpress.org/plugins/
 2. Login in your WordPress as admin role.
 3. Go to: Plugins > Add New > Upload.
 4. Select the downloaded file and click „Install now“.
 5. Place your TSC/CSV hotels files in the tsv-uploads folder inside the plugin
 6. Do wordpress database backup. Just in case
 7. Use the plugin

After that, I will be able to:

 * Import al hotels from a city.
 * Use different post templates for hotel imports.

## Rezensionen

![](https://secure.gravatar.com/avatar/eeda5e13c70557aff25c181c93b88f3f2a9476c5343705c8afb9815140c8b0f1?
s=60&d=retro&r=g)

### 󠀁[Do the job prefectly](https://wordpress.org/support/topic/do-the-job-prefectly/)󠁿

 [fmdesign](https://profiles.wordpress.org/fmdesign/) 11. November 2016

Simple to use with great results. Easy to customize and pick the data from database.

 [ 1 Rezension lesen ](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/)

## Mitwirkende und Entwickler

„Import hotels from CSV for Booking.com affiliates“ ist Open-Source-Software. Folgende
Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

 *   [ JCarlos ](https://profiles.wordpress.org/jcmoscardo/)

[Übersetze „Import hotels from CSV for Booking.com affiliates“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/import-hotels-from-csv-for-bookingcom-affiliates)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/import-hotels-from-csv-for-bookingcom-affiliates/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/import-hotels-from-csv-for-bookingcom-affiliates/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/import-hotels-from-csv-for-bookingcom-affiliates/)
per [RSS](https://plugins.trac.wordpress.org/log/import-hotels-from-csv-for-bookingcom-affiliates/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

#### 0.8.1

 * First version

#### 0.8.2

 * Add screenshots and more info

## Meta

 *  Version **0.8.2**
 *  Zuletzt aktualisiert **vor 10 Jahren**
 *  Aktive Installationen **10+**
 *  WordPress-Version ** 3.4 oder höher **
 *  Getestet bis **4.4.34**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/import-hotels-from-csv-for-bookingcom-affiliates/)
 * Schlagwörter
 * [affiliate](https://de.wordpress.org/plugins/tags/affiliate/)[booking.com](https://de.wordpress.org/plugins/tags/booking-com/)
   [csv](https://de.wordpress.org/plugins/tags/csv/)[import](https://de.wordpress.org/plugins/tags/import/)
   [tsv](https://de.wordpress.org/plugins/tags/tsv/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/import-hotels-from-csv-for-bookingcom-affiliates/advanced/)

## Bewertungen

 5 von 5 Sternen.

 *  [  1 5-Sterne-Rezension     ](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/?filter=1)

[Deine Rezension](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/#new-post)

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/reviews/)

## Mitwirkende

 *   [ JCarlos ](https://profiles.wordpress.org/jcmoscardo/)

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/import-hotels-from-csv-for-bookingcom-affiliates/)