I would like to change the location of the discount coupon. I'm want to move it up into the cart section. Currently it's placed below the cart and I think it kind of hard to see. I'm just wanting to move it directly under the cart total. I've tried to just cut and past the include tag but this removes my entire cart. below is the cart.tpl file this my not even be the file I need to edit if someone has done this of knows how it can be done please help me.
Thanks for your time.
Code:
{* $Id: cart.tpl,v 1.53.2.1 2003/05/20 13:32:38 svowl Exp $ *}
{include file="location.tpl" last_location=$lng.lbl_your_shopping_cart}
<h3>{$lng.lbl_your_shopping_cart}</h3>
{$lng.txt_cart_header}
{if $active_modules.Gift_Certificates ne ""}
{$lng.txt_cart_note}
{/if}
{capture name=dialog}
{if $products ne ""}
<form action="cart.php" method=post name=cartform>
<table border=0 width=100%>
{section name=product loop=$products}
<tr><td width=50 valign=top>
{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$products[product].image_x image_y=$products[product].image_y product=$products[product].product tmbn_url=$products[product].tmbn_url}
</td>
<td valign=top>
<font class=ProductTitle>{$products[product].product}</font>
{$products[product].descr|truncate:150:"...":true}
{if $products[product].product_options ne ""}
{$lng.lbl_selected_options}:
{$products[product].product_options|replace:"\n":"
\n"}
{/if}
<div align=left>
{if $active_modules.Subscriptions ne "" and $products[product].catalogprice}
{include file="modules/Subscriptions/subscription_priceincart.tpl"}
{else}
<font class=ProductPriceConverting>{include file="currency.tpl" value=$products[product].price} x {if $products[product].distribution}1<input type=hidden{else}><input type=text size=3{/if} name="productindexes[{$smarty.section.product.index}]" value="{$products[product].amount}"> = </font><font class=ProductPrice>{math equation="price*amount" price=$products[product].price amount=$products[product].amount format="%.2f" assign=unformatted}{include file="currency.tpl" value=$unformatted}</font><font class=MarketPrice> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$unformatted}</font>{if $config.Taxes.use_vat eq "Y" and $products[product].vat gt "0"}, {$lng.lbl_including_vat} {$products[product].vat}%{/if}
{/if}
{include file="buttons/delete_item.tpl"}
</div>
</td></tr>
<tr><td colspan=2><hr size=1 noshade></td></tr>
{/section}
</table>
{if $active_modules.Gift_Certificates ne ""}
{include file="modules/Gift_Certificates/gc_cart.tpl"}
{/if}
{include file="customer/main/cart_totals.tpl"}
{if $js_enabled}
{include file="buttons/checkout.tpl"}
{include file="buttons/update.tpl"}
{else}
<input type=hidden name="mode" value="checkout">
{include file="submit_wo_js.tpl" value=$lng.lbl_checkout}
{/if}
</form>
{else}
{$lng.txt_your_shopping_cart_is_empty}
{/if}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_items content=$smarty.capture.dialog extra="width=100%"}
{if $cart.coupon_discount eq 0 and $products ne ""}
{if $active_modules.Discount_Coupons ne ""}
{include file="modules/Discount_Coupons/add_coupon.tpl}
{/if}
{/if}