Zum Inhalt springen

RealUrl configuration für Commerce

Erstellt am 16. Dezember 2008 · 1 Antwort · letzte Antwort am 18. Dezember 2008

Tags: Frage

Tob1 ·

Hey,

hat hier vielleicht jemand eine Real Url Konfiguration für Commerce, die es schafft, kategorie/kategorie/produkt.html darzustellen? Ich beiß mir da schon seit Tagen die Zähne aus.

Ein Problem ist für mich vorallem, wenn eine Kategorie mit dem selben Namen öfters im Produktbaum und an verschiedenen Stellen vorkommt. Bzgl. Eindeutigkeit der Position.

lg und thx in advance

tobi

cemoezer ·

'categorie' => array(
array(
'GETvar' => 'tx_commerce_pi1[catUid]',
'lookUpTable' => array(
'table' => 'tx_commerce_categories',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'enable404forInvalidAlias' => '1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
// product
'product' => array(
array(
'GETvar' => 'tx_commerce_pi1[showUid]',
'lookUpTable' => array(
'table' => 'tx_commerce_products',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'enable404forInvalidAlias' => '1',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),