Skip to content
Daras
All topics

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

  1. 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).
  2. On the Kaynak (Source) tab:
    • Fill in the Ad (Name) and Tedarikçi adı (Supplier name) fields.
    • Paste the .xml link 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.
  3. 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.

Paste the supplier XML URL and auto-detect the field structure


Step 2: Select the Variant Pattern on the "Varyantlar" Tab

  1. 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.

Define how variants are grouped based on your supplier's XML structure


Step 3: Set Up Price, VAT, Stock, and Volumetric Weight Rules on the "Kurallar" Tab

  1. 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 TRY shipping/packaging allowance).
    • Choose .90 or .99 rounding 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.
  2. In the Stok (Stock) section:
    • Enter 3 in Bu sayının altındakileri sıfır say (Treat stock below this number as zero) to avoid overselling items with only 1 or 2 units left at the supplier.
    • Deduct a fixed buffer from supplier inventory using Güvenlik payı (stoktan düş) (Safety buffer (deduct from stock)).
  3. 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).

Configure the profit margin and safety stock applied on top of supplier prices


Step 4: Configure "Kategori ve Marka", "Güncelleme", and "Zamanlama" Settings

  1. 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.
  2. 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) or Taslağa al (Move to draft).
  3. On the Zamanlama (Schedule) tab: choose how often the feed runs automatically (e.g., every 2 hours or 3 times a day).

Prevent custom-edited product descriptions from being overwritten in future XML syncs


Step 5: Test on the "Önizleme" and "Deneme" Tabs, Then Run

  1. On the Önizleme (Preview) tab, verify calculated sale prices and variant structures for the first sample products.
  2. Switch to the Deneme tab and click Denemeyi başlat (Start dry run).
  3. 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)).
  4. Once everything looks right, click Kaydet ve çalıştır (Save and run) in the top right to start the live import.

Run a dry run and verify results before writing products to your store


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.
Didn't find the answer?Open a request from the Daras support screen in your store panel.
Open a support request