# Icons zur visualiesierung der Produkteigenschft

**URL:** <https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178>\
**Category:** Deutsches Forum\
**Tags:** basics\
**Created:** [October 4, 2012, 8:54am UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178 "2012-10-04T08:54:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph.Gajewski](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@Christoph.Gajewski](https://forum.oxid-esales.com/u/Christoph.Gajewski)\
**Post date:** [October 4, 2012, 8:54am UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/1 "2012-10-04T08:54:41Z")

</div>

Guten Morgen zusammen,

ich müsste in meinen OXID Shop ein paar Icons zu Produkteigenschaft am besten wäre es wenn ich diese dann im backend einfach anhaken könnte, hätte da einer von euch einen Tipp für mich?

zum besseren Verständnis unser aktueller Shop:

[http://www.jongen.de/catalog/product\_info.php?cPath=22\_550\_47&products\_id=491&osCsid=73ccf321a467d03e8b5ca473def33242](http://www.jongen.de/catalog/product_info.php?cPath=22_550_47&products_id=491&osCsid=73ccf321a467d03e8b5ca473def33242)

ich meine die kleinen oben links

Danke im Voraus

Christoph

---

<div class="post-metadata">

**Author:** ![bhasis](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/b/958977/32.png) [@bhasis](https://forum.oxid-esales.com/u/bhasis)\
**Post date:** [October 4, 2012, 9:13am UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/2 "2012-10-04T09:13:49Z")

</div>

Hi,

am besten machst du das mit Attributen die du dem Artikel zuordnest und baust dir eine Funktion die dir das dann als Bild Link wieder herausschmeißt für die Gewollten Attribute.  
Stellt ihr auf OXID um, weil das ist ja ein osc Shop und eigentlich wärst du dann falsch hier?

---

<div class="post-metadata">

**Author:** ![Christoph.Gajewski](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@Christoph.Gajewski](https://forum.oxid-esales.com/u/Christoph.Gajewski)\
**Post date:** [October 4, 2012, 12:02pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/3 "2012-10-04T12:02:44Z")

</div>

Ja ich bin dabei einen neuen Shop auf OXID Basis aufzubauen, hättest du einen Code schnipsel für mich, wie man dann das icon über ein Attribut anzeigen lassen kann?

---

<div class="post-metadata">

**Author:** ![Hebsacker](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/hebsacker/32/45_2.png) [@Hebsacker](https://forum.oxid-esales.com/u/Hebsacker)\
**Post date:** [October 4, 2012, 1:06pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/4 "2012-10-04T13:06:07Z")

</div>

Du meinst, wenn ein bestimmtes Attribut zutrifft / zugeordnet ist, dann soll das entsprechende Pictogramm dazu angezeigt werden?

[https://forum.oxid-esales.com/showthread.php?t=6171](https://forum.oxid-esales.com/showthread.php?t=6171)

---

<div class="post-metadata">

**Author:** ![Christoph.Gajewski](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@Christoph.Gajewski](https://forum.oxid-esales.com/u/Christoph.Gajewski)\
**Post date:** [October 4, 2012, 3:55pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/5 "2012-10-04T15:55:46Z")

</div>

Haut hin, aber gibt es eine Möglichkeit mit explode z.B. dann mehrere Attribute aus der Variablen $oAttr-\>title auszulesen $oAttr-\>value quasi würde dann den folgenden wert ausgeben [B]plan,eck,nuten,bohren[/B] gibt es eine Möglichkeit dort dann den Wert in mehrere Variablen zu schreiben und dann wieder Bilder dort einzusetzen.

Danke

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [October 4, 2012, 4:28pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/6 "2012-10-04T16:28:39Z")

</div>

bin mir nicht so gant sicher, ob du das meinst, aber schau mal list() an

---

<div class="post-metadata">

**Author:** ![Christoph.Gajewski](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@Christoph.Gajewski](https://forum.oxid-esales.com/u/Christoph.Gajewski)\
**Post date:** [October 5, 2012, 2:46pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/7 "2012-10-05T14:46:32Z")

</div>

Mahlzeit,

So danke an alle hab jetzt folgendermaßen gelöst

```auto
<table class="attributes"> 
    [{foreach from=$oView->getAttributes() item=oAttr name=attribute}] 
    <tr> 
        <th id="attrTitle_[{$smarty.foreach.attribute.iteration}]"><strong>[{$oAttr->title}]</strong></th> 
        <td id="attrvalue_[{$smarty.foreach.attribute.iteration}]"> 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'plan') !== false}] 
	<img src="/out/pictures/symbol/plan.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'ecke') !== false}] 
	<img src="/out/pictures/symbol/ecke.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'nuten') !== false}] 
	<img src="/out/pictures/symbol/nuten.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'nuter') !== false}] 
	<img src="/out/pictures/symbol/nuten-r.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 't-') !== false}] 
	<img src="/out/pictures/symbol/t-nuten.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'tauchen') !== false}] 
	<img src="/out/pictures/symbol/tauchen.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'bohren') !== false}] 
	<img src="/out/pictures/symbol/bohren.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'helix') !== false}] 
	<img src="/out/pictures/symbol/helix.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'fasen') !== false}] 
	<img src="/out/pictures/symbol/fasen.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'kopier') !== false}] 
	<img src="/out/pictures/symbol/kopier.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'trennen') !== false}] 
	<img src="/out/pictures/symbol/trennen.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'innenk') !== false}] 
	<img src="/out/pictures/symbol/innenk.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'umwsp') !== false}] 
	<img src="/out/pictures/symbol/umwsp.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'gesin') !== false}] 
	<img src="/out/pictures/symbol/gesin.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'gesch') !== false}] 
	<img src="/out/pictures/symbol/gesch.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'pol') !== false}] 
	<img src="/out/pictures/symbol/pol.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'alu') !== false}] 
	<img src="/out/pictures/symbol/alu.jpg">
	[{/if}] 
[{if $oAttr->title == 'Eigenschaft' and strpos($oAttr->value, 'hsc') !== false}] 
	<img src="/out/pictures/symbol/hsc.jpg">
	[{/if}] 
[{if $oAttr->title != 'Eigenschaft'}]
	[{$oAttr->value}]
[{/if}]  
</td> 
    </tr> 
    [{/foreach}] 
</table>

```

dazu noch ein Attribut angelegt mit dem Namen Eigenschaft und mehren Werten,

vielleicht nicht die beste Lösung aber ist funktionell und reicht für mein vorhaben.

Gruss

Christoph

---

<div class="post-metadata">

**Author:** ![Hebsacker](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/hebsacker/32/45_2.png) [@Hebsacker](https://forum.oxid-esales.com/u/Hebsacker)\
**Post date:** [October 5, 2012, 2:59pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/8 "2012-10-05T14:59:02Z")

</div>

super - danke für die Rückmeldung und den Ansatz!

---

<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, 8:11pm UTC](https://forum.oxid-esales.com/t/icons-zur-visualiesierung-der-produkteigenschft/60178/9 "2026-07-13T20:11:20Z")

</div>


