[Typo3-shop] Digital goods / pass value (pagenumber) from list view page to order

Jens Liesegang sunos at gmx.de
Wed Nov 30 21:49:12 CET 2005


Hello Franz,

>> Is it possible (and when how) to pass the value of the pagenumber where the
>> products list is shown to the basket so that it is present trough the check
>> out process?
>> 
> you have to store this pid together with the products in the
> $this->itemArray when the user puts it into the basket.
> 
Thanx, but I don't get it. As far as I understand $this->itemArray gets
initialised by function getCalculatedBasket() on line 747 in class basket.
There is a loop over all pages and _predefined_ values of the items in the
basket are calculated. These values are then filled in the array.

So I would have to extend the function to include an additional value?

Isn't there a quick and dirty solution if I would make sure that just one
products is shown on a page?

Since I am not a great programmer our help is very appreciated.

Jens




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