|
I try to reproduce the bug without success.
I've got Joomla 1.5.14, VM 1.1.3. I've installed the last version of xmap : the component first, then the plugin.
I tried with the Artio 1.0.1 and 1.0.2 with and without legacy mode, i never have an xml error.
Can you help me to reproduce the bug ? I don't have xml error or something.
(sorry for the questions, i don't use xmap)
|
e-commerce tracking ...
|
Posted 15 years, 4 months ago
by serval2412
|
|
Hi,
I modified a little gacode.php, it's very simple.
Modify this :
$q = 'SELECT order_id, affiliate_id, order_total, order_tax, order_shipping, city, state, country'
. ' FROM #__{vm}_orders LEFT JOIN #__{vm}_order_user_info USING (order_id)'
. ' LEFT JOIN #__{vm}_affiliate_sale USING (order_id)'
. ' WHERE order_id = ' . $db->getEscaped($GLOBALS['vars']['order_id']);
in this :
$q = 'SELECT order_id, order_total, order_tax, order_shipping, city, state, country'
. ' FROM #__{vm}_orders LEFT JOIN #__{vm}_order_user_info USING (order_id)'
. ' WHERE order_id = ' . $db->getEscaped($GLOBALS['vars']['order_id']);
and modify this :
$code = sprintf('pageTracker._addTrans("%d", "%s", "%f", "%s", "%f", "%s", "%s", "%s");',
$db->f('order_id'), $db->f('affiliate_id'), $db->f('order_total'), $db->f('order_tax'),
$db->f('order_shipping'), $db->f('city'), $db->f('state'), $db->f('country'));
in this :
$code = sprintf('pageTracker._addTrans("%d", "%s", "%f", "%s", "%f", "%s", "%s", "%s");',
$db->f('order_id'), '', $db->f('order_total'), $db->f('order_tax'),
$db->f('order_shipping'), $db->f('city'), $db->f('state'), $db->f('country'));
The affiliate field will be empty.
Hope it helps !
|
e-commerce tracking ...
|
Posted 15 years, 5 months ago
by serval2412
|