Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Cloned shipping module problem

    The default shipping method is calculated using a cheapest shipping class function. If you use the developers tool in the admin, oyu can see which file this function exists within. You would need to go through and either replace this with a new function, or butcher the cheapest function to return the most expensive method.

    Personally, I would go with creating a new class function, so that it is obvious when you return the code in a year or so what is happening.

    Absolute

  2. #2
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Re: Cloned shipping module problem

    Quote Originally Posted by Absolute View Post
    The default shipping method is calculated using a cheapest shipping class function. If you use the developers tool in the admin, oyu can see which file this function exists within. You would need to go through and either replace this with a new function, or butcher the cheapest function to return the most expensive method.

    Personally, I would go with creating a new class function, so that it is obvious when you return the code in a year or so what is happening.

    Absolute

    Absolute,

    Does this also determine the way that it is ordered at checkout?

    Thanks,

    Shrimp

  3. #3
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Cloned shipping module problem

    The ordering in checkout is determined by the sort order in teh admin, if you have more than 1 module installed. If there is only 1 module installed, it is normally ordered depending on how it coded for each of the methods of transport. As you are cloning this aprticular method, then I would guess that you have more than 1 shipping module installed, in whioch case, you just need to change the module's sort order.

    Absolute

  4. #4
    Join Date
    Feb 2007
    Posts
    90
    Plugin Contributions
    0

    Default Re: Cloned shipping module problem

    Well unfortunately it seems this error has come back to haunt me. I'm sure I got it working a month ago with the help of the people who posted above but now I have discovered it is returning the exact same error message when COD is selected. I don't know how long it has been doing this but I have tried recloning the shipping modules 3 times, even tried cloning different modules but cannot stop the error from coming up. I just cannot see what I have missed during the cloning process?

  5. #5
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Cloned shipping module problem

    Firstly, what is the error - please paste errors so that we have a better idea of your problem.

    Secondly, what is the filename of the new shipping module.

    Thirdly, have you gone through and replaced all three references to 'storepickup' to 'cod'?

    Absolute

 

 

Similar Threads

  1. v154 Help with cloned shipping module
    By gwynwyffar in forum Addon Shipping Modules
    Replies: 2
    Last Post: 17 Feb 2016, 03:36 PM
  2. Help...weird problem with cloned UPS shipping module
    By nomoremoo in forum Addon Shipping Modules
    Replies: 0
    Last Post: 7 Sep 2010, 01:12 AM
  3. Using a cloned shipping module
    By Verne in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Aug 2009, 10:13 PM
  4. Cloned Shipping Module problem?
    By slannesh in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 19 Jun 2009, 04:18 PM
  5. Cloned Shipping Module not working
    By Sake in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 24 Sep 2007, 04:12 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