Create data export with JTL-Shop 5 for Gunfinder
Here you’ll learn how to easily create a product data export for Gunfinder with JTL-Shop 5. We’ll then make sure your products are found on Gunfinder.
A product export with JTL-Shop 5 is created very quickly and usually takes only a few minutes. Below, we’ll guide you step by step through the process.
You can find an overview of all instructions in our Gunfinder data feed article.
First, please open the administration interface of your JTL-Shop.
Create Export Format
First, we need to create a new export format.
To do this, please click on Export in the left main menu of the admin interface, then on More Formats.

On the following page, please click on Create New Export Format.

By clicking, you will reach the form to create the format. Some settings are now required. Please enter the fields marked in red at the top of the form exactly as shown in the screenshot:

When you’re done, please scroll all the way down first (ignore the middle section), and make the following adjustments marked in red again:

Once you’re done, let’s focus on the middle section of the form. The fields to fill out now are Header, Export Template & Footer.
Please enter the respective code exactly as specified below. It’s best to highlight and copy the code and then paste it in. This way, nothing goes wrong.
Header
[Export Template
{assign var="tags" value=' > '|explode:$Artikel->Kategoriepfad}
{assign var=availability value="out-of-stock"}
{if $Artikel->cLagerBeachten == 'N' || $Artikel->fLagerbestand > 0}{assign var=availability value="in-stock"}{/if}
{
"id": "{$Artikel->cArtNr}",
"type": "buynow",
"brand": "{$Artikel->cHersteller}",
"title": "{$Artikel->cName}",
"description": "{$Artikel->cBeschreibung|strip_tags}",
"condition": "new",
"availability": "{$availability}",
"pictures": [
{foreach name=images from=$Artikel->Bilder item=image}
"{$URL_SHOP}/{$image->cPfadGross}"
{if !$smarty.foreach.images.last},{/if}
{/foreach}
]
"tags": [
{foreach name=tags from=$tags item=tag}
"{$tag}"
{if !$smarty.foreach.tags.last},{/if}
{/foreach}
],
"price": {$Artikel->fVKBrutto},
"oldPrice": {$Artikel->salePrice},
"url": "{$Artikel->cDeeplink}"
}
{if !$smarty.foreach.artikel.last},{/if}
Footer
]Have you inserted everything? Then please save the export format.
Start export
To have the export run regularly, we’ll now set up an automatic export in the last step. Please click on Export in the left main menu, then on Export Manager.

Then please click on Create new task on the right.

In the form that follows, you only need to change one thing: select Gunfinder as the Export format.

Once you’ve done that, you can save the task and you’ll return to the overview with all exports.
To have some data to work with right away, you need to start the export manually once. Please check Gunfinder and then click on Trigger cron manually.

And that’s it.
The URL to your data feed will be as follows: Your shop URL + /export/gunfinder.json
So for example https://waffen-meier-shop.de/export/gunfinder.json
Finally, please send us the URL by email.