# Social Shopping überall "out\_of\_stock" obwohl lieferbar

**URL:** https://forum.shopware.com/t/social-shopping-uberall-out-of-stock-obwohl-lieferbar/69666
**Category:** Allgemein
**Created:** [17. September 2020 um 09:35 UTC](https://forum.shopware.com/t/social-shopping-uberall-out-of-stock-obwohl-lieferbar/69666 "2020-09-17T09:35:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sknobloch](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sknobloch](https://forum.shopware.com/u/sknobloch)
#### Post date: [17. September 2020 um 09:35 UTC](https://forum.shopware.com/t/social-shopping-uberall-out-of-stock-obwohl-lieferbar/69666/1 "2020-09-17T09:35:56Z")

</div>

Hallo,

bin gerade dabei Social Shopping für Google einzurichten.  
In meinem generiertem XML steht aber überall bei `g:availability` “out\_of\_stock” drinnen, obwohl die Arikel bestand haben.

Wird sich hier vielleicht&nbsp;nur der Bestand des Parent Produktes beachtet? Wir pflegen den Bestand nähmlich nur auf Varianten Ebene.

---

<div class="post-metadata">

### Author: ![ingenious\_design](https://avatars.discourse-cdn.com/v4/letter/i/db5fbb/32.png) [@ingenious\_design](https://forum.shopware.com/u/ingenious_design)
#### Post date: [30. Mai 2022 um 13:13 UTC](https://forum.shopware.com/t/social-shopping-uberall-out-of-stock-obwohl-lieferbar/69666/3 "2022-05-30T13:13:06Z")

</div>

Hey, hast du da mittlerweile eine Lösung gefunden?  
Wir haben nämlich genau das gleiche Problem bei Google Shopping.

LG Patric

---

<div class="post-metadata">

### Author: ![PlasticSurf](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@PlasticSurf](https://forum.shopware.com/u/PlasticSurf)
#### Post date: [20. Oktober 2022 um 17:47 UTC](https://forum.shopware.com/t/social-shopping-uberall-out-of-stock-obwohl-lieferbar/69666/4 "2022-10-20T17:47:15Z")

</div>

Hallo, ich habe genau das gleiche Problem. Hat jemand eine Idee?

zB.: Lagerbestend 48 / Verfügbarer Bestend 48  
und trotzdem „out of stock“

```
<g:availability>
    {%- if product.availableStock >= product.minPurchase and product.deliveryTime -%}
        in_stock
    {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%}
        preorder
    {%- else -%}
        out_of_stock
    {%- endif -%}
</g:availability>

```
