Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lil_dave

Pioneers
  • Posts

    25
  • Joined

  • Last visited

Profile Information

  • Real Name
    Dave Batt

lil_dave's Achievements

  1. AHA! Here's the solution. Don't use an underscore between words. For example I wanted my four freight options to be ... But I made my variable names (when I did my search and replace) And the after the problem of having the three variable names captilised (read above) ... the CHECKOUT screen wouldn't progress past the SHIPPING METHODS screen. It just kept refreshing. So I tried burt's suggestion that he emailed me, but it didn't work. So I AB'd the standard FLAT.PHP file with one of mine and the lines were identical except for the variable names which is exactly what you'd expect. Then I remembered that in some languages, the underscore '_' is a reserved character, used for concatenation or joining of strings ... so it might cause some problems. Once I took the underscore out of the variable names that I had usde in all the files in the : It worked. Yay.
  2. Hi all, Thought I would update this thread as I still don't have a working solution. burt sent me a single file version of the multiple flat file version that I had (which looked great) but it still had the problem - when the user clicks on the CONTINUE button ... nothing happens other than an apparent screen refresh - ie it doesn't move forward to the payment screen. So I removed all my flat files and tried it with just burt's suggestion ... no go. I went back to the Zones method that I had ... and that works fine. Because the instructions appear to work for others, and burt obviously wouldn't send me code that doesn't work - it's got to be something else that I need to change. HAS ANYONE ELSE come across the problem where you use a FLAT.PHP file, or a modified FLAT.PHP and the CONTINUE button doesn't work? Cheers Dave
  3. I would be interested in seeing that because, I've now discovered that whilst the display looks right ... the CONTINUE button simply refreshs the screen ... regardless of what was clicked on. So people cant' order anything. So something is not working properly and I need to fix it urgently. Site is at www.russianembroidery.co.nz Cheers Dave
  4. Based on one of the other threads I managed to do it, but copying the FLAT.PHP files in the MODULES and LANGUAGES folders and editing. I should note that in the MODULES version you must make sure the case sensitivity is observed ... from what I could see there were three places where this is important ... consider that I was making a new flat rate called oe_courier.php ... 1 class oe_courier { 2 var $code, $title, $description, $icon, $enabled; 3 4// class constructor 5 function oe_courier() { 6 global $order; 7 8 $this->code = 'oe_courier'; 9 $this->title = MODULE_SHIPPING_OE_COURIER_TEXT_TITLE; 10 $this->description = MODULE_SHIPPING_OE_COURIER_TEXT_DESCRIPTION; 11 $this->sort_order = MODULE_SHIPPING_OE_COURIER_SORT_ORDER; Line 1, 5 and 8 seem to need to be lower case and the same as the file name. If they are UPPER CASE then the system will tell you that you have modules to install, but they won't show up in the list.
  5. Hi, I've read a few threads here but none have really answered my question. How do you manually assign freight rates to the checkout screen. I don't need/want them dependant on the users location ... I want them to be able to choose. For example New Zealand Post - $2.50 New Zealand Courier - $10.00 International Post - $10.50 International Courier - $42.00 Everything seems to be zone based and dependant on where the user's location address is set to. Cheers Dave
×
×
  • Create New...