[Typo3-shop] Howto show a SINGLE product?
Volker Graubaum
vg_typo3 at e-netconsulting.de
Thu Dec 23 14:58:33 CET 2004
Hi Tim,
I'm not sure about the param displayCurrentRecord, have a look at it.
The other way is changing this lines.
else {
$this->tt_product_single = $GLOBALS["HTTP_GET_VARS"]["tt_products"];
}
to
else {
$this->tt_product_single = $GLOBALS['HTTP_GET_VARS']['tt_products'];
if(!$this->tt_product_single && $this->config['code'] == 'SINGLE'){
$this->tt_product_single = $this->conf['defaultProductID'];
}
}
and add the param 'defaultProductID' to the typoScript Setup for
tt_products.
( not tried yet, but should work )
Greetings Volker
More information about the TYPO3-project-tt-products
mailing list