The FormBuilder form has a Module Interface Field with this tag:
{Cart2 action='viewcart' viewcarttemplate='bestellform'}
This works so far as the cart content is displayed correctly on the form page in frontend. The Cart2 template 'bestellform' contains nothing regarding to FormBuilder. It is just tags and html that does produce a list of products and prices which are in the cart. Nothing to fill in, no input fields.
The help page of the Module Interface field explains to use {$FBid} to tie back into FormBuilder. But I would not know where to place such a tag in my Cart2 template, and anyway as it already works getting the data into FormBuilder, I suppose it is not needed in my case?
This is the Cart2 template
Code: Select all
<div class="cart">
{foreach from=$cartitems item='oneitem'}
<div class="artikel">
{$oneitem->summary}
</div>
<div class="anzahl">
{$oneitem->quantity}
</div>
<div class="preis">
{$currencysymbol} {$oneitem->item_total|number_format:2}
</div>
<div style="clear: both;"></div>
{/foreach}
<div class="artikel">
Versandkosten
</div>
<div class="anzahl">
</div>
<div class="preis">
{$currencysymbol} 9.00
</div>
<div style="clear: both;"></div>
<div class="total">
{assign var="inklversand" value=$carttotal+9}
Total: {$currencysymbol} {$inklversand|number_format:2}
</div>
</div>