[TYPO3-shop] add products problem
Bas van der Togt
b.vandertogt at profinit.com
Sat Nov 25 22:35:04 CET 2006
Hello Franz,
I can't find this parameter: tx_ttproducts_pi1[backPID]=35
What do i have to add or change to stay in the single view?
Thanks for your help by the way!
cheers,
Bas
Franz Holzinger schreef:
> 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