Once disabled and a coupon is applied, the page refreshes as normally and VMA is able to create your affiliate coupon code.
Also if you are using Virtuemart 2.0.26D and your VMA coupons don't work at all, you may need to update VMA query at this file:
\plugins\system\vma\vma.php
change this:
- Code: Select all
$query = "INSERT INTO #__virtuemart_coupons VALUES ('', '" . $this->_db->getEscaped($affiliateUsername) . "', '" .
to this:
- Code: Select all
$query = "INSERT INTO #__virtuemart_coupons VALUES ('', '', '" . $this->_db->getEscaped($affiliateUsername) . "', '" .
as towards this version:
/**
* @package VM Affiliate
* @version 4.5.2.7 January 2012
* @author Globacide Solutions http://www.globacide.com
* @copyright Copyright (C) 2006 - 2012 Globacide Solutions
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
Best Regards,
Stan