[TYPO3-shop] Problem with backPID

Christian Lerrahn typo3 at penpal4u.net
Tue Jan 6 04:15:52 CET 2009


Hi Franz,
On Tue, 23 Dec 2008 20:52:56 +0100
Franz Holzinger <franz at ttproducts.de> wrote:

> Christian Lerrahn (Cerebrum) a écrit :
> > Hi,
> > I'm using a different page for the single view than for the list
> > view (I have to for TV template reasons). Now, this all works fine
> > until someone goes to an items single view and hits the back button
> > there. That will result in a backPID pointing to the single view
> > and as soon as I try to put anything in the basket, I'll see the
> > single view with an error message about the missing item uid.
> > 
> > How do I get tt_products to always post the basket updates to the
> > list view and ignore the backPID for anything but the back button?
> 
> Check out the latest tt_products 2.5.9 from here:
> 
> http://jambage.com/index.php?id=170
> 
> This will soon come into the versions 2.6.1 and later.

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...

Cheers,
Christian



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