[TYPO3-commerce] Strange behaviour of dropdownfields (Typo 4.2.6, Commerce 0.9.8)

Chris Bernhard chris at dreamride.de
Thu Aug 20 13:19:04 CEST 2009


Morten Olesen schrieb:
> Hi Chris,
> 
> Sorry for the late reply - vacation and all.
> 
> I remembered that when updating a very old shop to the latest svn we had 
> a problem with some attributes disappearing - the solution at that time 
> was to go to the attribute and save it once more - guessing something 
> has changed between then and the inline records
> 
> /Morten
> 
> Chris Bernhard wrote:
>> Morten Olesen schrieb:
>>> Hi Chris,
>>>
>>> look at pi1/category_product.tpl there are quite a few new changes, 
>>> such as related products, etc so quite a few new markers.
>>>
>>> The subpart your looking for is
>>> ###SELECT_ATTRIBUTES###
>>>
>>> Cant recall the marker to insert the sub part in the article changed, 
>>> but again comparing your old template to the new one should clear 
>>> that up ;)
>>>
>>>
>>> /Morten
>>> Chris Bernhard wrote:
>>>> Morten Olesen schrieb:
>>>>> Hey Chris,
>>>>>
>>>>> iirc the check for weather to display the UPDATE! checks if there 
>>>>> are parent-child associations between categories that aren't in the 
>>>>> MM table. So creating a category inside another category might 
>>>>> trigger it - but then if it's not showing then it's properly not 
>>>>> needed ;)
>>>>>
>>>>> /Morten Olesen
>>>>>
>>>>> Chris Bernhard wrote:
>>>>>> Morten Olesen schrieb:
>>>>>>> Hey Chris,
>>>>>>>
>>>>>>> In the extension manager when viewing the extension you will have 
>>>>>>> to run "UPDATE!" from the drop down menu that also contains dump 
>>>>>>> db, etc - though some time that menu item wont show till you've 
>>>>>>> relogged.
>>>>>>>
>>>>>>> Other than that it should be relatively pain free
>>>>>>>
>>>>>>> /Morten Olesen
>>>>>>> Chris Bernhard wrote:
>>>>>>>> Morten Olesen schrieb:
>>>>>>>>> Hej Chris,
>>>>>>> ....
>>>>>>>>
>>>>>>>> Hi Morten,
>>>>>>>>
>>>>>>>> many thanks for your answer! Okay, the best way would be to 
>>>>>>>> upgrade to the newest SVN-Version. Whats the best way to upgrade 
>>>>>>>> from an older version to an actual version? First Step would be:
>>>>>>>>
>>>>>>>> 1. Checkout from SVN
>>>>>>>> 2. Rename ext/commerce into ext/commerce_OLD
>>>>>>>> 3. Upload into ext/commerce folder
>>>>>>>> 4. In Extension Manager choose upgrade
>>>>>>>>
>>>>>>>> Thats it or is there something more to take care about?
>>>>>>>>
>>>>>>>> I'll have an look at the chained attributes extension, because 
>>>>>>>> there are a lot extensions in my current installation like 
>>>>>>>> previous - next article pagination and some more i dont want to 
>>>>>>>> integrate again manually in an actual SVN.
>>>>>>>>
>>>>>>>> Thanks in advantage and best regards,
>>>>>>>>
>>>>>>>> Chris
>>>>>>
>>>>>> Hi Morten,
>>>>>>
>>>>>> thanks a lot for your answer. I read something about this and in 
>>>>>> my extension manager i cannot find the UPDATE! order and it isnt 
>>>>>> appearing
>>>>>> after logging in again. Are there any settings in the install 
>>>>>> tool, to enable the UPDATE order in the dropdownbox or is there an 
>>>>>> patch to activate this?
>>>>>>
>>>>>> Many thanks in advantage and have a nice day,
>>>>>>
>>>>>> Chris
>>>>
>>>> Hi Morten,
>>>>
>>>> thanks for answering me. Played around yesterday for a while with 
>>>> various versions of commerce and finally if found the UPDATE! order :-)
>>>> Everything seems to work fine, except the dropdowns. They dont 
>>>> appear and the markers
>>>> ###ARTICLE_SELECT_ATTRIBUTES#### ###SUBPART_ARTICLE_ATTRIBUTES###
>>>> arent rendered yet. Should there be an new subpart for this?
>>>>
>>>> My template looks like this:
>>>>
>>>> <!-- ###PRODUCT_BASKET_FOR_SINGLEVIEW### -->
>>>> <!-- ###ARTICLE_VIEW### -->
>>>> <div class="com-single-action-entry">
>>>> ###ARTICLE_HIDDENFIELDS###
>>>> ###LANG_ORDERNUMBER###: ###ARTICLE_ORDERNUMBER###
>>>> <span 
>>>> class="price_detail">###LANG_ONLY######ARTICLE_PRICE_GROSS###</span>
>>>> ###ARTICLE_SELECT_ATTRIBUTES###<br />
>>>> ###SUBPART_ARTICLE_ATTRIBUTES###<br />
>>>> <div class="delivery_state"><div 
>>>> class="description">###LANG_ORDERSTATUS###:</div><img 
>>>> src="fileadmin/icons/gruen.gif" border="0" alt="" /></div><br />
>>>>               <div class="article_amount">###LANG_AMOUNT###:</div>
>>>>                ###STARTFRM###
>>>>                ###GENERAL_HIDDENCATUID###
>>>> <input type="text" class="com-input-qty" value="1" 
>>>> name="###QTY_INPUT_NAME###" size="2"/>
>>>>                <input class="basket" type="submit" 
>>>> value="###LANG_SUBMIT###"/>
>>>>                </form>
>>>> </div>
>>>>
>>>> I tried the template which came with the SVN Version, but same issue.
>>>>
>>>> Thanks a lot in advantage and best regrards,
>>>>
>>>> Chris
>>
>> Hi Morten,
>>
>> its me again ;-) Rewrited the complete Template, but with no effect at 
>> all. Attribute selector i still not rendered and all other attributes 
>> have only the output "array" in the frontend. Hmm... Maybe i have to 
>> delete all attributes and insert them new. Have no other idea than 
>> this... What do you think about?
>>
>> Thanks a lot and have a nice sunday,
>>
>> Chris

Hi Morten,

thanks for your answer. Hope you had a nice holiday, i was in vacations 
too. I'll try this asap and will tell you, if this solution is working 
for me.

Best regards,

Chris


More information about the TYPO3-project-commerce mailing list