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

  • SEARCH
  • Home
  • 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 8548087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:24:50+00:00 2026-06-11T13:24:50+00:00

I am using magento 1.7.0.2 and Google Checkout. When want to use Flat rate,

  • 0

I am using magento 1.7.0.2 and Google Checkout. When want to use Flat rate, Free Shipping over $75 and 10% shipping between $68 – $75.

How i implement all three on my magento store.

  • 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-11T13:24:51+00:00Added an answer on June 11, 2026 at 1:24 pm

    I have searched more and got a solution, it’s not a good idea to change core file but it’s working. You can calculate price with charges before sending in google checkout. change core file of google checkout at /app/code/core/Mage/GoogleCheckout/Model/Api/Xml/checkout.php .

    Go to line 579 and make condition as you want. In my case the condition is as:

    *********************
    
    $subTotal = Mage::getModel('checkout/cart')->getQuote()->getSubtotal();
                if($subTotal <=68.50){
    
                $xml .= <<<EOT
                    <{$nodeName} name="{$title}">
                        <shipping-restrictions>
                            <allowed-areas>
                            {$allowedAreasXml}
                            </allowed-areas>
                        </shipping-restrictions>
                        <price currency="{$this->getCurrency()}">{$price}</price>
                    </{$nodeName}>
    EOT;
                }
    
                if(($subTotal > 68.50) && ($subTotal < 75)){
                $price = $subTotal*10/100;
                $xml .= <<<EOT
                    <{$nodeName} name="{$title}">
                        <shipping-restrictions>
                            <allowed-areas>
                            {$allowedAreasXml}
                            </allowed-areas>
                        </shipping-restrictions>
                        <price currency="{$this->getCurrency()}">{$price}</price>
                    </{$nodeName}>
    EOT;
                }
    
                if($subTotal >=75){
                $price = 0.00;
                $xml .= <<<EOT
                    <{$nodeName} name="{$title}">
                        <shipping-restrictions>
                            <allowed-areas>
                            {$allowedAreasXml}
                            </allowed-areas>
                        </shipping-restrictions>
                        <price currency="{$this->getCurrency()}">{$price}</price>
                    </{$nodeName}>
    EOT;
                }
            }
    

    Now refresh your store and make payment with google checkout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm using magento version 1.3.2.4 I want to change a product shipping as free
We're using Magento 1.4.0.1 and want to use an extension from a 3rd party
I want to translate a frontend Magento store using only one csv file. So
I`m using Magento 1.3 and I want to test the new 1.4, but is
My magento install has a free shipping shopping cart rule, as well as coupon
i am using Magento 1.5.1.0. I want to remove the message textarea as an
I'm running an online store on Magento. I have Google Checkout as a Payment
Using Magento i want to create website where user can upload their products to
Im using Magento CE 1.6.2.. I am displaying products from THREE different categories on
I'm using magento and all my urls contains index.php. Can anyone give me the

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.