Entwicklung

ID #1014

How to integrate the shop structure into the template? And how to combine webstructure and shop structure?

How-to-create:

Commerce-Templates Create commerce-folder or get folder_id In RedSYS path: module -> commerce -> Katalog If it’s created (or if it was created already), get the folder_id: You can see the folder_id, if you are mouse-over on the folder. Then it appears a Link below with the folder_id. Otherwise you can get the folder_id from the database. Create webstructure e.g „Produkte or Shop“-folder Module -> Webstruktur -> Root Create product startingpage If the folder in the webstructure is already created, you have to create a page for „product list“ e.g. product_view.php Folderinformations for shop folder By clicking on „file information“ button, opening in pop-up menu: Metatags -> COMMUNITYSETUP: eshop Metatags -> ALTERNATIV: phpbean:de.commerce.foldermanager{1422,product_view.php} 1422 is the folder_id (in point 1 is the discription how to get the folder_id) product_view.php is the landingpage, if someone clicks on a shop menupoint. Integrate sitemenu in template You have to insert the <sitemenu>-Tag in the Template on the correct place to make the navigation dynamic. Example: If the webstructure looks like this: Root (ebene 0) de (ebene 1) Produkte (ebene 2) Then the following sitemenu has to be created in template:

<sitemenu startdepth="2" enddepth="2"> <ul> <menuitem depth="2" state="normal"> <li> <a href="<menuvalue content='link'/>" class="navi_top_lo"> <menuvalue content="title">home_lo</menuvalue> </a> </li> </menuitem> <menuitem depth="2" state="high"> <li> <a href="<menuvalue content='link'/>" class="navi_top_hi"> <menuvalue content="title">home_hi</menuvalue> </a> </li> </menuitem> </ul> </sitemenu> More informations about sitemenu:http://svn.redsys.de/en/ref/d7/d91/classxml__template__renderer.html

Tags: -

Verwandte Artikel:

Letzte Änderung des Artikels: 2008-07-14 08:37
Verfasser des Artikels: RedSYS Dev Team
Revision: 1.1

Sprache ändern
 

Digg it! Artikel ausdrucken Artikel weiterempfehlen Als PDF-Datei anzeigen
Übersetzungsvorschlag für Übersetzungsvorschlag für
Bewertung der Nützlichkeit dieses Artikels:

Durchschnittliche Bewertung: 0 von 5 (0 Bewertungen)

vollkommen überflüssig 1 2 3 4 5 sehr wertvoll

Es ist möglich, diesen Artikel kommentieren