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

Rainer Thieringer hsnews at web-me.de
Sun Dec 30 13:07:09 CET 2007


Hi Folks,
I am using the latest-greatest tx_commerce version from SVN. Probably 
after one of those SVN updates the corresponding value for the marker 
###ARTICLE_ATTRIBUTES_VALUE### is not displayed in the product list anymore.

Related PI1 template content:
<!-- ###SELECT_ATTRIBUTES### begin-->
<div class="com-select-attributes" >
         <span class="com-select-row">###SELECT_ATTRIBUTES_ICON### 
<b>###SELECT_ATTRIBUTES_TITLE###:</b>  ###SELECT_ATTRIBUTES_VALUE### 
###SELECT_ATTRIBUTES_UNIT### <br /></span>
</div>
<!-- ###SELECT_ATTRIBUTES### end -->


Generated Output - without values :(
Rastung:
Durchmesser:
ESD-Ableitung:


I could swear that this worked a couple of weeks ago!

As debugged so far the code in pi1/class.tx_commerce_pi1.php results in 
an empty string for $v:

list($k,$v) = each($myAttribute['values']); 
 
$markerArray["###SELECT_ATTRIBUTES_VALUE###"] = $v; 
 
$markerArray["###SELECT_ATTRIBUTES_UNIT###"] = $myAttribute['unit'];


Was there a change in the database structure that I have been missing 
using the SVN way? My last regular update from TER using the extension 
manager was for version 0.9.2. Also the extension manager shows me some 
code warnings:

It seems like there is a backend module in "mod_tracking/conf.php" which 
is not configured in ext_emconf.php
The XCLASS filename-key "commerce/ux_localRecordList.php" was different 
from "ext/commerce/class.ux_localrecordlist.php" which it should have been!
No XCLASS inclusion code found in file 
"lib/class.tx_commerce_article_price.php"
No XCLASS inclusion code found in file 
"lib/class.tx_commerce_element_alib.php"
Couldn't find the include_once statement for XCLASS!
Couldn't find the include_once statement for XCLASS!
The XCLASS filename-key 
"ext/commerce/hooks/class.tx_srfeuserregister_hooksHandler.php" was 
different from 
"ext/commerce/hooks/class.tx_srfeuserregister_commerce_hooksHandler.php" 
which it should have been!
Class filename "payment/libs/class.tx_commerce_payment_wirecard_lib.php" 
did NOT contain the class "tx_commerce_payment_wirecard_lib"!



Thank you for you help
Rainer


More information about the TYPO3-project-commerce mailing list