I am trying to install iDevAffiliate on my shop. The program itself seems to work correctly, but when I install the tracking code on the checkout success header, it makes the font on my checkout success page HUGE. I have no idea why it would do this. I'm wondering if there are any php gurus out there that can take a look at the code and see if there is something that might be wrong?
These are their instructions:
Edit this file: /zencart/includes/modules/pages/checkout_success/header_php.php.
Find the following code which already exists in the file.
PHP Code:
$zv_orders_id = $orders->fields['orders_id'];
That code actually doesn't exist in my header file... So I added their code beneath "$orders_id = $zv_orders_id;"
This is the code they provide to insert:
PHP Code:
$idev = $db->Execute("select * from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders->fields['orders_id']."' AND class = 'ot_subtotal'");
$idev_saleamt = (number_format($idev->fields['value'],2));
$idev_ordernum = $idev->fields['orders_id'];
print "<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.saffireblue.ca/idevaffiliate/sale.php?profile=13&idev_saleamt=$idev_saleamt&idev_ordernum=$idev_ordernum\"></script>";
I can't figure out why it would ignore my css font size and make the font so huge...?
I tried adding #checkoutsuccessBody to my checkout_success.css, but it seems to ignore that too. Anyone have any ideas?
Thanks in advance.