Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

simiproject

Archived
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Real Name
    Adam Safran

simiproject's Achievements

  1. Sorry for the late reply. For some reason I wasn't getting post notifications on this thread. Anyway, sorry for the minor bout of dyslexia with the version number. It is, in fact, 4.3.1 as ibandyop pointed out. I also have to admit that my experience with PHP is still relatively new and mostly resigned to hacking existing code. However, I'll do my best to try and resolve the problems you guys have been having. I don't believe this contrib works with search engine safe URLS. However, I'd be happy to add that in the next update. I'm just not sure how. :oops: To singspiel's question, because the value is getting set in application_top, it shouldn't matter what page you send your visitors to. When I was testing this I clicked through to various pages and created orders both from new and existing customer accounts. Both seemed to work fine. Please note that the ad referral code (?ad=google) is saved to the user table NOT to the order table. This means that a returning customer's purchase will continue to add value under whatever ad code they came in with. This made sense to me since I still credit the ad with having brought me the customer in the first place AND I wanted to know about customers who came in didn't buy anything the first time but returned later. So, per your question, if a customer comes in through an ad, registers for an account but doesn't buy something the system will still capture the ad referral code. All future purchases by that customer will then show up as having originated from whatever ad they came in on. Finally, thank you dreamscape for the update. If that's working for everyone, I'll be sure to include it in the next upload.
  2. What version of PHP are you using? We recently upgraded to 3.4.1 and had to add the following to the very top (right after all the comments) of catalog/includes/appliction_top.php to avoid some errors. $HTTP_SERVER_VARS =& $_SERVER; $HTTP_ENV_VARS =& $_ENV; $HTTP_COOKIE_VARS =& $_COOKIE; $HTTP_GET_VARS =& $_GET; $HTTP_POST_VARS =& $_POST; $HTTP_POST_FILES =& $_FILES; $HTTP_SESSION_VARS =& $_SESSION; Try adding that. Then it should work...
  3. Sorry, I should have been more specific... <?php print "<!-- $advertiser -->"; ?> :D
  4. Hi, It could very well be me (as in my code is still newbie code)... However, just in case it's not, what you may want to try is adding some debug code in /catalog/default.php. For example, I have this just below the body tag: <!-- $advertiser --> Then I run a test where I go to the url with ?ad=whatever If all goes well, you should see the ad string in that comment field when you view the html source of the processed page. It's possible that I'm missing something to bring session values over when the customer switches from the anonymous to the signed in state. However, the code is working for me... Try the debug test and let me know if you can see the ad string throughout the user session AND after logging in. If it is working, the next step is to match up the variables in the insert function in /catalog/create_account_process.php.
  5. Ad tracker (where did they come from): http://www.oscommerce.com/community/contributions,583
  6. :D I updated the Ad Tracker to include a fix for PHP 3.4.x that was causing query 'link' errors. In addition, I recently added a report that shows total revenue derived from each ad source. Please note that this tracker should work with the latest build but was only tested on one from 12/2002. I haven't quite gotten around to updating to osCommerce 2.2MS1. I tried but I have way too many mods to bring over so I went back. :oops: Anyway, please let me know if you run into any problems with this latest version. It works great for me and I've been using the report function religiously to track and update my google and overture campaigns. To see a sample report: http://www.100monkeys.org/images/store/adr...sultsreport.gif Feedback is welcome and encouraged.
  7. Hi, I'm working on an update to the Ad Tracker and was hoping to see if those original problems where ever resolved. I apologize for not having seen the original posts. I just decided to search for "tracker" today to see if there was any discussion about my contrib. Anyway, I just finished a small admin feature that let's you *see* the results of your ads. :D I'm working on the docs right now and will be posting very soon. Adam Safran http://MonkeyGoods.com
  8. :D Hi! I've been following this thread and thought I'd give this thing a whirl. I'm a php and osCommerce newbie but the ad tracking thing was something I really needed. I wrote a simple modification to record ad tracking and referer data when users register for the first time. Let me know what you think. Suggestions and improvements are welcome. http://www.oscommerce.com/downloads.php/co...ions,804/type,3
  9. Ah... very good answer. Is there a way I could send the usps api demensions just under the oversized rate all the time? Most of my products are pretty small and it would take a rather large order to go above this mark. Thank you. :D
  10. :oops: I hope I didn't miss this. Anyway, a customer out of NY (I'm based in CA) was given a $6.50 parcel post rate and a $3.85 priority mail rate. These appear to be prices based on an oversized package as I was quoted somewhat less when I went through the USPS.com site. Is there a way to include package dimensions as well as weight? Thanks. My store is located at http://100monkeys.org/monkeystore/ if that helps. By the way, awesome contribution.
×
×
  • Create New...