In der Template-Datei ws_product_comparison_horizontal.htm finden Sie bereits eine Auswahl an Tags und deren Positionierung für eine horizontale Anzeige des Produktvergleichs.
Wegweiser: Produktvergleich
Speichern Sie diese Datei in Ihrem Templateverzeichnis, z. B. benutzer/templates/translation, unter dem Namen, den Sie im Abschnitt <Templates> hinter dem Parameter ProductComparison = eingetragen haben.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>~FMSG-TitleFirma~</title> <meta name="description" content="~FMSG-TitleFirma~ ~FMSG-MetaDescr~"> <meta name="keywords" content="~FMSG-MetaKeywords~"> <meta name="page-topic" content="~FMSG-MetaPageTopic~"> <meta name="copyright" content="~FMSG-MetaCopyright~"> <meta http-equiv="imagetoolbar" content="~FMSG-MetaImagetoolbar~"> <meta http-equiv="language" content="~FMSG-MetaLanguage~"> <meta name="robots" content="noindex,nofollow"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <base href="~URL-Template~"> <!--{WS-Config} CatMouseOver = yes PMPositionType = css_ul {/WS-Config}--> </head> <body> <h1>Inhaltsbereich des horizontalen Produktverleichs für das Template ws_product_comparsion.htm</h1> <p>Bitte kopieren Sie den Inhalt zwischen <body> und </body> in Ihr Template ws_product_comparsion.htm.</p> <form action="~FORM-Product~"> {WS-ProductComparison} {WS-ProductComparison_NumberOfProducts} <p>Es werden ~WS-ProductComparison_NumberOfProducts~ Produkte miteinander verglichen.</p> {/WS-ProductComparison_NumberOfProducts} {!WS-ProductComparison_NumberOfProducts} <p>Der Produktvergleich ist leer.</p> {/!WS-ProductComparison_NumberOfProducts} {/WS-ProductComparison} {MSG-ProductCompare_Notify} <p>~MSG-ProductCompare_Notify~</p> {/MSG-ProductCompare_Notify} {Cat-Data} <table> <!-- Header --> <tr> <td class="prc-header">Anzahl</td> <td class="prc-header">Bild</td> <td class="prc-header">Name</td> <td class="prc-header">Preis</td> {PRC-ComparisonWithVariations} <td class="prc-header">Varianten</td> {/PRC-ComparisonWithVariations} <!-- Vergleichsfelder --> {@PRC-CompareField} <td class="prc-header">~PRC-CompareFieldDescr~</td> {/@PRC-CompareField} <td class="prc-header">Gefunden in</td> <td class="prc-header"> </td> <!-- Spalte "In den Warenkorb" --> <td class="prc-header"> </td> <!-- Spalte "Von Vergleich löschen" --> </tr> {@PR-DATA} <tr> <td class="prc-line~PR-Position(2)~">~PR-Position~</td> <td class="prc-line~PR-Position(2)~"> {PR-Thumbnail} <a href="~PR-Link~"><img src="~PR-Thumbnail~" alt="~PR-Name~" border="0" title=""></a> {/PR-Thumbnail} {!PR-Thumbnail}--{/!PR-Thumbnail} </td> <td class="prc-line~PR-Position(2)~"> <a href="~PR-Link~">~PR-Name~</a> </td> <td class="prc-line~PR-Position(2)~"> ~PR-Price~ </td> {PRC-ComparisonWithVariations} <td class="prc-line~PR-Position(2)~"> {PRC-Variations}~PRC-Variations~{/PRC-Variations} </td> {/PRC-ComparisonWithVariations} <!-- Vergleichsfelder --> {@PRC-CompareField} <td class="prc-line~PR-Position(2)~"> ~PRC-CompareFieldValue~ </td> {/@PRC-CompareField} <td class="prc-line~PR-Position(2)~"> <a href="~Cat-Link~">~Cat-Name~</a> </td> <td class="prc-line~PR-Position(2)~"> {!ST-ProductComparisonPosition_OK} {/!ST-ProductComparisonPosition_OK} {ST-ProductComparisonPosition_OK} <p>Menge: <input type="text" size="4" name="~PR-Quantity_Input~" value="" /><br> <input type="submit" value="In den Warenkorb"></p> {/ST-ProductComparisonPosition_OK} </td> <td class="prc-line~PR-Position(2)~"> <a href="javascript:ws_PRCdeletePRCElement('~PRC-DeleteLink~');">vom Produktvergleich löschen</a> </td> </tr> {/@PR-DATA} </table> {/Cat-Data} </form> </body> </html>