mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-09-06 16:36:12 +02:00
That ensures grouped output of related offers. Offers are not sorted in any way and might end up in entry, parking, entry, etc. Sorting ensures all of same type are rendered one after the other, entry, entry, parking. Sorting is done by alphabet on the technical enum value.
10 lines
1 KiB
XML
10 lines
1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<dataset>
|
|
<tx_thuecat_tourist_attraction>
|
|
<uid>1</uid>
|
|
<pid>3</pid>
|
|
<title>Attraktion mit Angebotstypen</title>
|
|
<offers>[{"description":"","prices":[{"currency":"EUR","description":"","price":8,"rule":"PerGroup","title":"Schulklassen"}],"title":"Führungen","type":"GuidedTourOffer"},{"description":"","prices":[{"currency":"EUR","description":"","price":8,"rule":"PerGroup","title":"Schulklassen"}],"title":"Verkostung","type":"Tasting"},{"description":"","prices":[{"currency":"EUR","description":"","price":8,"rule":"PerGroup","title":"Schulklassen"}],"title":"Eintritt 1","type":"EntryOffer"},{"description":"","prices":[{"currency":"EUR","description":"","price":8,"rule":"PerGroup","title":"Schulklassen"}],"title":"Eintritt 2","type":"EntryOffer"},{"description":"","prices":[{"currency":"EUR","description":"","price":8,"rule":"PerGroup","title":"Schulklassen"}],"title":"Parkgebühr","type":"ParkingFee"}]</offers>
|
|
</tx_thuecat_tourist_attraction>
|
|
</dataset>
|
|
|