Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FWR Media

♥Ambassador
  • Posts

    6,718
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by FWR Media

  1. I've developed for myself an extension to supertracker called salestracker Equilla I hope you don't mind this, I'm an avid user of supertracker and thought about starting a new thread, but as this contrib only works when supertracker is installed I thought to mention it here. If people wish me to continue I can ofc move the support elsewhere. What it does This needs no new SQL as it uses the osC and supertracker tables A dropdown menu of .. Today Yesterday This week This month Shows at a glance .. Sale value Customer (click on link to see invoice) Referrer Ad campaign Payment method (shows red if [PayPal IPN]) Status (click on link to edit the order/change status) Total Sales Corrected sales (Less shipping and [PayPal IPN] and refunds) Corrections made e.g. Shipping ?X Other corrections ?X Description of Other Corrections e.g. Customer: Joe Bloggs Refund: ?X Customer: Jane Bloggs [PayPal IPN] ?X Is anyone interested in this being added as a sub-contribution?
  2. I'm not familiar with that mod but, if I'm right the coding practise for osc is that a tep_ that is not html output should be in includes/functions/general.php Did you complete all the required changes for the mod? (check) Having said that I use PayPal IPN on a profitable site and it works fine . If all else fails try that.
  3. Well I was having a look but it seems you are dabbling atm as I started to get 500 errors.
  4. Don't know if it's the same issue but I solved an order_total problem here
  5. New version uploaded. Information Pages Enhanced v1.3 This is a full package. >>Adds a new table to the DB parent_id >>Each page can have children (One layer) >>Articles menu works like standard osC categories >>Support for dynamic sitemap just add <?php echo $sitemapString; ?> before the final </ul> on about line 76 of catalog/dynamic_sitemap.php to show all your articles and their children. >>Admin support where pages can be assigned "parents" >>catalog/information.php replaces right hand image opposite the TITLE with a list of page "children". Can be downloaded HERE
  6. strtolower($tok) converts all text in $tok to lower case that's all
  7. Better still probably better to use strtolower() in case the bots decide to change their name. if ( !strstr(strtolower($tok), "mozilla") && !strstr(strtolower($tok), "compatible") && !strstr(strtolower($tok), "msie") && !strstr(strtolower($tok), "windows") ) {
  8. Think I've cracked it! in admin>whos_online.php change mozilla to Mozilla approx line 416 Did it for me.
  9. Having looked at it a bit .. I think the problem "may" lie in the following code in admin>whos_online.php } elseif ( $is_bot ) { // Tokenize UserAgent and try to find Bots name $tok = strtok($whos_online['full_name']," ();/"); while ($tok) { if ( strlen($tok) > 3 ) if ( !strstr($tok, "mozilla") && !strstr($tok, "compatible") && !strstr($tok, "msie") && !strstr($tok, "windows") ) { echo "$tok"; break; } $tok = strtok(" ();/"); } // Check for Account } Why? because the bot "user_agent" is being saved to the DB, for example as .. Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp) Yet it is being shown as Mozilla.
  10. I have exactly the same, the bot is invariably called Mozilla regardless of whether it is actually google etc. It is not spiders.txt as it remained the same even after loading my old "working" version.
  11. I'm not the best for following the rules here, I have tended to post (with best intentions) then find my post deleted as I neglected to follow the posting guidelines (sorry for the waste of your time mods) As a "part time coder" (read I'm a professional salesman with no techie quals) and with little time available I find it very hard to develop a contribution to the level where this forum needs it to be to gain input from the community. What I mean by this is I have to upload a contribution prior to gaining development help and I don't wish to offer a substandard contrib in it's early stages as it would just create confusion and time wasted (potential disasters) for users. Now, I recently learnt from a moderator that "certain unscrupulous individuals" have gained knowledge from these opensource forums in order to create an Osc modification then have neglected to offer it as an OS contrib. This practise is of course dispicable and must be guarded against. However, and the point of this post, I feel there should be a "contrib in development/feasibility" board where general points and goals etc can be discussed, but no actual coding help to guard against misuse. I also feel that it could offer some motivation to accelerate the genuine offering and realisation of core osC mods. I'll probably be shot down but thoughts appreciated.
  12. Looks to me like some hack bots looking for a mambo installation.
  13. Well I've answered this for myself. So here is the solution in case others have this problem. Symptoms: - As mentioned above .. plus .. On return from paypal after a successful transaction Cannot redeclare class order_total the temptation is to set include(DIR_WS_CLASSES . 'order_total.php'); as require_once(DIR_WS_CLASSES . 'order_total.php'); in paypal_ipn.php. DON'T it is not the problem or the solution Somewhere in the official support thread it is suggested that you change the following code in checkout_process.php require(DIR_WS_CLASSES . 'order.php'); $order = new order; // load the before_process function from the payment modules $payment_modules->before_process(); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; $order_totals = $order_total_modules->process(); Leave this as standard (or modify back to standard) because this is what was causing my problem. Hope this helps someone
  14. To clarify: All is correct in admin>orders All is correct in customer order history screen. The problems are: - voucher balance is updated incorrectly with the cash value spent (item value - voucher value) email sent out shows: - The order total as what the final voucher balance should have been. The voucher value used as the cash value spent
  15. ***More Info to Tie this down**** The email sent to customer is also wrong as follows: - Sub-Total: ?24.98 >>Is correct UK Royal Mail Rates (Shipping to GB : 4.00 kg(s)): ?0.00 >>Is correct Gift Vouchers: ?9.97 (Should show ?15.01 i.e. the value of the voucher) Total: ?0.00 (Should be ?9.97 (i.e. (total cost - minus voucher value) ) My order total module sequence is below: - sub total =1 shipping = 2 tax = 3 discount coupons = 4 gift vouchers = 5 total = 6
  16. I have read all 150 odd posts and can't see anyone with the same problem which leads me to believe the problem is local to my code. I am using 5.14 with all available correction mods (to my knowledge) The problem exists with paypal IPN only, which suggests it lays with the paypal_ipn.php file: - All works fine, except example: - Customer has a voucher balance of ?15.01 Customer buys a product with a value of ?24.98 and clicks to use their voucher credit Result: - All correct going through the paypal process Return to the shop: - Voucher Balance reads : ?5.04 where it should read ?0 What it's doing is :- voucher balance remaining = (previous voucher balance - Total cash paid(in this case ?9.97)) Instead of what it should be doing :- voucher balance remaining = (previous voucher balance - voucher amount used this purchase) Any ideas? is the fault in the CCGV_514_PaypalIPN_11_fix contribution? Thanks Rob
  17. Make sure you uploaded all files to catalog>admin Or to put it another way, supertracker.php doesn't exist in admin>supertracker.php
  18. Hi Mark Thanks again for your efforts with this .. The new release is working spot on .. and for your notes I am having no wpcallback probs :thumbsup: 2 points:- 1) Presentation of PPC The PPC report is very hard to read (referals os spalt wrangly btw (refferals) :) ) There should be some CSS to clean this up a tad. 2) My second biggest referrer (which I believe is adwords <googleads>) shows as a blank URL .. see below:- 1 http://www.google.co.uk/search 672 2 660 Is it not recognising the urls with ref=&keyw= ?
  19. you seem to have added keyword twice .. e.g. AdGroupName:keyword,keyword My understanding is the following is correct ... AdGroupName:keyword,AdGroupName:keyword,AdGroupName:keyword,AdGroupName:keyword
  20. Well .. you may want the campaign item to point to "products_id=" so the click moves to a specific product, but you still need ref=xxx&keyw=xxx for supertracker to record it you would probably add it as "&ref=xxx&keyw=xxx" but I'm sure Mark will reply with a recommended solution when he has the time.
  21. In google admin you will see a URL for each "campaign item" e.g. the google URL may be .. http://www.mysite.com/myshop/ you would want to change each url to look like .. http://www.mysite.com/shop/index.php?ref=g...ad&keyw=wiggits g...ad was meant to read "googlead" Where "wiggits" is the specific term for the campaign item or product All this does is add ?ref=googlead&keyw=wiggits to the end of each click comming into you from adwords, oscommerce wont notice the "ref=googlead&keyw=wiggits" but supertracker will record it for you. Hope this helps
  22. keywords should be written like ...... kw:keywords where kw is the short code .. seperated by ":" .. then full description e.g. the following is mine: $ppc = array ('googlead' => array ('title' => 'Google Adwords', 'keywords' => 'gb:grobag,gbs:grobags,bb:baby,bgb:baby_grobag,bc:baby_clothes,bsb:baby_sleeping_bags,gw:grow_bags,bgbs:baby_grobags'));
×
×
  • Create New...