[TYPO3-shop] redirecting to basket_info

Tomi Hrovatin tomi at tri-ex.si
Fri Sep 14 13:58:38 CEST 2007


Franz Holzinger wrote:
> Stephan Petzl a écrit :
>> in other words: can anyone tell me what the plugin.tt_products.PIDinfo
>> parameter is for?
> 
> this is used to replace the marker ###FORM_URL_INFO###
> 
> - Franz

Hi,
I used ###FORM_URL_INFO### in basket_template, so the user is redirected 
to PIDinfo page after the basket page.
But with this setting I get PIDinfo page every time I change Delivery or 
Payment type in pull-down menu.
Apparently, onChange js in Delivery and Payment pull-downs doesn't reset 
FORM url to BASKET PID.

Is there a way to override this behavior?

Franz, I also made a little change to display single product. I need to 
display single item on the same page a product is in. (my products are 
on regular pages). This way the product is always shown on one page, 
wherever it is shown (fronpage, newproducts, ...).

I introduced new TS setting PIDitemDisplay.1.type = productpid and added 
the code in class.tx_ttproducts_page.php, line:294 (I use version 2.5.2)

case 'productpid':
	$rc = intval ($row['pid']);
	break;

Maybe this can be useful to others and you can add this to the code. If 
you will change the code to achieve same functionality, please let me know.

There is one more issue with tt_products(2.5.2) and fh_library(0.0.19): 
I tried to implement static_info_tables (2.0.5) but fh_library returns a 
version info "E". I use php 5.2.1, typo3 4.1.2.

Regards,
Tomi Hrovatin


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