Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    27
    Plugin Contributions
    0

    Default Multiple Postage Rates for the UK (Letter/Packet)

    Hi,
    Got a small problem. I sell jewellery and gift boxes and am moving into other areas.

    With the UK, I can send jewellery via Large Letter (inexpensive items), but the gift boxes are packet rate. I have got this sorted out via a different thread, which works fine.

    Now the problem is, a new category will have products that will need to be packet rate, and some that would be best at large letter rate. There is a big difference in cost, and it could make the difference between a sale and lost order.

    Is there any way that this can be done? Even if editing the rm1stlargeletter.php module to do this.

    Currently worked around like this:
    Code:
    // disable for one master_categories_id
          if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','8') > 0)) {
              $this->enabled = false;
          } else {
              // hide UPS
              $this->enabled = true;
    		  }  
    	  
            return ;
    It might require products to be numbered higher than a certain number to make it work, would be good, or even creating a new product type to be able to filter the postage rates. If anyone could give me any help on how to do this, it would be appreciated.
    Not sure which field to put in rather than "master_categories_id", but using the product type might be my best way, as it would work with gift boxes too.

    Many thanks

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Multiple Postage Rates for the UK (Letter/Packet)

    Have you looked at Ceon's Advanced Shipper module?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    27
    Plugin Contributions
    0

    Default Re: Multiple Postage Rates for the UK (Letter/Packet)

    Thanks for that suggestion. To be honest, I don't really need anything that complicated at this stage, as it is quite a costly add on.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Multiple Postage Rates for the UK (Letter/Packet)

    Quote Originally Posted by bargaindropper View Post
    Thanks for that suggestion. To be honest, I don't really need anything that complicated at this stage, as it is quite a costly add on.
    This module resolves practically all shipping issues, once and for all.

    I developed a store for a client who also grew his business, changed shippers, added complicated product sets. Until we installed Advanced Shipper we'd spend many hours messing about with other modules, trying to work hacks into them to make them behave properly - and invariably failing to do so. We must have spent 20 - 30 hours messing about, and at £25/hour, coding is expensive! So, after wasting £500 £600, we purchased advanced shipper at less than one-tenth of this cost.

    Never had a problem since, and as the business changes we can change shipping formats quickly and easily - and in a matter of minutes.
    20 years a Zencart User

  5. #5
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    27
    Plugin Contributions
    0

    Default Re: Multiple Postage Rates for the UK (Letter/Packet)

    Sorted.

    Using Product Type to filter the different sized items appears to work. Just tried it, and it worked a treat :)

    This thread is the one I worked with originally:

    http://www.zen-cart.com/forum/showthread.php?t=91394

    The code, I put in on the OP, was edited as follows:

    In the RM1stlargeletter.php, the code was changed to:
    Code:
          // disable for one master_categories_id
          if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_type','2') > 0)) {
              $this->enabled = false;
          } else {
              // hide UPS
              $this->enabled = true;
    		  }  
    	  
            return ;
    In the RM1stpacket.php, the master_categories_id was changed to products_type as follows:

    Code:
         // disable for one master_categories_id
          if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_type','2') > 0)) {
              $this->enabled = true;
          } else {
              // Enable option otherwise
              $this->enabled = false;
    		  }    
    	  
            return ;
    .

    If you use recorded and second class rates, these files will need tweaking too. BUT, use at your own risk.

    Then just a case of setting up the products using products type, which is acceptable for me, as they are not created yet, and are to be added as and when.

 

 

Similar Threads

  1. How to combine postage for multiple per-unit orders?
    By louisapple in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 7 Nov 2012, 10:24 PM
  2. Canada Post Letter Rates
    By dal2009 in forum Addon Shipping Modules
    Replies: 56
    Last Post: 3 Mar 2012, 08:39 PM
  3. How do I set up postage rates for different countries?
    By Impact-Flies in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 10 Jan 2009, 06:32 PM
  4. AustPost Letter rates not working - always $52
    By brianosc in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 23 Jan 2008, 02:52 AM
  5. USPS api rates: All foreign and domestic rates correct except for Airmail Letter Post
    By dharma in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 23 Nov 2006, 02:57 AM

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