[TYPO3-shop] Problem with backPID

Christian Lerrahn typo3 at penpal4u.net
Wed Jan 7 07:08:41 CET 2009


Hi Franz,
> > I'm now using version 2.5.10 and the problem as described above is
> > gone. However, the fix seems to introduce a new problem. Now, if I
> > put an item into the cart from the single view, the POST will go to
> > the single view. So far, so good. However, tt_products will
> > determine the backPID as the id I posted from which is already the
> > single view. Therefore hitting the back button will now take me in
> > loops and I will always stay on the single view page. While
> > logically this makes perfect sense, it is obviously not what the
> > user what expect the back button to do. Is this really a new bug or
> > do I just lack some config? I'm setting PIDitemDisplay and
> > PIDlistDisplay in my TS...
> 
> There is a new bug, because the backPID is always reassigned in the 
> single view.
> 
> Check the attached patch.

The patch only partly fixes the problem. Now the backPID is correct but
the parameter tx_ttproducts_pi1[product] does not get deleted from the
URL, so that the list view on return will display a single item, too. :(

I'm sorry for having brought this up on the mailing list instead of
reporting a bug on the bug tracker. I wasn't sure at first if this was
a bug or just a configuration problem. Please let me know if you want
me to write a bug report instead.

Cheers,
Christian



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