[Typo3-shop] tt_products issues..

Vladimir Nikolov nikolov.vladimir at gmail.com
Sun Apr 24 11:13:12 CEST 2005


Hello Franz,

I meant that this(my) statement was wrong ;):
>>>I suspect that I either I haven't t3lib_div library or I din't set it 
>>>somewhere.


> This statement has been in this code for a very long time.
>
> It calls a method in the file class.t3lib_div.php:
>
> /**
>  * Returns the global GET array (or value from) normalized to contain 
> un-escaped values.
>  * ALWAYS use this API function to acquire the GET variables!
>  * Usage: 27
>  *
>  * @param string Optional pointer to value in GET array (basically name of 
> GET var)
>  * @return mixed If $var is set it returns the value of $_GET[$var]. If 
> $var is NULL (default), returns $_GET itself. In any case *slashes are 
> stipped from the output!*
>  * @see _POST(), _GP(), _GETset()
>  */
> function _GET($var=NULL) {
> $value = ($var === NULL) ? $_GET : (empty($var) ? NULL : $_GET[$var]);
> if (isset($value)) { // Removes slashes since TYPO3 has added them 
> regardless of magic_quotes setting.
> if (is_array($value)) { t3lib_div::stripSlashesOnArray($value); } else { 
> $value = stripslashes($value); }
> }
> return $value;
> }
>
> Check this file in your installation.
>
In typo version 3.6.0RC1 I couldn't find a function with that name in 
class.t3lib_div.php(thats why it didn't work), but in typo version 3.6.2 
there is _GET() function, although it is a bit different in syntax, but do 
the same thing. My mistake with the versions, sorry.
Anyway, in the meantime I edit a bit the php and the template file and 
implemented second total price, because it was urgent for me. But there is 
still the same problem about entering address information. I've done what 
you advised me to do:

plugin.tt_products.requiredInfoFields = name
plugin.tt_products.PIDagb >

and also changed payment.addRequiredInfoFields, but with no luck.
I'm entering a name, but...again an error message.
Do you have anything else in mind?
Thanks.


Vladimir





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