[TYPO3-shop] add products problem

Franz Holzinger franz at fholzinger.com
Sat Nov 25 19:38:51 CET 2006


Hello Bas,

> Thank you for your answer Franz.
> With this setting it's still going back to the list view.
> How can i stay in the single view after adding an item to the cart?

check the form marker you have in the single view:

<form method="post" action="###FORM_URL###" name="###FORM_NAME###">

This is controlled by line 183 in pi1/class.tx_ttproducts_pi1.php:

$this->pid = ($conf['PIDbasket'] && $conf['clickIntoBasket'] ? 
$conf['PIDbasket'] : ($backPID ? $backPID : $TSFE->id));


Usually someone will want to go back to the list after having put a 
product into the basket.

Otherwise there should not be this parameter
tx_ttproducts_pi1[backPID]=35

It would be a new feature to make this possible.


- Franz



More information about the TYPO3-project-tt-products mailing list