[TYPO3-commerce] A strange problem with attribute dropdowns - works and not works
Erik Svendsen
erik at linnearad.no
Mon Nov 9 13:27:25 CET 2009
Rik Willems skrev:
> It is the problem. Try this link [1]. Add the product at the link you
> sent to the basket. Then click the product in the basket to go back to
> the product. You'll see the showUid in the url. Now the dropdowns do work.
>
> [1]
> http://ngdigital.linnearad.no/index.php?id=150&tx_commerce_pi1[catUid]=6&tx_commerce_pi1[showUid]=5#att
>
Of course, because this is another page (productdetails), not the
productlisting on the page with id 105. Which are the page with the
dropdown problem. Everywhere else it works.
Regards
Erik
>
> Erik Svendsen schreef:
>> Rik Willems skrev:
>>> When I'm on this page [1] a change in the dropdowns leads me to [2]
>>> every time.
>>>
>>> Link [1] is not correct. It does show a product but has no product
>>> uid in the address. Remove the chash part of link [1] and you'll see
>>> what happens. Add the showUid = X to the url and it should work.
>>>
>>> [1]
>>> http://ngdigital.linnearad.no/index.php?id=forbruksmateriell&tx_commerce_pi1[catUid]=6&cHash=b5fdbc7e46
>>>
>>>
>>> [2]
>>> http://ngdigital.linnearad.no/index.php?id=forbruksmateriell&tx_commerce_pi1[catUid]=6&tx_commerce_pi1[showUid]=0#att
>>>
>>>
>>
>> This isn't the problem - the chash part is related to the left
>> navigation - and are correct.
>>
>> These pages are also the pages where the dropdown works.
>>
>> Regards
>>
>> Erik
>>
>>
>>>
>>> Erik Svendsen schreef:
>>>> Rik Willems skrev:
>>>>> Hi Erik,
>>>>>
>>>>> I must admit that I haven't look to closely, but when I change the
>>>>> dropdown a (sort of) lightbox appears very shortly and the page
>>>>> gets reloaded or something. This way the change in dropdown is not
>>>>> submitted so it isn't display differently. Perhaps this is a good
>>>>> place to start.
>>>>>
>>>>> Greets
>>>>>
>>>>
>>>> The lightbox isn't a part of the problem, only used to check loadtimes.
>>>>
>>>> And the possibility that the change in dropdown is not submitted is
>>>> I'm aware of. But the problem is, why is it submitted one place and
>>>> not another place. Can't see any real differences.
>>>>
>>>> Regards
>>>>
>>>> Erik
>>>>
>>>>
>>>>> Erik Svendsen schreef:
>>>>>> Server/configuration:
>>>>>>
>>>>>> TYPO3 4.2.10
>>>>>> Commerce 0.12.0 (from Trunk).
>>>>>>
>>>>>> The problem isn't so easy to explain, in short attribute dropdown
>>>>>> works and not works depending on categorylevel, kind of menu - to
>>>>>> be honest, I really don't know. So I have to use an example.
>>>>>>
>>>>>> The structure of categories in Commerce is like this. I only using
>>>>>> the relevant parts.
>>>>>>
>>>>>> Produktkatalog (id 2)
>>>>>> - Forbruksmateriell (id 3)
>>>>>> -- Blekk (id 4)
>>>>>> --- Mutoh (id 6)
>>>>>> ---- Mutoh EcoSol (product)
>>>>>> --- 3M (id 5)
>>>>>> ---- 3M product 1
>>>>>> ---- 3M product 2
>>>>>>
>>>>>> And of course necessary articles.
>>>>>>
>>>>>> Look first at page http://ngdigital.linnearad.no/index.php?id=105
>>>>>> (display). The dropdown are there, but isn't working. The commerce
>>>>>> pi1 plugin is her using Mutoh (id 6) as category.
>>>>>>
>>>>>> The look at
>>>>>> http://ngdigital.linnearad.no/index.php?id=forbruksmateriell&tx_commerce_pi1[catUid]=6&cHash=b5fdbc7e46
>>>>>> . Her I'm using Forbruksmateriell as category, have the plugin on
>>>>>> page Forbruksmateriell (id 3), and generating the menu with
>>>>>> commerce menu (special, userfunction). Here the dropdown works
>>>>>> most of the time, besides it sometimes load the
>>>>>> "Forbruksmateriell" page.
>>>>>>
>>>>>> The menu and category are the only real differences in the
>>>>>> settings. All TS, templates and so on are identical.
>>>>>>
>>>>>> The form tag and content (where the selectboxes are) is identical,
>>>>>> except for one value. The javascript, heading and rest of page is
>>>>>> also more and less identical. Javascript are identical.
>>>>>>
>>>>>> The Display page is showing following
>>>>>> action="index.php?id=105&tx_commerce_pi1[catUid]=6&tx_commerce_pi1[showUid]=0#att"
>>>>>>
>>>>>>
>>>>>> The Mutoh page is showing following
>>>>>> action="index.php?id=forbruksmateriell&tx_commerce_pi1[catUid]=6&tx_commerce_pi1[showUid]=0#att"
>>>>>>
>>>>>>
>>>>>> The problem is that on this installation I need the dropdowns to
>>>>>> work when we are using the plugin as on the Display page, using
>>>>>> the category one level above the product, and not using commerce
>>>>>> navigation.
>>>>>>
>>>>>> Someone has a clue whats's the problem are, and how it can be solved.
>>>>>>
>>>>>> Regard
>>>>>>
>>>>>> Erik Svendsen
>>>>>>
More information about the TYPO3-project-commerce
mailing list