[TYPO3-commerce] Problem about links in CATEGORY_LIST_ITEM

Erik Sokoll erik at t3media.de
Thu Apr 1 11:20:03 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi People,
talking about bugs and fetures [1] I would say the following things are
bugs, like someone got an idea and now it's still inside the code.

Links to (sub-) categories inside CATEGORY_LIST_ITEM contain...

&tx_commerce_pi1[path]=79,2,1

...and...

&tx_commerce_pi1[mDepth]=2

...and this will break a navigation done by
user_tx_commerce_catmenu_pub->init. So the whole menue is collapsed
after using this link.
Moreover - and as far as there is only one product inside this
sub-category - the link contains tx_commerce_pi1[showUid] as well.

As far as I know [path] and [mDepth] show only up here, which made me
thinking about a bug.

[1] http://files.myopera.com/freejerk/files/bug-feature.jpg

Greetings...
Erik

P.S. Live Demo available by PM.

Erik Sokoll schrieb:
> Dear group,
> if I use the template subpart ###CATEGORY_LIST_ITEM### to make a list of
> the included sub-categories, the links under CATEGORY_ITEM_TITLE and
> CATEGORY_ITEM_TEASERIMAGES guide to the 'detail' page [1] and not to the
> 'product list' page [2] like in the (left side-) navigation, which I
> create by using user_tx_commerce_catmenu_pub.
> (This happens although 'overridePid' is set to the 'product list' page-ID.)
> 
> The resulting problems are as following:
> 
> 1. The 'detail' template is wrong in this case. In my opinion it should
> guide to the 'product list', because there are more products inside the
> sub-category.
> 
> 2. The normal navigation (user_tx_commerce_catmenu_pub) breaks, so the
> corresponding part of the navigation is not expanded (and you do not
> know where you are).
> 
> 3. This crazy empty <li> shows up again in the end of the 'normal'
> navigation (user_tx_commerce_catmenu_pub).
> 
> 
> The links are:
> 
> wrong (e.g. CATEGORY_ITEM_TITLE)
> [1]
> http://XXX.XXXXXXX.de/Details.30.0.html?&no_cache=1&tx_commerce_pi1[catUid]=43&tx_commerce_pi1[path]=30,2,1&tx_commerce_pi1[mDepth]=2&cHash=e95d873e7794c46cfe464e7a94a30136
> 
> correct (user_tx_commerce_catmenu_pub)
> [2]
> http://XXX.XXXXXXX.de/Produktliste.31.0.html?&no_cache=1&tx_commerce_pi1[catUid]=43&cHash=79e03d7868
> 
> 
> Question:
> Does anybody know how I can change this?
> Please please help!
> 
> 
> Some additional informations:
> Commerce version 0.12.2
> TYPO3 version 4.3.2
> HTML-template: the original one for products
> 
> If someone want's to see this in a 'live Demo', please send me a PM. An
> BE-login is available as well (for people I know).  ;)
> 
> Workaround:
> If I edit the plugin under web/page and take out the reference to the
> 'detail' page, it stays on the 'product list' but the navigation from
> user_tx_commerce_catmenu_pub still breaks (and of course the empty <li>
> shows up again).
> 
> 
> Greetings...
> Erik
> 
_______________________________________________
TYPO3-project-commerce mailing list
TYPO3-project-commerce at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce

- --

Erik Sokoll
Am Wengert 23
97271 Kleinrinderfeld

M 0175 444 666 2
E erik at t3media.de
I http://t3media.de



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLtGVDuogOZOO2WPQRApMtAJ4otMhHmXgQWPmkWp4+My446p1h2QCgk6Q5
LT53IBfb5N1l/29hTZmydMg=
=tQ7+
-----END PGP SIGNATURE-----


More information about the TYPO3-project-commerce mailing list