Jump to content

[Resolved] order confirmation without products


CIMS

Recommended Posts

Hello everyone,

I am using the standard template for order confirmation, however it only showes one product even when more products are ordered. Can anyone please tell me what is wrong in the email template? I assume something is missing in the top part, but I do not know what. Thanks for the advice.

 

ItemHoeveelheidKosten
{$product.name}
{$product.product_options}
{$product.quantity}{$product.price}
 Verzendmethode: ({$DATA.ship_method}){$DATA.shipping}
 Korting:{$DATA.discount}
 Subtotaal:{$DATA.subtotal}
 {$tax.tax_name}: ({$tax.tax_percent}%){$tax.tax_amount}
 Bestelling Totaal:{$DATA.total}
 
Link to comment
Share on other sites

When viewing the contents of this email template in the editor, please switch the editor to Source mode (upper-left tool button).

Verify that the contents contain the following (allowing for the translation). Please note specifically the statements mentioned below the code block:

<table border="0" cellpadding="3" cellspacing="0" width="100%">
	<tbody>
		<tr>
			<td>
				<strong>Item</strong></td>
			<td>
				<strong>Quantity</strong></td>
			<td>
				<strong>Cost</strong></td>
		</tr>
		{foreach from=$PRODUCTS item=product}
		<tr>
			<td>
				{$product.name}<br>
				{$product.product_options}</td>
			<td>
				{$product.quantity}</td>
			<td>
				{$product.price}</td>
		</tr>
		{/foreach}
		<tr>
			<td>
				&nbsp;</td>
			<td>
				Shipping: {if $DATA.ship_method}({$DATA.ship_method}){/if}</td>
			<td>
				{$DATA.shipping}</td>
		</tr>

Make sure there are:

{foreach from $PRODUCTS item=product}

{/foreach}

exactly where shown above.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...