Page 37 of 94 FirstFirst ... 2735363738394787 ... LastLast
Results 361 to 370 of 934
  1. #361
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Hi,

    I've installed the new Royal Mail module and i've notice an error... On the cart view i get this error message below the google checkout button

    "Error: Shipping Methods not configured
    rm1stpacketsf (ignored)
    rmamsmallpacket (ignored)"

    Shouldn't this be hidden or is it a known bug?

    Thanks

    Tim

  2. #362
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Ok... it was a google checkout thing I had to fix.. however I believe this is an issue with this plugin... When I go to the google checkout screen it doesn't pick up the shipping rates but it does when I have one of the default shipping modules running....

    Any thoughts on this?

  3. #363
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    I have the same problem. I used the google shipping generator, but it is displaying errors for the shipping methods it doesn't pick up.

  4. #364
    Join Date
    Jun 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Quote Originally Posted by HeathenMagic View Post
    I have the same problem. I used the google shipping generator, but it is displaying errors for the shipping methods it doesn't pick up.
    Hi,

    Would you like to tell me which shipping modules your using and I'll give you an modified version of the file! PS when actually on Googlecheckout the shipping rates are not picked up properly, I will only be fixing the error below the googleheckout icon!

    Tim

  5. #365
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Quote Originally Posted by timryc01 View Post
    Hi,

    Would you like to tell me which shipping modules your using and I'll give you an modified version of the file! PS when actually on Googlecheckout the shipping rates are not picked up properly, I will only be fixing the error below the googleheckout icon!

    Tim
    Hello there,

    Thanks for that. I get the same result as you (below Google Checkout). Another error I get is below this also, but that is probably to do with another part of google checkout.
    I have:-

    Royal mail 1st packet
    Royal mail 1st packet recorded
    Airsure small packet
    Airsure small packet extra insurance
    International signed for small packet
    Airmail small packet
    Royal Mail special delviery next day
    Royal mail special deliver 9.00 am

    these are part of this mod of course

    and the one that still displays is store pickup.

    Regards,

    Russ

  6. #366
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Big Royal Mail Modules not hiding when free shipping enabled. freeshipper module

    Hi all,
    Just a Note of interest regarding the hiding of RM Modules when using the Freeshipper module
    RE:
    Quote Originally Posted by TPHoare View Post
    Try as I might I can't get the RM modules to hide if Free Shipping is applied. Weights are set to zero, zones are not an issue and hide if invalid is set to true. Have I forgotten something or is this just something that the RM modules are not programmed to do?

    I am using the Freeshipper module not Freeshipping options module.
    Quote Originally Posted by TPHoare View Post
    Sort of half solved my problem. Have inserted:

    // disable only when entire cart is free shipping
    if (zen_get_shipping_enabled($this->code)) {
    $this->enabled = ((MODULE_SHIPPING_RM1STPACKET_STATUS == 'True') ? true : false);
    }

    but will only work if hide if invalid switch is off in relevant shipping module admin.

    Still good enough for me. Wish I knew what I was doing.
    I was having the same problem, but I have a slightly different solution that doesn't require the hide if invalid switch to be set to off.

    The freeshipper module allows you to set an item to "Always free shipping" and works by setting the weight for that item to zero. Unfortunately all the Big Royal Mail Modules give a shipping value to any weight that is less than or equal to 0.1Kg and increases the value according to the weight.

    On the plus side this means the Big Royal Mail Module will assign the minimum value to all products that do not have a weight.

    On the minus side it means that the Big Royal Mail Modules will not hide when the freeshipper module is used.

    The following solution will resolve the problem but it does require that you give every product either a weight or tick the "Always free shipping" option and have the freeshipper module installed. (best to give all products a weight anyway, even downloads, in case you later remove the freeshipper module)

    Failure to do so will result in the following error message at the checkout when a product with no weight AND not selected as always free shipping:

    TITLE_NO_SHIPPING_AVAILABLE
    TEXT_NO_SHIPPING_AVAILABLE

    OK so with that understood, each Big Royal Mail Module that you wish to use will need editing thus (but make a backup first just to be safe):

    1. Access the modules at includes\modules\shipping

    2. Edit the Big Royal Mail Module you wish to use (e.g. \includes\modules\shipping\rm2ndletter.php)

    3. Perform a search for "if ($total_weight <=" (without the " quotes)
    you should find the following lines in each module:


    Code:
     
            if ($total_weight <= $zones_table[$i]) {
              $this->enabled = true;
              break;
            }
          } // end of looping through
    4. insert the following code before the line: break;


    Code:
     
              // disable when entire cart is free shipping defined by total weight = 0 as initiated by freeshipper
              if ($total_weight <=0) {
                $this->enabled = ((MODULE_SHIPPING_xxxxxxxxxxx_STATUS == 'false') ? true : false);
              }
    5. Notice the xxxxxxxxxxx part. This needs to be changed to the name of the module you are editing.

    e.g. if you are editing rm2ndletter.php it should look like this: MODULE_SHIPPING_RM2NDLETTER_STATUS

    Remember to use UPPERCASE letters.

    6. save the file and upload it to includes\modules\shipping

    the finished code should look like this (assuming your editing rm2ndletter.php):


    Code:
     
            if ($total_weight <= $zones_table[$i]) {
              $this->enabled = true;
              // disable when entire cart is free shipping defined by total weight = 0 as initiated by freeshipper
              if ($total_weight <=0) {
                $this->enabled = ((MODULE_SHIPPING_RM2NDLETTER_STATUS == 'false') ? true : false);
              }
              break;
            }
          } // end of looping through

    That's it. I hope this is helpful, it works for me. If I've made any mistakes or anyone has another solution, I would be glad to hear it.

    TFB

  7. #367
    Join Date
    Jan 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Is it possible to hide shipping options based on product size?

    For example, most of my products are shipped in small Jiffy envelopes which fall within the Royal Mail 'Large Letter' size category. However, I now have products where the package needs to be shipped as a 'Packet' - is it possible to hide the Large Letter shipping option if a large product is purchased?

    Thanks in advance,

    Jonathan

  8. #368
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    bug Re: New Royal Mail Modules

    I've been trying to use the Eurozone, International Datapost, and International Standard from the Big Royal Mail module version: 2.21a (latest).

    All other Royal mail modules work, except those 3 above. They do display the quotes correctly, but then it keeps getting stuck. When selecting any of those 3 as a shipping option, it keeps going back to index.php?main_page=checkout_shipping and does not want to proceed to index.php?main_page=checkout_payment

    Can anyone please shed a light on this thing? I've taken a look at the source code, trying to replace the function quote($method = '') with a simple function that returns an array from var_export but it still does not want to proceed to payment.

    ??

    Here's a screenshot.
    Attached Images Attached Images  

  9. #369
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Nevermind I've fixed it. The solution is not to allow any underscore in the class name. v2.2.3 download is available here: http://www.babygekko.net/downloads/t...t_view/gid,22/

  10. #370
    Join Date
    Jul 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: New Royal Mail Modules

    Hello all, I hope I get this right as I'm new and I'm not used to posting on these things

    I've installed this module on my site (it isn't live yet), and it's an absolute beauty, thank you so much to all who've worked on it! I have tested it and cant find anything wrong with how it works. However the backend looks a bit odd. When I'm in admin, modules, shipping, above the table of modules there is a whole bunch of code, it's quite long, but here is an excerpt

    PHP Code:
    case false: if($order->info['total'] < MODULE_SHIPPING_RM1STPACKETSF_MIN_ORDERVALUE){ $this->enabled false; return ; }else if(MODULE_SHIPPING_RM1STPACKETSF_MAX_ORDERVALUE != -&& $order->info['total'] > MODULE_SHIPPING_RM1STPACKETSF_MAX_ORDERVALUE){ $this->enabled false; return ; } break; } // end of switch on subtotal // check that it is a valid country being shipped to. $dest_country = $order->delivery['country']['iso_code_2']; $dest_zone = 0; for ($i=1; $i<=$this->num_zones; $i++) { $countries_table = constant('MODULE_SHIPPING_RM1STPACKETSF_ZONES_COUNTRIES_' . $i); $country_zones = preg_split("/,/", preg_replace('/\s*/','',$countries_table) ); if (in_array($dest_country, $country_zones)) { $dest_zone = $i; break; } } // ship to country is invalid for this service if ($dest_zone == 0) { $this->enabled = false; return ; }else{ $this->enabled = false; // enabled set to true if valid shipping weight found $zones_cost = constant('MODULE_SHIPPING_RM1STPACKETSF_ZONES_COST0_' . $dest_zone); $zones_table = preg_split("/[:,]/" , preg_replace('/\s*/','',$zones_cost) ); $size = sizeof($zones_table); for ($i=0; $i<$size; $i+=2) { if ($total_weight <= $zones_table[$i]) { $this->enabled = true; break; } } // end of looping through return ; } // end of valid country } // end of if hide invalid shipping methods is set } // class methods function quote($method = '') { global $order, $shipping_weight, $shipping_num_boxes, $currency; $currencies = new currencies(); $dest_country = $order->delivery['country']['iso_code_2']; $dest_zone = 0; $error = false; for ($i=1; $i<=$this->num_zones; $i++) 
    If you want more of an idea of how it looks, here is a screenshot



    What I want to know, is does anyone else get anything like this? is it something I need to worry about, given that the module does seem to work?

    Thanks in advance for any help...if it isn't already apparent I am no programmer, so the less jargon the better

    Cheers!

 

 
Page 37 of 94 FirstFirst ... 2735363738394787 ... LastLast

Similar Threads

  1. Royal Mail Basic UK Shipping Modules
    By Chuckl in forum Addon Shipping Modules
    Replies: 168
    Last Post: 24 Sep 2013, 08:04 PM
  2. UK Royal mail
    By pasticheart in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 19 Apr 2010, 02:38 PM
  3. Big Royal Mail Shipping Modules Mysteriously Stopped - Please Help
    By stevesubhub in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 8 Oct 2009, 02:17 PM
  4. Royal Mail
    By SilverKop in forum Addon Shipping Modules
    Replies: 0
    Last Post: 20 Feb 2009, 01:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR