View Single Post
  #2  
Old 12-27-2007, 02:46 AM
  ShishaPipeUK's Avatar 
ShishaPipeUK ShishaPipeUK is offline
 

Senior Member
  
Join Date: Jul 2005
Location: London, England.
Posts: 118
 

Default Re: Easy link to coupon entry field for customers (super simple mod)

Yes i have the same problem with my customers but what i did as well was to do the above, but also edit the lanugauge txt_add_coupon_header to include a anchor like so:

Code:
<a name="coupon_code" id="coupon_code"></a>If you have a valid discount coupon, you can enter it below, the store will deduct the discount amount from your total order.


Then in customer/menu_cart.tpl add the line:

Code:
{if $minicart_total_items > 0} <a href="cart.php#coupon_code" class="VertMenuItems">{$lng.lbl_enter_coupon}</a><br /> {/if}

That way it goes straight to the Redeem a discount coupon box, then there is no confusion.
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24
PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART

Shop carts at
http://www.nightscene.co.uk/shop/home.php
http://www.theshisha.net/shopcart/home.php
http://www.system-maintenance.com/maint/home.php
http://www.tabac4u.com
Reply With Quote