Virtuemart Affiliate Component and Affiliate Discounts & OPC

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Virtuemart Affiliate Component and Affiliate Discounts & OPC

Postby admin » Thu Jan 23, 2014 10:00 pm

Dear friends, if you are using Virtuemart Affiliate Component and you want to use the discount section where the discount is applied once the VMA username is used at the checkout, you must enable OPC feature at the OPC display tab "DO NOT user ajax for coupons" (related to OPC2.0.225)

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
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 2

cron