Hi,
Open this PHP file:
/components/com_virtuemart/views/cart/tmpl/default_coupon.php
remove everything in it and paste these codes in it instead:
<?php
/**
*
* Layout for the edit coupon
*
* @package VirtueMart
* @subpackage Cart
* @author Oscar van Eijk
*
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: cart.php 2458 2010-06-30 18:23:28Z milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
?>
<form method="post" id="userForm" name="enterCouponCode" action="<?php echo JRoute::_('index.php'); ?>">
<input type="text" name="coupon_code" size="20" maxlength="50" class="coupon" alt="<?php echo $this->coupon_text ?>" value="<?php echo $this->coupon_text; ?>" onblur="if(this.value=='') this.value='<?php echo $this->coupon_text; ?>';" onfocus="if(this.value=='<?php echo $this->coupon_text; ?>') this.value='';" />
<span class="details-button">
<input class="details-button" type="submit" title="<?php echo JText::_('COM_VIRTUEMART_SAVE'); ?>" value="<?php echo JText::_('COM_VIRTUEMART_SAVE'); ?>"/>
</span>
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="view" value="cart" />
<input type="hidden" name="task" value="setcoupon" />
<input type="hidden" name="controller" value="cart" />
</form>
Or you can use "Template Overriding" for the default_coupon.php (therefore you won't need to touch the Virtuemart core file).
There is one thing i need to mention:
YOU SHOULD BE AWARE, FROM NOW ON, YOU WON'T RECEIVE FREE SUPPORT FROM US WITH THE ISSUE YOU ARE HAVING WITH FASHIONMART+VIRTUEMART, BECAUSE I AM SEEING YOU PURCHASED FASHIONMART 2 YEARS AGO. WE WON'T BE COVERING YOUR BACK FOREVER. YOU SHOULD BE VERY SKEPTICAL WITH THE VIRTUEMART UPDATES, 'CAUSE I AM ALSO SEEING YOUR FREE-UPDATE SUBSCRIPTION AND FREE-SUPPORT FOR FASHIONMART HAS ALREADY BEEN EXPIRED (on Thursday, 25 April 2013) but I am seeing in your profile that you got an extensions last year, normally you should have paid for that through:
www.flexiblewebdesign.com/license-upgrade
FYI: free-update and free-support subscriptions are limited by 1-year - it is now 6-months though -, but 2 years ago, by the time you purchased, it was 1-year.
Regards,
Support.