Seite 1 von 1
Produkt Zubehör
Verfasst: 12.06.2011, 22:24
von wolfschw
Hallo
Im Shop kann man die Artikel mit Zubehör von Produkten zuweisen.
In der Produkt Info werden dan unten die Artikel aufgelistet.
Hätte jetzt gern noch über dieser Zubehör-Liste eine Überschrift,
z.B. Zubehör günstig mitbestellen für ...
Habe schon mehrere sachen ausprobiert
bekomme es aber nicht hin, es wird immer alles doppelt und dreifach angezeigt.
In welcher Datei muß man da wo was ansetzen, und vor allem wie ?
gruß
Wolfgang
Verfasst: 13.06.2011, 07:38
von r23
Hallo,
man kann in dem Template
~/oos_temp/templates/*skin*/products/product_info.php
ca Zeile 155
Code: Alles auswählen
<table border="0" width="100%" cellspacing="0" cellpadding="0">
{if $oos_page_numrows gt 0 && ( $smarty.const.PREV_NEXT_BAR_LOCATION eq '2' or $smarty.const.PREV_NEXT_BAR_LOCATION eq '3' )}
{$oosPageNavigation}
{/if}
<tr>
<td>{include file="$theme_set/products/slavery_product_listing.html"}</td>
</tr>
{if $oos_page_numrows gt 0 && ( $smarty.const.PREV_NEXT_BAR_LOCATION eq '2' or $smarty.const.PREV_NEXT_BAR_LOCATION eq '3' )}
{$oosPageNavigation}
{/if}
<tr>
eine Überschrift einfügen.
Code: Alles auswählen
<tr>
<td class="main"><strong>{$lang.text_accessories}</strong></td>
</tr>
Wenn möchte kann man dies über die Seiten (1,2,3 ... weiter) Navigation schreiben
Code: Alles auswählen
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="main"><strong>{$lang.text_accessories}</strong></td>
</tr>
{if $oos_page_numrows gt 0 && ( $smarty.const.PREV_NEXT_BAR_LOCATION eq '2' or $smarty.const.PREV_NEXT_BAR_LOCATION eq '3' )}
{$oosPageNavigation}
{/if}
oder darunter
Code: Alles auswählen
<tr>
<td class="main"><strong>{$lang.text_accessories}</strong></td>
</tr>
<tr>
<td>{include file="$theme_set/products/slavery_product_listing.html"}</td>
</tr>
~/shop/.../deu/products_info.php
Code: Alles auswählen
$aLang['text_up_sell_products] = 'Zubehör günstig mitbestellen für ... ';
Frohe Pfingsten
ralf
Verfasst: 13.06.2011, 09:15
von wolfschw
Hallo und Supi
Jetzt habe ich einen Ansatzpunkt
Vielen Dank
gruß
Wolfgang
Verfasst: 13.06.2011, 09:52
von wolfschw
Hallo
Jetzt habe ich doch noch ein Problem,
Wenn ein Produkt kein Zubehör hat, erscheint die Überschrift weiterhin.
gruß
Wolfgang
Verfasst: 14.06.2011, 21:05
von wolfschw
Hallo
Noch da