Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

amayernx

Members
  • Content count

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Anthony Mayernik
  1. amayernx

    fast easy checkout

    I'm not aware of any modifications required to make CCGV or discount coupon codes work, aside from two lines of code commented out in 'checkout_shipping.php' (lines 21 and 22).
  2. amayernx

    fast easy checkout

    If you just want some find/replace, I'd just use Nana's contribution from 4 May 2006. It's what I developed the FEC Quicker Install version from, and his instructions are pretty complete. Ignore the line numbers and find the relevant chunk of code with your favourite editor, then do what needs to be done. Also don't forget that his values for FILENAME_CHECKOUT_PAYMENT and FILENAME_CHECKOUT_SHIPPING are wrong, as noted on 27 November 2006 (it should be "checkout_shipping.php", not "fec_shipping.php"). I don't know what effect CCGV and the discount coupon codes would have. Do either of the modifications have any affect on the blocks of code that FEC replaces? It'll be next weekend at the earliest before I'll have a chance to install those contributions on my development server and see what they affect.
  3. amayernx

    fast easy checkout

    The values of "FILENAME_CHECKOUT_PAYMENT" and "FILENAME_CHECKOUT_SHIPPING" in your includes/filenames.php, what are they set to? If they're set to anything else, try "checkout_shipping.php". The manual install instructions written by Nana indicate to set them to "fec_shipping.php", which is a file that doesn't exist. The payment modules shouldn't affect things, as they're generated within the code by a fairly basic "if...then" routine that generates the code necessary.
  4. amayernx

    fast easy checkout

    I'd need to know what you mean by "modified" shop. Manual modifications, contributions, some other black magick? The "Quicker Install" version is intended for people with a fresh install of osCommerce, or in cases where they know the 21+ files involved are untouched (or you know what changes have been made and can merge the differences). Ideally, it would be the first package you'd install, or the folks at osCommerce would merge it with the codebase...but I think every contribution developer thinks their contribution should become part of the codebase. If you'd like, I'll update Nana's original package to include complete installation instructions (they're good, but line numbers are in need of an update and there's some code debugging to be done), but it won't be the same painless install that my iteration is. Is that what you're looking for?
  5. amayernx

    fast easy checkout

    Howdy all...I'm still supporting this contribution, as I think it's the best solution to the problem. One of the major problems that I encountered with getting an old employer to take up the freeware mantle is that the shopping cart takes FOREVER to check out of, and we lost sales because it. While Nana's code was a very good start, it still forced a lot of manual coding for what should be a drag-and-drop process. I tried, relatively successfully, to convert the FEC install to completely automated, but I started with a flawed codebase, because I was working from my development install when I started copyng files out, rather than a fresh install. The problem is this: I'm not working full-time as a programmer anymore. I'm doing this in the evenings, on my own free time, which tends to mean that my support is erratic. I am in the midst of re-writing the FEC 3.2 Quicker Install that I built to support RC2, and eliminate all of the band-aid fixes I've created since 2006. A year is a long time to go without a code review. I will try to pay more attention to the forums, but I can go a week or two between checking the boards if you don't PM me with a specific question. Schenz, by way of update, I think I've figured out the problem that you asked me about. I'll have something Saturday evening-ish if I can find the caffiene to go on.
  6. amayernx

    fast easy checkout

    And I'll talk to myself some more. But, if you're listening, I have a surprise. I have fixed the 'Get New Total' AJAX button on 'checkout_shipping.php'. On line 265 in 'includes/fec/ajax_shipping.php', change it to: document.write('<input type=button class="button" value="Get New Total" onclick="ajaxLoader(\'checkout_2confirmation.php?tip=\'+ zprice+\'&zship=\'+zhipper+\'&osCsid=\'+Csid,\'contentLYR\')" name="CLEARBUTTON">'); I just made this change on the site I'm putting together, and the button works now. Hope this helps :lol:
  7. amayernx

    fast easy checkout

    Okay, fixed the error. I had to use the "Use this if you're having problems with the no password" optional script, which seems to me that it's not so "optional". I also had to comment out the lines related to suburbs on the form_check.js.php page. I don't recall exact line numbers, but in the area of 166, 170, and 186 on form_check.js.php, there's some commentary on suburbs. If you've got that field disabled, it freaks out. In addition, there's a bug in the code for create_account2.php. I'll be compiling my fixes (and I'll try to tackle that "Get New Total" button) and putting it out there for your amusement this evening. I'll try to make it more complete so that people don't have to hunt down all of those "change this to this" sections, as that's kind of daunting for something that's supposed to be plug and play.
  8. amayernx

    fast easy checkout

    Just installed OSC 2.2 MS 2, FEC 3.2, caught the lack of quotes on a Javascript call, did all the debugging I can think of, but I can't make this one go away. On create_account2.php, the 'Check this box to use billing information' checkbox generates a object expected JavaScript error at line 323, even with all the fields filled in properly on the billing side. On the client side of the house, line 323 of create_account2.php is this: (Check to use Billing Information: <input type="checkbox" name="copy" OnClick="java script:ShipToBillPerson(this.form);" value="checkbox"> ) Any ideas why this is freaking out?
×