BryanB
02-04-10, 11:52 PM
I'm trying to add the product name and description in the shopping cart above where it says "subtotal"
I've tried using this code but it wont display:
{$product.name}-{$product.description}
I'd like to include it here, as it is not included if you link directly to a product.
http://content.screencast.com/users/BryanBittner/folders/Jing/media/05d05093-56d7-45ca-a654-6dae3279efd7/00001072.png
This is on /cart.php?a=view
and here is my viewcart.tpl lines 9-28
<p class="ordersummary">
{$product.name}-{$product.description}<br />
{$LANG.ordersubtotal}: {$subtotal}<br />
{if $promotioncode}{$promotiondescription}: {$discount}<br />{/if}
{if $taxrate}{$taxname} @ {$taxrate}%: {$taxtotal}<br />{/if}
{if $taxrate2}{$taxname2} @ {$taxrate2}%: {$taxtotal2}<br />{/if}
<b>{$LANG.ordertotalduetoday}: {$total}</b><br />
{if $totalrecurringmonthly || $totalrecurringquarterly || $totalrecurringsemiannually || $totalrecurringannually || $totalrecurringbiennially}
{$LANG.ordertotalrecurring}: {if $totalrecurringmonthly}{$totalrecurringmonthly} {$LANG.orderpaymenttermmonthly}, {/if}
{if $totalrecurringquarterly}{$totalrecurringquarterly } {$LANG.orderpaymenttermquarterly}, {/if}
{if $totalrecurringsemiannually}{$totalrecurringsemian nually} {$LANG.orderpaymenttermsemiannually}, {/if}
{if $totalrecurringannually}{$totalrecurringannually} {$LANG.orderpaymenttermannually}, {/if}
{if $totalrecurringbiennially}{$totalrecurringbiennial ly} {$LANG.orderpaymenttermbiennially}, {/if}{/if}
</p>
<center>
<p>Not the correct amount?
Click here to start over:
<input type="button" value="{$LANG.orderstartover}" onclick="window.location='cart.php?a=startover'" />
</p>
</center>
Any ideas?
I've tried using this code but it wont display:
{$product.name}-{$product.description}
I'd like to include it here, as it is not included if you link directly to a product.
http://content.screencast.com/users/BryanBittner/folders/Jing/media/05d05093-56d7-45ca-a654-6dae3279efd7/00001072.png
This is on /cart.php?a=view
and here is my viewcart.tpl lines 9-28
<p class="ordersummary">
{$product.name}-{$product.description}<br />
{$LANG.ordersubtotal}: {$subtotal}<br />
{if $promotioncode}{$promotiondescription}: {$discount}<br />{/if}
{if $taxrate}{$taxname} @ {$taxrate}%: {$taxtotal}<br />{/if}
{if $taxrate2}{$taxname2} @ {$taxrate2}%: {$taxtotal2}<br />{/if}
<b>{$LANG.ordertotalduetoday}: {$total}</b><br />
{if $totalrecurringmonthly || $totalrecurringquarterly || $totalrecurringsemiannually || $totalrecurringannually || $totalrecurringbiennially}
{$LANG.ordertotalrecurring}: {if $totalrecurringmonthly}{$totalrecurringmonthly} {$LANG.orderpaymenttermmonthly}, {/if}
{if $totalrecurringquarterly}{$totalrecurringquarterly } {$LANG.orderpaymenttermquarterly}, {/if}
{if $totalrecurringsemiannually}{$totalrecurringsemian nually} {$LANG.orderpaymenttermsemiannually}, {/if}
{if $totalrecurringannually}{$totalrecurringannually} {$LANG.orderpaymenttermannually}, {/if}
{if $totalrecurringbiennially}{$totalrecurringbiennial ly} {$LANG.orderpaymenttermbiennially}, {/if}{/if}
</p>
<center>
<p>Not the correct amount?
Click here to start over:
<input type="button" value="{$LANG.orderstartover}" onclick="window.location='cart.php?a=startover'" />
</p>
</center>
Any ideas?