deeveloper Posted May 26, 2005 Share Posted May 26, 2005 Banners Not Showing Up - FIX If you are having trouble seeing banners, try this: Change all references in affiliate_show_banners.php FROM: $pic = DIR_FS_CATALOG . DIR_WS_IMAGES . $banner; TO: $pic = DIR_FS_CATALOG . '/' . DIR_WS_IMAGES . $banner; OR follow the instructions in affiliate_configure.php to track down the error yourself: CHANGE: define('AFFILIATE_SHOW_BANNERS_DEBUG', 'false'); TO: define('AFFILIATE_SHOW_BANNERS_DEBUG', 'true'); THEN: Try to load the banner in a new Browser window, and look for URL errors. i.e.: http://yourdomain.com/affiliate_show_banne...ate_banner_id=3 Quote Link to comment Share on other sites More sharing options...
jazzter Posted June 8, 2005 Share Posted June 8, 2005 Hi, I just installed the affliates contribution and think its great. I followed all of the instructions but I think that I am missing something. On the main admin page I have the affliates. It has the main title affiliates and under that it has affliates and banners. When I am in my admin section I dont have an affiliates tag on the left hand column. my admin/includes/column_left.php is as follows but affliates section isn't showing. Does anyone know what I have done wrong? */ require(DIR_WS_BOXES . 'configuration.php'); require(DIR_WS_BOXES . 'catalog.php'); require(DIR_WS_BOXES . 'modules.php'); require(DIR_WS_BOXES . 'customers.php'); require(DIR_WS_BOXES . 'taxes.php'); require(DIR_WS_BOXES . 'localization.php'); require(DIR_WS_BOXES . 'reports.php'); require(DIR_WS_BOXES . 'affiliate.php'); require(DIR_WS_BOXES . 'tools.php'); require(DIR_WS_BOXES . 'gv_admin.php'); //ICW CREDIT CLASS GV SYSTEM ?> Quote Link to comment Share on other sites More sharing options...
Snowman Posted June 8, 2005 Share Posted June 8, 2005 check to make sure you have the affiliate.php box in the admin/includes/boxes folder it should throw up an error as well if it cant find the box what version of osCommerce are you suing? Quote Link to comment Share on other sites More sharing options...
jazzter Posted June 9, 2005 Share Posted June 9, 2005 check to make sure you have the affiliate.php box in the admin/includes/boxes folder it should throw up an error as well if it cant find the box what version of osCommerce are you suing? <{POST_SNAPBACK}> I have cheecked that file and affiliate.php is in there. The code is below. I have just taken it directly from the contribution I am running version 2.2 of oscommerce. */ ?> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_AFFILIATE ); new infoBoxHeading($info_box_contents, false, false); if (tep_session_is_registered('affiliate_id')) { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => '<b><a href="' . tep_href_link(FILENAME_AFFILIATE_SUMMARY, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_SUMMARY . '</a></b><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_ACCOUNT, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_ACCOUNT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_PASSWORD, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_PASSWORD . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_NEWSLETTER, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_NEWSLETTER . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_NEWS, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_NEWS . '</a><br>' . '<b><a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS . '</a></b><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_BANNERS, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS_BANNERS . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS_BUILD . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD_CAT, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS_BUILD_CAT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_CATEGORY, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS_CATEGORY . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_PRODUCT, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS_PRODUCT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_TEXT, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_BANNERS_TEXT . '</a><br>' . '<b><a href="' . tep_href_link(FILENAME_AFFILIATE_REPORTS, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_REPORTS . '</a></b><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_CLICKS, '', 'SSL'). '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_CLICKRATE . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_SALES, '', 'SSL'). '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_SALES . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_PAYMENT, '', 'SSL'). '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_PAYMENT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_CONTACT, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_FAQ, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_FAQ . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_LOGOUT). '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_LOGOUT . '</a>'); new infoBox($info_box_contents); } else { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_AFFILIATE_INFO, '', 'NONSSL'). '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_INFO . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_FAQ, '', 'NONSSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_FAQ . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_LOGIN . '</a>' ); new infoBox($info_box_contents); } ?> </td> </tr> Quote Link to comment Share on other sites More sharing options...
henri Posted June 9, 2005 Author Share Posted June 9, 2005 tep_href_link(FILENAME_AFFILIATE_SUMMARY, '', 'SSL') . '?osCAdminID=760c4eb26c85a56798c4ef289b4cf392">' . BOX_AFFILIATE_SUMMARY . '</a></b><br>' . Which contribution did you download? (exact file please) If this is the original file, it's a security breach. If your admin has a session based login, every one has access to it! Quote Link to comment Share on other sites More sharing options...
jazzter Posted June 9, 2005 Share Posted June 9, 2005 Which contribution did you download? (exact file please)If this is the original file, it's a security breach. If your admin has a session based login, every one has access to it! <{POST_SNAPBACK}> I downloaded osCAffiliate v2.5a from 25 May 2005. This is the original file. I have an SSL certificate. The site is here is this file wrong or is it something I did? Quote Link to comment Share on other sites More sharing options...
jazzter Posted June 9, 2005 Share Posted June 9, 2005 Hi Henry thanks for your assistance I ended up changing the order of the column_left.php to */ require(DIR_WS_BOXES . 'configuration.php'); require(DIR_WS_BOXES . 'catalog.php'); require(DIR_WS_BOXES . 'modules.php'); require(DIR_WS_BOXES . 'customers.php'); require(DIR_WS_BOXES . 'taxes.php'); require(DIR_WS_BOXES . 'localization.php'); require(DIR_WS_BOXES . 'reports.php'); require(DIR_WS_BOXES . 'tools.php'); require(DIR_WS_BOXES . 'gv_admin.php'); require(DIR_WS_BOXES . 'affiliate.php'); ?> and it works, I now have the affliates on the left hand column. wahoo, it really does come down to the simplest thing. I am a bit worried about the security breach that you mentioned, do you know how I fix that? Quote Link to comment Share on other sites More sharing options...
jazzter Posted June 9, 2005 Share Posted June 9, 2005 new problem. I am obviously full of them. My product description is displaying a code under all of the pictures in the product description any ideas why it is has this after the pic FILENAMES.PHP in CATALOG ADD define'FILENAME_CATEGORIES_INFO', 'index.php'); Quote Link to comment Share on other sites More sharing options...
Snowman Posted June 9, 2005 Share Posted June 9, 2005 Hi Henry thanks for your assistance I ended up changing the order of the column_left.php to */ require(DIR_WS_BOXES . 'configuration.php'); require(DIR_WS_BOXES . 'catalog.php'); require(DIR_WS_BOXES . 'modules.php'); require(DIR_WS_BOXES . 'customers.php'); require(DIR_WS_BOXES . 'taxes.php'); require(DIR_WS_BOXES . 'localization.php'); require(DIR_WS_BOXES . 'reports.php'); require(DIR_WS_BOXES . 'tools.php'); require(DIR_WS_BOXES . 'gv_admin.php'); require(DIR_WS_BOXES . 'affiliate.php'); ?> and it works, I now have the affliates on the left hand column. wahoo, it really does come down to the simplest thing. I am a bit worried about the security breach that you mentioned, do you know how I fix that? <{POST_SNAPBACK}> I dont know where you obtained that downloaded file from but its not from either Henri's or my releases of the module. Replace the file with: <?php /* $Id: affiliate.php,v 2.00 2003/10/12 OSC-Affiliate Contribution based on: osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License */ ?> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_AFFILIATE ); new infoBoxHeading($info_box_contents, false, false); if (tep_session_is_registered('affiliate_id')) { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => '<b><a href="' . tep_href_link(FILENAME_AFFILIATE_SUMMARY, '', 'SSL') . '">' . BOX_AFFILIATE_SUMMARY . '</a></b><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_ACCOUNT, '', 'SSL') . '">' . BOX_AFFILIATE_ACCOUNT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_PASSWORD, '', 'SSL') . '">' . BOX_AFFILIATE_PASSWORD . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_NEWSLETTER, '', 'SSL') . '">' . BOX_AFFILIATE_NEWSLETTER . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_NEWS, '', 'SSL') . '">' . BOX_AFFILIATE_NEWS . '</a><br>' . '<b><a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS, '', 'SSL') . '">' . BOX_AFFILIATE_BANNERS . '</a></b><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_BANNERS, '', 'SSL') . '">' . BOX_AFFILIATE_BANNERS_BANNERS . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD, '', 'SSL') . '">' . BOX_AFFILIATE_BANNERS_BUILD . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_PRODUCT, '', 'SSL') . '">' . BOX_AFFILIATE_BANNERS_PRODUCT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_TEXT, '', 'SSL') . '">' . BOX_AFFILIATE_BANNERS_TEXT . '</a><br>' . '<b><a href="' . tep_href_link(FILENAME_AFFILIATE_REPORTS, '', 'SSL') . '">' . BOX_AFFILIATE_REPORTS . '</a></b><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_CLICKS, '', 'SSL'). '">' . BOX_AFFILIATE_CLICKRATE . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_SALES, '', 'SSL'). '">' . BOX_AFFILIATE_SALES . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_AFFILIATE_PAYMENT, '', 'SSL'). '">' . BOX_AFFILIATE_PAYMENT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_CONTACT, '', 'SSL') . '">' . BOX_AFFILIATE_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_FAQ, '', 'SSL') . '">' . BOX_AFFILIATE_FAQ . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_LOGOUT). '">' . BOX_AFFILIATE_LOGOUT . '</a>'); new infoBox($info_box_contents); } else { $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_AFFILIATE_INFO, '', 'NONSSL'). '">' . BOX_AFFILIATE_INFO . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE_FAQ, '', 'NONSSL') . '">' . BOX_AFFILIATE_FAQ . '</a><br>' . '<a href="' . tep_href_link(FILENAME_AFFILIATE, '', 'SSL') . '">' . BOX_AFFILIATE_LOGIN . '</a>' ); new infoBox($info_box_contents); } ?> </td> </tr> Regards Steve Quote Link to comment Share on other sites More sharing options...
Snowman Posted June 9, 2005 Share Posted June 9, 2005 new problem. I am obviously full of them. My product description is displaying a code under all of the pictures in the product description any ideas why it is has this after the pic FILENAMES.PHP in CATALOG ADD define'FILENAME_CATEGORIES_INFO', 'index.php'); <{POST_SNAPBACK}> I dont know what youve done there but something is very amiss... you have somehow managed to get some of the instructions readme file in your code... i think you had better delete the module and start again Quote Link to comment Share on other sites More sharing options...
jazzter Posted June 10, 2005 Share Posted June 10, 2005 I dont know what youve done there but something is very amiss... you have somehow managed to get some of the instructions readme file in your code... i think you had better delete the module and start again <{POST_SNAPBACK}> I re-installed an earlier version and I know where I went wrong. The last instruction says FILENAMES.PHP in CATALALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); I dont have a file called filenames.php and catalog is spelt wrong. is this supposed to be here? I ended up adding this as code to the end of product_info.php Thanks again for your help Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2005 Share Posted June 10, 2005 filenames.php is in the includes directory Quote Link to comment Share on other sites More sharing options...
needs_a_nap Posted June 10, 2005 Share Posted June 10, 2005 Hi there, Thanks for the great mod! I've got it working for the most part, but when creating a text link banner using a category number, the link that it makes is only the home page of the cart, instead of the category URL. Any ideas? I'm using v 2.5a on MS 2.2 Thanks! Quote Link to comment Share on other sites More sharing options...
needs_a_nap Posted June 12, 2005 Share Posted June 12, 2005 Just an added note - when trying to add a banner linked to a specific product (admin side), it does not show up at all in the affiliate's banner listings. If I try within the affiliate's area (catalog side), I can build a link successfully to a product, but I need category links, which are not working on the admin side (they link to the home page instead of the category page), and is not available on the catalog side. Quote Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 14, 2005 Share Posted June 14, 2005 Are you sure we are talking about the same graphic file? The New Newsletter button is called button_new_newsletter.gif (that's the one you are giving me) and the other is called button_new_news_item.gif. The Affiliate Newletter button belongs on the page admin/affiliate_newsletters.php, while the Affiliate News button belongs on the page admin/affiliate_news.php. It is supposed to be located at admin/includes/languages/english/images/buttons/button_new_news_item.gif, but it wasn't in the package. Just in case anybody else is after the new_news_item button, it's not in the package, so I've created one, please feel free to download: New news item button BTW great contribution, thanks everybody involved! Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
needs_a_nap Posted June 15, 2005 Share Posted June 15, 2005 :'( Okay how about this... can anyone tell me how I can change the code on the catalog side, where the affiliate can make their own banner, to use a category instead of a product number? Thanks If I try within the affiliate's area (catalog side), I can build a link successfully to a product, but I need category links, which are not working on the admin side (they link to the home page instead of the category page), and is not available on the catalog side. <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
F-15-FlyingFalcon Posted June 23, 2005 Share Posted June 23, 2005 I have a problem. The Build a Link Pop Up window lists products that are sold (not in stock). Could someone give me the code needed to change this? Thanks!! Quote Link to comment Share on other sites More sharing options...
starachna Posted June 29, 2005 Share Posted June 29, 2005 (edited) Hello's! First of, what a great contribution!! really awesome stuff!! Well Done!! I would like to know, weather it's possible to, let ONLY ADMIN create a new affiliate account? some websites are real dodgy!?! and i don't want my product shown on their sites :P OR have a similar functionality similar to "Edit Order" or "New Order" in the admin backend but for affiliates, thus New Affiliate or Edit Affiliate? I'm using v 2.5a on MS 2.2 thanks for your time! ciao/riaan Edited June 29, 2005 by starachna Quote Link to comment Share on other sites More sharing options...
needs_a_nap Posted June 30, 2005 Share Posted June 30, 2005 Would REALLY appreciate some assistance here... I cannot get the admin side to save the category or product number to the actual link - all links point to the index page. I've re-installed but nothing has changed. Quote Link to comment Share on other sites More sharing options...
davea0511 Posted July 1, 2005 Share Posted July 1, 2005 I would like to know, weather it's possible to, let ONLY ADMIN create a new affiliate account? some websites are real dodgy!?! and i don't want my product shown on their sites :P <{POST_SNAPBACK}> First I'd go to your storefront and copy the links under "Affiliate Program" - you'll want to put them on a different page to send the Affiliates you want. Then, just comment out the following from catalog/includes/column_left.php: from: require(DIR_WS_BOXES . 'affiliate.php'); to: // require(DIR_WS_BOXES . 'affiliate.php'); You can then create a seperate webpage that that includes the links you previously copied from your storefront. ... affiliate_contact.php ... affiliate_faq.php ... affiliate_info.php and your secure link for affiliates to log in or create their own accounts (blah, blah ... affiliate_affiliate.php) Quote Link to comment Share on other sites More sharing options...
starachna Posted July 1, 2005 Share Posted July 1, 2005 thanks davea0511! i managed to uncomment out the areas i don't need! thanks for the help! have a super day! ciao/riaan First I'd go to your storefront and copy the links under "Affiliate Program" - you'll want to put them on a different page to send the Affiliates you want. Then, just comment out the following from catalog/includes/column_left.php: from: require(DIR_WS_BOXES . 'affiliate.php'); to: // require(DIR_WS_BOXES . 'affiliate.php'); You can then create a seperate webpage that that includes the links you previously copied from your storefront. ... affiliate_contact.php ... affiliate_faq.php ... affiliate_info.php and your secure link for affiliates to log in or create their own accounts (blah, blah ... affiliate_affiliate.php) <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
chooch Posted July 4, 2005 Share Posted July 4, 2005 (edited) hi even if you are not familiar with affiliate 2.5 please still read this as you may be able to help remove the ssl/https problem!! i have used version 2.5 of the affiliate and gone through all possible ideas about why the images were not being created in the affiliate build link/product/etc i have gone through this forum and tried eveything... i have just realied (after 2 weeks of getting nowhere) that when i click the image error (where the image should be but it doesn't show) the url opens with https:// even though i am not on ssl. when i manually removed the 's' from 'https' from the browser it loaded correctly..... please advise where to remove the ssl instruction or how to make the new url that opens up to go with http and not https thanks Edited July 4, 2005 by chooch Quote Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2005 Share Posted July 6, 2005 I am getting the following error. Does anyone have an ideas? 1146 - Table 'boorooag_p_os1.affiliate' doesn't exist select count(*) as count, sum(affiliate_value) as total, sum(affiliate_payment) as payment from affiliate sales [TEP STOP] Quote Link to comment Share on other sites More sharing options...
Oscy Posted July 9, 2005 Share Posted July 9, 2005 Hi!I have tried so many times, but it don?t works. I?ve got only one language id=4 INSERT INTO languages VALUES (4, 'Svenska', 'se', 'icon.gif', 'svenska', 0); And the orderstatus I want to use is 13. INSERT INTO orders_status VALUES (13, 4, 'Betald - Uth?mtad'); My admin affiliate_configure.php looks like.. define ('AFFILIATE_BILLING_TIME','-1'); // Orders billed must be at leat '30' days old. // needed if a order is refunded // CHECKIT define ('AFFILIATE_PAYMENT_ORDER_MIN_STATUS','13') // Which status must an order have, to be billed Why will it dont work?? When I press "Payment" its empty, i have made testorders, and I have set orderstatus 13 - Betald - Uth?mtad. Please.. Best Regards, Patrick Andersson <{POST_SNAPBACK}> Maybe it shoud say not Svenska, but the same in English? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2005 Share Posted July 17, 2005 Hello! I'm wondering if some of you guys can help me with my little issue here, the situation is as following: When a customer has entered via an affiliate-ID and checks out, the aff. contribution fetches the total sum, where a percentage or similar is credited the affiliate, BUT if the customer also uses the CCGV, say a coupon-code, the logical thing would be that the affiliate would be credited the _real_ total, in other words the sum after the coupon is added, right? This ain't happening :'( So the affiliate basicly gets credit for more than he/she is supposed to, if you get my drift. I've managed to narrow the problem down to the code under (i think), but i can't get any further than this, basicly i need to give that code-snippet the correct (after-ccgv) total-sum, not the "before ccgv" sum. affiliate_checkout_process.php: for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { $affiliate_total += $order->products[$i]['final_price'] * $order->products[$i]['qty']; } I don't know wether or not I would be better off posting this in the support-thread for the ccgv-contribution, but i thought someone in here might know a sollution. help! :rolleyes: best regards -vebj?rn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.