[TYPO3-shop] add products problem
Bas van der Togt
b.vandertogt at profinit.com
Sun Nov 26 18:04:47 CET 2006
Hello Franz,
Yes i use version 2.5.1
My single code:
<!-- ###ITEM_SINGLE_DISPLAY### begin
This subpart is used to display single products.
-->
<TABLE border="0" cellspacing="2" cellpadding="2" width="100%">
<form method="post" action="###FORM_URL###" name="###FORM_NAME###">
<tr>
<td colspan=3
id="cell_border"><!--###LINK_ITEM###-->###GW1B######PRODUCT_TITLE######GW1E###<!--###LINK_ITEM###--></td>
</tr>
<TR>
<TD valign=top>###PRODUCT_IMAGE###</TD>
<td></td>
<TD valign=top id="cell_border">
<table cellpadding="5" cellspacing="5" border="0">
<tr><td
valign="top">###GW1B###<b>Categorie:</b></b>###GW1E###</td><td
valign="top">###GW1B######CATEGORY_TITLE######GW1E###</td></tr>
<tr><td
valign="top">###GW1B###<b>Artikelnummer:</b>###GW1E###</td><td
valign="top">###GW1B######PRODUCT_ITEMNUMBER######GW1E###</td></tr>
<tr><td valign="top">###GW1B###<b>Prijs:</b>###GW1E###</td><td
valign="top">###GW1B###<!-- ###display_variant2### --><u>vanaf</u><!--
###display_variant2### --><font color=red><strong> €
###PRICE_TAX###</strong></font>###GW1E######GW2B### (exclusief BTW
€ ###PRICE_NO_TAX###)###GW2E######GW1E###<td></tr>
<tr><td valign="top">###GW1B###<b>Info:</b>###GW1E###</td><td
valign="top">###GW1B######PRODUCT_NOTE######GW1E###</td></tr>
<!-- ###display_variant1### --><tr><td
valign="top">###GW1B###<b>Kleur:</b>###GW1E###</td><td
valign="top">###GW1B###<SELECT name="###FIELD_COLOR_NAME###"
rows="1">###PRODUCT_COLOR###</SELECT>###GW1E###</td></tr><!--
###display_variant1### -->
<!-- ###display_variant2### --><tr><td
valign="top">###GW1B###<b>Dak:</b>###GW1E###</td><td
valign="top">###GW1B###<SELECT name="###FIELD_SIZE_NAME###"
rows="1">###PRODUCT_SIZE###</SELECT>###GW1E###</td></tr><!--
###display_variant2### -->
<!-- ###display_variant3### --><tr><td
valign="top">###GW1B###<b>Tekst:</b>###GW1E###</td><td
valign="top">###GW1B###<INPUT type="text" size="20"
name="###FIELD_DESCRIPTION_NAME###">###GW1E###</td></tr><!--
###display_variant3### -->
<!-- ###display_variant4### --><tr><td
valign="top">###GW1B###<b>Nummer:</b>###GW1E###</td><td
valign="top">###GW1B###<SELECT name="###FIELD_GRADINGS_NAME###"
rows="1">###PRODUCT_GRADINGS###</SELECT>###GW1E###</td></tr><tr><td
colspan="2">###GW1B###<font color="#FF0000"><i>Als uw huisnummer bestaat
uit meerde nummers dan dient u meerdere nummers toe te voegen aan uw
winkelwagen.</i></font>###GW1E###</td></tr><!-- ###display_variant4### -->
<tr><td valign="top">###GW2B###<b>Aantal:</b>###GW2E###</td><td
valign="top"><INPUT size="3" maxlength="4" type="text"
name="###FIELD_NAME###" value="###FIELD_QTY###"></td></tr>
<tr><td></td><td valign="top"><input type="Submit" name="order"
value="Toevoegen" onClick="if
(!document.forms[0]['###FIELD_NAME###'].value!=''){document.forms[0]['###FIELD_NAME###'].value=1;};"></td></tr>
<tr><td valign="top">###GW1B###<b>Stel een vraag over dit
product:</b>###GW1E###</td><td valign="top"><a
href="mailto:###SHOPADMIN_EMAIL###?subject=Vraag over product:
###PRODUCT_TITLE###&body=Ik heb een vraag over het volgende product:
###PRODUCT_TITLE### %0AMijn vraag: ">Link</a></td></tr>
</table>
</TD>
</TR>
</form>
</TABLE>
###PRODUCT_RELATED_UID###<br>
###GW2B###
<!--###LINK_ITEM###-->
<- Terug
<!--###LINK_ITEM###-->
###GW2E###
<!-- ###ITEM_SINGLE_DISPLAY### end -->
cheers,
Bas
Franz Holzinger schreef:
> Hello Bas,
>
>> I can't find this parameter: tx_ttproducts_pi1[backPID]=35
>> What do i have to add or change to stay in the single view?
>>
>> Franz Holzinger schreef:
>>> check the form marker you have in the single view:
>>>
>>> <form method="post" action="###FORM_URL###" name="###FORM_NAME###">
>
> So do you use the latest 2.5.1 version?
> What FORM do you have in single view? which markers and what is the
> final HTML source code?
>
>
> - Franz
>
>
More information about the TYPO3-project-tt-products
mailing list