[TYPO3-commerce] ###SELECT_ATTRIBUTES_VALUE### resolved as empty string

Volker Graubaum vg_typo3 at e-netconsulting.de
Wed Jan 2 06:53:40 CET 2008


Hi,

I will look at it today, never hat this problem, with conf['allArticles']

Greetings Volker

> 2 additions to my first posting:
> 
> 1) there was  mistake in my first posting: please replace that one 
> occurance of ###ARTICLE_ATTRIBUTES_VALUE### with 
> ###SELECT_ATTRIBUTES_VALUE###
> 
> 2) If I comment out line 500 of the current (rev 7762) code in file 
> pi1/class.tx_commerce_pi1.php, I get my attribute values back!! This is 
> a first and ugly workaround for me, but the big question is: WHY?
> 
>       495                         if($this->conf['allArticles']){
>       496
>       497                                 //TODO: correct like this?
>       498                                 for ($i=0;$i<$count;$i++) {
>       499
>       500 //                                      $attributeArray = 
> $prod->get_Atrribute_Matrix(array($prod->articles_uids[$i]), 
> $this->select_attributes,$showHiddenValues)
> 
> 
>>
>> Generated Output - without values :(
>> Rastung:
>> Durchmesser:
>> ESD-Ableitung:
>>
> Output is fine now:
> Durchmesser: 380 mm
> ESD-Ableitung: keine
> Rastung: keine
> 
> 
> 
> Is this a bug?
> 
> TIA
> Rainer


More information about the TYPO3-project-commerce mailing list