[TYPO3-shop] pageAsCategory not working
Ian Solo
ian at webian.it
Sun Nov 6 19:38:39 CET 2011
Hello,
I'm unable to make tt_products to work with pageAsCategory = 2
I have some pages with products records inside, but each of these pages
shows all the products, not only the products in the selected page.
I debugged the code and found that in class.tx_ttproducts_list_view.php
line 379:
$pid = $pageViewObj->getModelObj()->getParamDefault($theCode,
$this->pibase->piVars[$pageViewObj->piVar]);
after this line $pid is empty, but I guess that is should be set to the
PID of the current page.
If I hack it, setting manually $pid with the page ID of the current
page, then it works.
TYPO3 4.5.7
tt_products 2.7.2
Any tips?
Thanks,
ian
More information about the TYPO3-project-tt-products
mailing list