# mehrere Bilder für google shopping bei Subshop (Produktexport)

**URL:** <https://forum.shopware.com/t/mehrere-bilder-fur-google-shopping-bei-subshop-produktexport/52224>\
**Category:** Allgemein\
**Created:** [6. April 2018 um 11:12 UTC](https://forum.shopware.com/t/mehrere-bilder-fur-google-shopping-bei-subshop-produktexport/52224 "2018-04-06T11:12:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![proteus](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@proteus](https://forum.shopware.com/u/proteus)\
**Post date:** [6. April 2018 um 11:12 UTC](https://forum.shopware.com/t/mehrere-bilder-fur-google-shopping-bei-subshop-produktexport/52224/1 "2018-04-06T11:12:42Z")

</div>

Hallo zusammen,&nbsp;

ich versuche gerade mehrere Bilder meiner Artikel an google zu senden. Dies funktioniert wie in der Shopware doku beschrieben, aber die image links, die er auswirft sind vom Hauptshop. ich möchte die URL des Subshop auswerfen.&nbsp; &nbsp;zur Info: bei den Standardeexporten mit 1 Bild funktioniert das.&nbsp;

&nbsp;

Hat jemand einen Tipp für mich ?

&nbsp;

```
{assign var="string" value=$sArticle.articleID|articleImages:$sArticle.ordernumber:2:"##"|escape}
{assign var="productVariantImage" value="##"|explode:$string}

 
    {$sArticle.ordernumber|escape}
    {$sArticle.name|strip_tags|strip|truncate:80:"...":true|escape} {$sArticle.additionaltext|escape}
	{$sArticle.description_long|strip_tags|strip|truncate:5000:"..."|escape}
	{$sArticle.attr6|escape:"xml"}
    {$sArticle.articleID|category:" > "|escape}
	{$sArticle.articleID|link:$sArticle.name|escape}
	
	{$productVariantImage[0]|escape}
	
	{$productVariantImage[1]|escape}
	{$productVariantImage[2]|escape}
    {$productVariantImage[3]|escape}
    {$productVariantImage[4]|escape}
    {$productVariantImage[5]|escape}
    {$productVariantImage[6]|escape}
    {$productVariantImage[7]|escape}
    {$productVariantImage[8]|escape}
    {$productVariantImage[9]|escape}
	
	neu

```

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![proteus](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@proteus](https://forum.shopware.com/u/proteus)\
**Post date:** [25. April 2018 um 17:54 UTC](https://forum.shopware.com/t/mehrere-bilder-fur-google-shopping-bei-subshop-produktexport/52224/2 "2018-04-25T17:54:57Z")

</div>

es gibt ein Ticket hierzu. bitte dranhängen, damit es bevorzugt gelöst wird.

&nbsp;

[Shopware Issuetracker](https://issues.shopware.com/issues/SW-21669?status=1,3,10001,4,10010,10025,10017)&nbsp;

---

<div class="post-metadata">

**Author:** ![SG1](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@SG1](https://forum.shopware.com/u/SG1)\
**Post date:** [28. Februar 2019 um 12:38 UTC](https://forum.shopware.com/t/mehrere-bilder-fur-google-shopping-bei-subshop-produktexport/52224/3 "2019-02-28T12:38:39Z")

</div>

Falls es nochmal einer braucht, ich hab mir wie folgt beholfen:&nbsp;

```
{$productVariantImage[0]|replace:"HauptShopDomain.tld":{$sConfig.sBASEPATH}}
{$productVariantImage[1]|replace:"HauptShopDomain.tld":{$sConfig.sBASEPATH}}
{$productVariantImage[2]|replace:"HauptShopDomain.tld":{$sConfig.sBASEPATH}}
etc...

```

Ist vielleicht nicht die eleganteste Lösung, aber ging dafür schnell.

“HauptShopDomain.tld” sollte natürlich dem entsprechen, was man in den Shopeinstellungen hinterlegt hat, beispielsweise&nbsp;“www.HauptShopDomain.tld”

Statt&nbsp;{$sConfig.sBASEPATH} könnte man natürlich auch “MeineSubShopDomain.tld” einsetzen
