[Typo3-shop] tt_products: some questions
Franz Holzinger
franz at fholzinger.com
Tue Jul 12 14:46:32 CEST 2005
>
> I'm working with zk_products and wanna use the functions of color and size.
>
> It's possible to add these properties to each article in the backend of
> typo3.
>
> What should I do to see a dropdownfield in frontend with all colors and
> sizes of each article?
> Should I change some content in shop-template or adding Typo3-Script?
>
>
Inside the ###ITEM_LIST_TEMPLATE### (from the zk_products
pi/products_template_de.tmpl
<!-- ###ITEM_LIST### begin -->
<!-- ###ITEM_SINGLE### begin-->
<FORM method="post" action="###FORM_URL###" name="###FORM_NAME###">
<TR>
<TD align="center" height="80" style="border-top: 1px dotted
#3F4F73;"><!--###LINK_ITEM###-->###PRODUCT_IMAGE###<!--###LINK_ITEM###--></TD>
<TD style="border-top: 1px dotted #3F4F73;">
<!--###LINK_ITEM###-->###GW1B###<b>###PRODUCT_TITLE###</b>###GW1E###<!--###LINK_ITEM###--><BR>###GW2B######PRODUCT_SUBTITLE######GW2E###<BR>
###PRODUCT_NOTE###<BR>
<!-- ###display_variant1### --><SELECT name="###FIELD_COLOR_NAME###"
rows="1">###PRODUCT_COLOR###</SELECT><!-- ###display_variant1### -->
<!-- ###display_variant2### --><SELECT name="###FIELD_SIZE_NAME###"
rows="1">###PRODUCT_SIZE###</SELECT><!-- ###display_variant2### -->
</TD>
<TD style="border-top: 1px dotted #3F4F73;">
###GW1B###<strong>###PRICE_TAX### €###GW1E###<BR>
###GW2B### Anzahl: ###GW2E###<BR><INPUT size="3" maxlength="4"
type="text" name="###FIELD_NAME###" value="###FIELD_QTY###">
</TD>
<TD style="padding: 2px 2px 2px 2px; border-top: 1px dotted
#3F4F73;"><input type="image" name="order"
src="typo3/ext/tt_products/pi/basket.gif" value="in den Warenkorb"
onClick="if
(!document.forms['###FORM_NAME###']['###FIELD_NAME###'].value!=''){document.forms['###FORM_NAME###']['###FIELD_NAME###'].value=1;};"></TD>
<TD style="padding: 2px 2px 2px 2px; border-top: 1px dotted
#3F4F73;"><input type="image" name="addtomemo"
src="typo3/ext/tt_products/pi/addmemo.png" value="auf die Merkliste"
onClick="document.forms['###FORM_NAME###']['###FIELD_NAME###'].value;
document.getElementsByName('###FORM_NAME###')[0].action='###FORM_MEMO###&addmemo=###PRODUCT_ID###';"></TD>
</TR>
</FORM>
<!-- ###ITEM_SINGLE### end -->
<!-- ###ITEM_LIST### end -->
More information about the TYPO3-project-tt-products
mailing list