Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8193809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:36:36+00:00 2026-06-07T04:36:36+00:00

Edit It looks like the called to get the rate code is returning the

  • 0

Edit

It looks like the called to get the rate code is returning the same thing for all of those shipping options. It looks like I need to find a way to define the reate code for each shipping option.

End Edit

I created a custom shipping module in Magento for UPS Freight shipping. I needed options for Freight + Lift Gate, Freight + Residential, and Freight + Lift Gate & Residential. Per a response on another board, instead of having a checkbox for each of these options I just create separate methods.

shipping options

As you can see from the image, Magento is calculating the prices correctly. The issue I have is that when I select one of the options and hit “update total”, it reverts back to the first option with the lowest price. After inspecting the inputs on the radio buttons, I found that they all have the same value.

<ul>
<li>
    <input name="estimate_method[2]" type="radio" value="excellence_excellence" id="s_method_excellence_excellence_2" class="radio">
    <label for="s_method_excellence_excellence_2">Freight<span class="price">$678.88</span></label>
</li>
<li>
    <input name="estimate_method[2]" type="radio" value="excellence_excellence" id="s_method_excellence_excellence_2" class="radio">
    <label for="s_method_excellence_excellence_2">Freight (Residential)<span class="price">$744.66</span></label>
</li>
.
. and so on.
.
</ul>

Since all of the inputs have the same value “excellence_excellence”, it makes sense that the price would just default back to the first one. Unfortunately, I have no idea how to fix this.

Below are links to my Model class, config.xml, and system.xml files. Any help, thoughts, or resources provided would be greatly appreciated.

Model
Config
System

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T04:36:38+00:00Added an answer on June 7, 2026 at 4:36 am

    I looked at your model file, and it has this:

    $method->setCarrier($this->_code);
    $method->setMethod($this->_code);
    

    and $this->_code is “excellence” so you might consider change method by adding name of the allowed method like :

    $method->setMethod($this->_code.$allowedmethod_code); //where allowedmethod_code have to be set based on your custom method names
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Take a look at my code example at js bin: http://jsbin.com/iritep/3/edit I'd like to
EDIT - The code looks strange here, so I suggest viewing the files directly
I have a model called Category which looks like this: class Category < ActiveRecord::Base
My JSON string looks like this (contained in a string variable called sJSON ):
Let's say I have an integer called 'score', that looks like this: int score
My .php code in a file fetchvalues.php looks like this: echo json_encode(array($PostedDate.Places.$Company.$Designation.$ProjectDetails.$DesiredCandidate.$HRName.$HRContact.$Email)); This file
Currently whenever the timestamp is echo'ed it looks like this function show_posts($userid){ $posts =
EDIT: I used, finally, inotify. As stefanB says, inotify is the thing to use.
is it possible to use GET or something like this to load a record
I have a table that looks like this: CREATE TABLE [dbo].[SomeTable]( [Guid] [uniqueidentifier] NOT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.