[Typo3-shop] Nothing in basket

Franz Holzinger franz at fholzinger.com
Mon Mar 21 21:33:18 CET 2005


Hello Andreas,

> I have followed the configuration manual found here
> http://typo3.org/documentation/document-library/doc_shop/Insert_Plugins_and_e/
> 
> And I have added the following lines as instructed in the zk manual:
> <input type="hidden" name="mode_update" value="1">
> 
> <input type="Submit" name="products_update" value="update basket">
> 
> Put this into your FORM-Attributes of the BASKET_TEMPLATE.
> 
> 
> Result can be found here:
> http://beautifulbooks.elevated.to/Shop.8.0.html
> 
> Problems. Yes of course.
> Nothing gets added to basket whether logged in or not. Any ideas?
> 

You have to put something like the following into your
###ITEM_SINGLE_DISPLAY### template:

<TABLE border="0" cellspacing="0" cellpadding="1" width=1>
<FORM method="post" action="###FORM_URL###">
	<tr>
		<td><img src="clear.gif" width=100 height=1></td>
		<td><img src="clear.gif" width=5 height=1></td>
		<td><img src="clear.gif" width=300 height=1></td>
	</tr>
	<tr>
		<td colspan=3><img src="clear.gif" width=1 height=6></td>
	</tr>
	<tr>
		<td colspan=3 
bgcolor="###GC1###"><!--###LINK_ITEM###-->###GW1B###<b>###PRODUCT_TITLE###</b>###GW1E###<!--###LINK_ITEM###--></td>
	</tr>
	<TR>
		<TD valign=top>###PRODUCT_IMAGE###</TD>
		<td></td>
		<TD valign=top>
			###GW1B###	
			<B>Info:</B><br>
			###PRODUCT_NOTE###<br>
			###GW1E###	<br>
		<nobr>###GW2B### Menge: ###GW2E###<INPUT size="3" maxlength="4" 
type="text" name="###FIELD_NAME###" value="###FIELD_QTY###">   <input 
type="Submit" name="order" value="in den Warenkorb" onclick="if 
(!document.forms[0]['###FIELD_NAME###'].value!=''){document.forms[0]['###FIELD_NAME###'].value=1;};"></nobr>
		</TD>
	</TR>
</form>
</TABLE>





Franz



More information about the TYPO3-project-tt-products mailing list