# Lagerbestand Status "on hold"

**URL:** <https://forum.oxid-esales.com/t/lagerbestand-status-on-hold/45400>\
**Category:** Deutsches Forum\
**Created:** [August 24, 2010, 5:43pm UTC](https://forum.oxid-esales.com/t/lagerbestand-status-on-hold/45400 "2010-08-24T17:43:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![734567](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/7/bc79bd/32.png) [@734567](https://forum.oxid-esales.com/u/734567)\
**Post date:** [August 24, 2010, 5:43pm UTC](https://forum.oxid-esales.com/t/lagerbestand-status-on-hold/45400/1 "2010-08-24T17:43:12Z")

</div>

Hallo zusammen,

ich arbeite mit dem 3er Shop und möchte gerne Artikel von Hand auf “on hold” setzen.  
Im image Ordner gibt es hierfür schon ein Bild “status-orange.gif” (neben dem grünen und dem roten).

Jetzt möchte ich gerne eine gewissen Artikelbestandszahl dafür verantwortlich machen, dass die orange Kennzeichnung kommt. Z.b. 7777.

Weiß jemand wie das geht?  
In der inc\_product.tpl denke ich müsste auch irgendetwas geändert werden.  
Hier finde ich:

```php
[{if $product->oxarticles__oxstock->value}]
			
			<div style="margin-top: 10px; margin-bottom: 10px; font-weight: bold; color: #570000;"><img src="[{$shop->imagedir}]/status_green.gif" width="8" heigth="8" alt="" border="0"> available</div>
			[{else}]
			<div style="margin-top: 10px; margin-bottom: 10px; font-weight: bold; color: #570000;"><img src="[{$shop->imagedir}]/status_red.gif" width="8" heigth="8" alt="" border="0"> sold</div>
			[{/if}]

```

Irgendwo müsste da noch der Befehl für orange rein.

Vielen Dank!

---

<div class="post-metadata">

**Author:** ![simply\_because](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/s/f17d59/32.png) [@simply\_because](https://forum.oxid-esales.com/u/simply_because)\
**Post date:** [August 24, 2010, 9:36pm UTC](https://forum.oxid-esales.com/t/lagerbestand-status-on-hold/45400/2 "2010-08-24T21:36:20Z")

</div>

In der Original \_productitem.tpl ist das nicht vorhanden.  
Meinst Du die inc\_product\_variants.tpl ?

> [{if $variant-\>stockstatus == -1}]  
> \<img src=“[{$shop-\>imagedir}]/status\_red.gif” width=“8” heigth=“8” alt=“” border=“0”\>  
> [{elseif $variant-\>stockstatus == 1}]  
> \<img src=“[{$shop-\>imagedir}]/status\_orange.gif” width=“8” heigth=“8” alt=“” border=“0”\>  
> [{elseif $variant-\>stockstatus == 0}]  
> \<img src=“[{$shop-\>imagedir}]/status\_green.gif” width=“8” heigth=“8” alt=“” border=“0”\>  
> [{/if}]

Oder aber in der details.tpl

> \<div class=“font10 fontgray1”\>  
> [{if $product-\>stockstatus == -1}]
> 
> ```
> &lt;img src="[{$shop-&gt;imagedir}]/status_red.gif" width="8" heigth="8" alt="" border="0"&gt; 
> [{ if $product-&gt;oxarticles__oxnostocktext-&gt;value }]
> [{ $product-&gt;oxarticles__oxnostocktext-&gt;value }]&lt;br&gt;
> [{elseif $shop-&gt;blStockOffDefaultMessage}]
> Dieser Artikel ist nicht auf Lager und muss erst nachbestellt werden.&lt;br&gt;
> [{/if}]
> 
> [{ if $product-&gt;foxdelivery }]
> Lieferbar ab [{ $product-&gt;foxdelivery }]
> [{/if}]
> 
> [{elseif $product-&gt;stockstatus == 1}]
> 
> &lt;img src="[{$shop-&gt;imagedir}]/status_orange.gif" width="8" heigth="8" alt="" border="0"&gt; 
> &lt;b&gt;Wenige Exemplare auf Lager - schnell bestellen !&lt;/b&gt;&lt;br&gt;
> 
> [{elseif $product-&gt;stockstatus == 0}]
> 
> &lt;img src="[{$shop-&gt;imagedir}]/status_green.gif" width="8" heigth="8" alt="" border="0"&gt; 
> [{ if $product-&gt;oxarticles__oxstocktext-&gt;value }]
> [{ $product-&gt;oxarticles__oxstocktext-&gt;value }]&lt;br&gt;
> [{elseif $shop-&gt;blStockOnDefaultMessage}]
> Sofort lieferbar.&lt;br&gt;
> [{/if}]
> 
> [{/if}]
> &lt;/div&gt;
> 
> ```

---

<div class="post-metadata">

**Author:** ![734567](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/7/bc79bd/32.png) [@734567](https://forum.oxid-esales.com/u/734567)\
**Post date:** [August 24, 2010, 10:02pm UTC](https://forum.oxid-esales.com/t/lagerbestand-status-on-hold/45400/3 "2010-08-24T22:02:59Z")

</div>

Vielen Dank.  
Hm. Bei mir ist das nicht drin. Ich nehm an, dass wird damals mein Partner rausgenommen haben.  
Danke trotzdem

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [July 13, 2026, 7:53pm UTC](https://forum.oxid-esales.com/t/lagerbestand-status-on-hold/45400/4 "2026-07-13T19:53:54Z")

</div>

Closed on July 13, 2026, 7:53pm UTC


