[TYPO3-commerce] selecting a attribute with attribute selector doesn't change artikle number in detail-view

Robert Heel rheel at 1drop.de
Wed Sep 2 17:24:36 CEST 2009


Hi Sven,

you have to put the dropdown outside the <form>-tag, because it has it's 
own <form> ... or apply my patch http://forge.typo3.org/issues/show/4414

Regs,

Robert


Sven Mirkowitz schrieb:
> Hello,
> 
> I'm using tx_commerce 0.11.15 and had the problem that no selectbox for 
> attributes was shown.
> 
> I added this block in the pi1 template:
> 
> <!-- ###SELECTOR_ATTRIBUTES_DROPDOWN### begin-->
> <label>###SELECT_ATTRIBUTES_TITLE###</label>
> <select onchange="###SELECT_ATTRIBUTES_ON_CHANGE###" 
> name="###SELECT_ATTRIBUTES_HTML_ELEMENT_NAME###">
>      <option value="">###SELECT_ATTRIBUTES_ITEM_TEXT_ALL###</option>
>      <!-- ###SELECTOR_ATTRIBUTES_DROPDOWN_ITEM### begin-->
>      <option value="###SELECT_ATTRIBUTES_VALUE_VALUE###" 
> ###SELECT_ATTRIBUTES_VALUE_SELECTED###>###SELECT_ATTRIBUTES_VALUE_ICON### 
> ###SELECT_ATTRIBUTES_VALUE_NAME###</option>
>      <!-- ###SELECTOR_ATTRIBUTES_DROPDOWN_ITEM### end -->
> </select>
> ###SELECT_ATTRIBUTES_UNIT###
> <!-- ###SELECTOR_ATTRIBUTES_DROPDOWN### end -->
> 
> 
> the attribute selector is now showing in listview and in detailview. 
> Selecting a attribute changes the artikle number and submits it in to 
> the basket as an own article.
> 
> In the detailview the selection of an attribute doesn't change the 
> articlenumber. You can select what you want, only the default attribute 
> is transfered to the basket.
> 
> Any Ideas?
> 
> Sven
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce

-- 
Onedrop Solutions GmbH & Co. KG
Neugablonzer Str. 1
93073 Neutraubling

Tel: +49 (9401) 88165-28
Fax: +49 (9401) 88165-50
Mail: rheel at 1drop.de
http://www.1drop.de

Kommanditgesellschaft
Sitz: Neutraubling
Registergericht Regensburg, HRA 7674

Komplementärin
Onedrop Solutions Verwaltungs GmbH
Sitz: Neutraubling
Registergericht Regensburg, HRB 10570
Geschäftsführer: Robert Zierhofer


More information about the TYPO3-project-commerce mailing list