How to set up pricing rules, field mapping, and a dry run in XML product imports
Short answer: To connect your supplier XML feed to your store, go to the Katalog → XML İçe Aktarım (Catalog → XML Import) screen and click the Yeni içe aktarım (New import) button. In the 9-step setup studio, you can auto-detect the XML feed structure, configure profit margin and safety stock rules, test everything on the Deneme (Dry run) tab, and run imports on an automated schedule.
Setting Up the XML Import Studio Step by Step
Step 1: Configure the XML Structure on the "Kaynak" and "Eşleme" Tabs
- From the left menu, go to Katalog → XML İçe Aktarım and click Yeni içe aktarım in the top right (or İlk içe aktarımı oluştur (Create first import) during initial setup).
- On the Kaynak (Source) tab:
- Fill in the Ad (Name) and Tedarikçi adı (Supplier name) fields.
- Paste the
.xmllink provided by your supplier into the XML kaynak adresi (XML source URL) box (if the feed is password-protected, enter the username/password under Kimlik doğrulama (Authentication)). - Click Otomatik tespit et (Auto-detect); Daras automatically detects the XML schema (standard, Sentos, Bezos, etc.) and product nodes.
- Switch to the Eşleme (Mapping) tab: verify that the product name, description, barcode, price, stock, and image tags are mapped to the right XML fields. If you built a custom supplier schema, you can save it as a reusable template with the Adaptör olarak kaydet (Save as adapter) button.

Step 2: Select the Variant Pattern on the "Varyantlar" Tab
- Click the Varyantlar (Variants) tab and select the Varyant deseni (Variant pattern) based on how your supplier sends color/size options in the XML feed:
- Varyant yok (No variants): Every row is an independent standalone product.
- Ürün içinde liste (Nested list inside product): Variants nested under a single product node, such as
<Variants>. - Ayrı satırlarda (Separate rows): Different colors and sizes sharing the same model code (
Anastok / Grup kodu(Parent SKU / Group code)) delivered as separate rows.

Step 3: Set Up Price, VAT, Stock, and Volumetric Weight Rules on the "Kurallar" Tab
- Switch to the Kurallar (Rules) tab and configure the Fiyat (Price) section:
- Choose Beslemedeki fiyatın KDV durumu (Feed price VAT status) and Mağazadaki satış fiyatının KDV durumu (Store sale price VAT status).
- Enter Kâr oranı (%) (Profit margin (%)) (e.g.,
35%) and/or Sabit ekleme (TL) (Fixed markup (TRY)) (e.g.,50 TRYshipping/packaging allowance). - Choose
.90or.99rounding under Fiyat yuvarlama (Price rounding). - Use En düşük kaynak fiyat (Minimum source price) and En yüksek kaynak fiyat (Maximum source price) thresholds to filter out overly cheap or expensive items.
- In the Stok (Stock) section:
- Enter
3in Bu sayının altındakileri sıfır say (Treat stock below this number as zero) to avoid overselling items with only1or2units left at the supplier. - Deduct a fixed buffer from supplier inventory using Güvenlik payı (stoktan düş) (Safety buffer (deduct from stock)).
- Enter
- In the Ağırlık (Weight) section: if the XML feed omits weight or volumetric weight (desi), fill in Birim (Unit) and XML'de ağırlık yoksa kullanılacak değer (Fallback value if weight is missing in XML).

Step 4: Configure "Kategori ve Marka", "Güncelleme", and "Zamanlama" Settings
- On the Kategori ve marka (Category and brand) tab: choose whether categories from the XML feed should be created automatically in your store (Eşleşmeyen kategorileri otomatik oluştur (Auto-create unmatched categories)) and select any categories or brands to exclude.
- On the Güncelleme (Update) tab:
- Select Yalnız fiyat ve stok (Price and stock only) so product titles and SEO descriptions you wrote yourself are not overwritten on subsequent runs.
- Under Sonraki çalışmalarda XML'den çıkan ürünlere ne olsun? (What should happen to products removed from XML in future runs?), choose
Stoğu sıfırla(Set stock to zero) orTaslağa al(Move to draft).
- On the Zamanlama (Schedule) tab: choose how often the feed runs automatically (e.g., every 2 hours or 3 times a day).

Step 5: Test on the "Önizleme" and "Deneme" Tabs, Then Run
- On the Önizleme (Preview) tab, verify calculated sale prices and variant structures for the first sample products.
- Switch to the Deneme tab and click Denemeyi başlat (Start dry run).
- Review how many products will be added or updated, along with any warnings in the Alınamayan satırlar (Skipped rows) table (you can download the full report via Dosya olarak indir (Download as file)).
- Once everything looks right, click Kaydet ve çalıştır (Save and run) in the top right to start the live import.

Common Issues and Solutions
| Issue / Warning | Cause | Solution |
|---|---|---|
| "XML kaynağına erişilemedi / Zaman aşımı" ("Could not reach XML source / Timeout") | The supplier XML URL is IP-restricted or requires authentication. | Check your credentials under Kimlik doğrulama on the Kaynak tab and ask your supplier to allowlist the Daras server IP. |
| Some products appear under "Alınamayan satırlar" on the dry run screen | The product's price is 0, its stock quantity is below your minimum threshold, or a required title/SKU field is blank in the XML. |
Check the Neden (Reason) column in the Alınamayan satırlar table; if caused by price/stock filters, adjust the minimum thresholds on the Kurallar tab. |
| Color/size options were created as separate products instead of grouping under one product | Varyant yok remained selected on the Varyantlar tab. |
Switch to the Varyantlar tab, select Ürün içinde liste or Ayrı satırlarda to match your XML layout, and map the group code field. |
Tips
- Autofill category attributes right after importing: To get category attributes of XML-imported products ready for marketplaces, run the tool covered in How to autofill product attributes as soon as the import finishes.