[TYPO3-commerce] selecting a attribute with attribute selector doesn't change artikle number in detail-view
Sven Mirkowitz
prioritaire at gmx.de
Wed Sep 2 14:41:27 CEST 2009
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
More information about the TYPO3-project-commerce
mailing list