Jump to content

forumadmin

ADMINISTRATORS
  • Content Count

    409
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. check if your version of zencart can still use template overrides. if not, you can edit the checkout success file and add the following code: ########################################## ## START JAM INTEGRATION WITH ZEN CART ## ## ZC Integration code by DrByte 8/2006 ## ########################################## if ((int)$orders_id > 0) { $JAM = $db->Execute("select class, value from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders_id."' AND class in ('ot_coupon', 'ot_subtotal', 'ot_group_pricing')"); while (!$JAM->EOF) { switch ($JAM->fields['class']) { case 'ot_subtotal': $order_subtotal = $JAM->fields['value']; break; case 'ot_coupon': $coupon_amount = $JAM->fields['value']; break; case 'ot_group_pricing': $group_pricing_amount = $JAM->fields['value']; break; } $JAM->MoveNext(); } $commissionable_order = ($order_subtotal - $coupon_amount - $group_pricing_amount); $commissionable_order = number_format($commissionable_order,2,'.',''); echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"https://www.idtagsonline.com/affiliates/sale.php?amount=$commissionable_order&trans_id=$orders_id\"></script></td></tr> </table>"; } ####################################### ## END JAM INTEGRATION WITH ZEN CART ## #######################################
  2. hello, make sure that you have checked if you allow cookies on your browser or not first.
  3. hello, please make sure your hosting account supports file_get_contents function first.
  4. try setting it as: http://seller.xxxx.com/sale/index/amount/$AMOUNT/trans_id/$ORDER_ID/customer_name/$NAME
  5. the logo is set insidea bootstrap block, so if you want to make more changes to positioning, you will have to edit the template file directly. the default template file is in /application/views/main/tpl_header.php
  6. affiliate manager is free to use up to 50 affiliates. Once you reach 50 affiliates, you can purchase the standard license to have unlimited affilates.
  7. that code is the PHP code for the tracking cookie. You need that to generate commissions as JAM will read it and view what affiliate referred the customer.
  8. hello, this usually means you have Mysql STRICT_MODE enabled. Please disable that and it should fix the default values error.
  9. you need to make sure you have integrate JAM for commission generation with your shopping cart before a commission can actually be generated. Some examples of integration are here: http://jam.jrox.com/kb/category/6/system-integration.php
  10. First, check if that code is still the same and add the JAM integration code in the same place.
  11. looks like ioncube is not enabled on your site. did you upgrade to PHP 7?
  12. You will need to enable the programs icon in Settings > Global Configuration > Content > Members > Enable Programs Icon
  13. We've updated JAM to version 3.1 to support PHP 7. Here's the upgrade instructions for it: http://jam.jrox.com/kb/article/131/upgrading-jam-version-3-to-version-31.php
  14. you will need to use PHP to convert that to a proper date format. Check the 'date() function for PHP.
  15. did you view the integration code on your thank you page to see if it is properly populating the sale and transaction values?
×
×
  • Create New...