Free Options.
How do I turn off Free Options from the drop down menu at GoogleCheckout?
I've just had a customer checkout with Google and they selected "Free Options" from the drop down and I never even knew I had free options!
Printable View
Free Options.
How do I turn off Free Options from the drop down menu at GoogleCheckout?
I've just had a customer checkout with Google and they selected "Free Options" from the drop down and I never even knew I had free options!
If you don't intend to offer free shipping at all, whether Google Checkout, Paypal, or Zen Cart checkout, you can turn off the freeoptions Shipping module. Go into admin > Modules > Shipping, select the freeoptions shipping module, and either edit it and set "Enable Free Options Shipping" to False, or remove the module if you prefer.
If you need freeoptions for Zen Cart or PayPal, but not Google Checkout, then you'll need to keep the module enabled, but edit the googlecheckout/shipping_methods.php to remove or comment the 'freeoptions' nested array within the $mc_shipping_methods array, and the 'freeoptions' item from the $mc_shipping_methods_names array. Be sure to preserve the proper syntax of commas and semicolons.
Anyway, those are the things that work for me.
I do need free shipping options for my standard checkouts.
Which part of this code would I need to comment out as there seems 14 references to 'free' and I'm not sure what to delete/uncomment?
PHP Code:
<?php
/*
**GOOGLE CHECKOUT ** v1.4.1
* @version $Id: shipping_methods_uk.php 5947 2007-08-24 14:58:57Z pablof $
*
*/
// this are all the available methods for each shipping provider,
// see that you must set flat methods too!
// CONSTRAINT: Method's names MUST be UNIQUE
// Script to create new shipping methods
// http://demo.globant.com/~brovagnati/tools -> Shipping Method Generator
$mc_shipping_methods = array(
'international_datapost' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'table1' => 'International Datapost'
)
),
'international_standard' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'table1' => 'International Standard'
)
),
'rmstdparcels' => array(
'domestic_types' =>
array(
'rmstdparcels' => 'Standard Parcels'
),
'international_types' =>
array()
),
'rmstdparcels100' => array(
'domestic_types' =>
array(
'rmstdparcels100' => 'Standard Parcels (to £100 insurance)'
),
'international_types' =>
array()
),
'rmstdparcels250' => array(
'domestic_types' =>
array(
'rmstdparcels250' => 'Standard Parcels (to £250 insurance)'
),
'international_types' =>
array()
),
'rmstdparcels500' => array(
'domestic_types' =>
array(
'rmstdparcels500' => 'Standard Parcels (to £500 insurance)'
),
'international_types' =>
array()
),
'rm1stlargeletter' => array(
'domestic_types' =>
array(
'rm1stlargeletter' => '1st Class "Large Letter"',),
'international_types' =>
array()
),
'rm1stlargelettersf' => array(
'domestic_types' =>
array(
'rm1stlargelettersf' => '1st Class Recorded Signed For "Large Letter"',),
'international_types' =>
array()
),
'rm1stletter' => array(
'domestic_types' =>
array(
'rm1stletter' => '1st Class "Letter"',),
'international_types' =>
array()
),
'rm1stlettersf' => array(
'domestic_types' =>
array(
'rm1stlettersf' => '1st Class Recorded Signed For "Letter"',),
'international_types' =>
array()
),
'rm1stpacket' => array(
'domestic_types' =>
array(
'rm1stpacket' => '1st Class "Packet"',),
'international_types' =>
array()
),
'rm1stpacketsf' => array(
'domestic_types' =>
array(
'rm1stpacketsf' => '1st Class Recorded Signed For "Packet"',),
'international_types' =>
array()
),
'rm2ndlargeletter' => array(
'domestic_types' =>
array(
'rm2ndlargeletter' => '2nd Class "Large Letter"',),
'international_types' =>
array()
),
'rm2ndlargelettersf' => array(
'domestic_types' =>
array(
'rm2ndlargelettersf' => '2nd Class Recorded Signed For "Large Letter"',),
'international_types' =>
array()
),
'rm2ndletter' => array(
'domestic_types' =>
array(
'rm2ndletter' => '2nd Class "Letter"',),
'international_types' =>
array()
),
'rm2ndlettersf' => array(
'domestic_types' =>
array(
'rm2ndlettersf' => '2nd Class Recorded Signed ForTM "Letter"',),
'international_types' =>
array()
),
'rm2ndpacket' => array(
'domestic_types' =>
array(
'rm2ndpacket' => '2nd Class "Packet"',),
'international_types' =>
array()
),
'rm2ndpacketsf' => array(
'domestic_types' =>
array(
'rm2ndpacketsf' => '2nd Class Recorded Signed ForTM "Packet"',),
'international_types' =>
array()
),
'rmamsmallpacket' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'rmamsmallpacket' => 'Airmail delivery in 3-5 working days.',)
),
'rmamisfsmallpacket' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'rmamisfsmallpacket' => 'International Signed For "Small Packet" Airmail delivery in 3-5 working days.',)
),
'rmamassmallpacket' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'rmamassmallpacket' => 'Airsure "Small Packet" Airmail Express delivery in 2-4 working days.',)
),
'rmamisfsmallpacket500' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'rmamisfsmallpacket500' => 'International Signed For "Small Packet" Extra insurance Airmail delivery in 3-5 working days.',)
),
'rmamassmallpacket500' => array(
'domestic_types' =>
array(),
'international_types' =>
array(
'rmamassmallpacket500' => 'Airsure "Small Packet" extra insurance Airmail Express delivery in 2-4 working days. __',)
),
'specialdelivery' => array(
'domestic_types' =>
array(
'specialdelivery' => 'specialdelivery next day'
),
'international_types' =>
array()
),
'specialdelivery9am' => array(
'domestic_types' =>
array(
'specialdelivery9am' => 'specialdelivery 9:00am',),
'international_types' =>
array()
),
'zones' => array(
'domestic_types' =>
array(
'zones' => 'Zones Rates'
),
'international_types' =>
array(
'zones' => 'Zones Rates intl'
)
),
'freeoptions' => array(
'domestic_types' =>
array(
'freeoptions' => 'Free Options'
),
'international_types' =>
array(
'freeoptions' => 'Free Options intl'
)
),
'freeshipper' => array(
'domestic_types' =>
array(
'freeshipper' => 'Free Shipper'
),
'international_types' =>
array(
'freeshipper' => 'Free Shipper intl'
)
),
'perweightunit' => array(
'domestic_types' =>
array(
'perweightunit' => 'Perweight Unit'
),
'international_types' =>
array(
'perweightunit' => 'Perweight Unit intl'
)
),
'storepickup' => array(
'domestic_types' =>
array(
'storepickup' => 'Store Pickup'
),
'international_types' =>
array(
'storepickup' => 'Store Pickup intl'
)
),
'flat' => array(
'domestic_types' =>
array(
'flat' => 'Flat Rate Per Order'
),
'international_types' =>
array(
'flat' => 'Flat Rate Per Order intl'
)
),
'item' => array(
'domestic_types' =>
array(
'item' => 'Flat Rate Per Item'
),
'international_types' =>
array(
'item' => 'Flat Rate Per Item intl'
)
),
'table' => array(
'domestic_types' =>
array(
'table' => 'Vary by Weight/Price'
),
'international_types' =>
array(
'table' => 'Vary by Weight/Price intl'
)
),
);
$mc_shipping_methods_names = array(
'rm1stpacketsf' => 'Royal Mail',
'international_datapost' => 'Royal Mail',
'international_standard' => 'Royal Mail',
'rm1stlargeletter' => 'Royal Mail',
'rm1stlargelettersf' => 'Royal Mail',
'rm1stletter' => 'Royal Mail',
'rm1stlettersf' => 'Royal Mail',
'rm1stpacket' => 'Royal Mail',
'rm2ndlargeletter' => 'Royal Mail',
'rm2ndlargelettersf' => 'Royal Mail',
'rm2ndletter' => 'Royal Mail',
'rm2ndlettersf' => 'Royal Mail',
'rm2ndpacket' => 'Royal Mail',
'rm2ndpacketsf' => 'Royal Mail',
'rmamassmallpacket' => 'Royal Mail',
'rmamassmallpacket500' => 'Royal Mail',
'rmamisfsmallpacket' => 'Royal Mail',
'rmamisfsmallpacket500' => 'Royal Mail',
'rmamsmallpacket' => 'Royal Mail',
'rmstdparcels' => 'Royal Mail',
'rmstdparcels100' => 'Royal Mail',
'rmstdparcels250' => 'Royal Mail',
'rmstdparcels500' => 'Royal Mail',
'specialdelivery' => 'Royal Mail',
'specialdelivery9am' => 'Royal Mail',
'freeoptions' => 'Free Options',
'freeshipper' => 'Free Shipper',
'perweightunit' => 'Perweight Unit',
'storepickup' => 'Store Pickup',
'flat' => 'Flat Rate',
'item' => 'Item',
'table' => 'Table',
);
?>
In the $mc_shipping_methods array, try commenting these lines...
... and also in the $mc_shipping_methods_names array, comment this line.PHP Code:
// 'freeoptions' => array(
// 'domestic_types' =>
// array(
// 'freeoptions' => 'Free Options'
// ),
// 'international_types' =>
// array(
// 'freeoptions' => 'Free Options intl'
// )
// ),
You also have freeshipper listed in these arrays. You can comment those lines similarly if you're not using freshipper for Google Checkout. Any shipping methods you are not offering though Google Checkout can be similarly commented or removed, but make sure you make a note of any values and settings in admin > Modules > Payment > googlecheckout before removing them from the arrays, in case you need to put them back later.PHP Code:
// 'freeoptions' => 'Free Options',
Alan,
Thank you for that!! I've just did it and tested it. Everything is working on Google Checkout now and so hopefully no more free shipping customers :-)
Thanks a million!
Can't figure out why it's trying to charge £15.00 for special delivery on something that only weighs 0.6kg though?!"?!
Glad it worked.
Sorry I can't help with the Special Delivery problem. Outside my experience.
I've just changed hosting providers from GoDaddy to Camelot and I now need to set:
.htaccess Basic Authentication Mode
Your site Site in installed with PHP over CGI?
This configuration will disable PHP Basic Authentication that is NOT compatible with CGI used in the responsehandler.php to validate Google Checkout messages.
If setted True you MUST configure your .htaccess files here.
False
True
to TRUE....
Now, when I click the link and generate the .htaccess and .htpasswd files, it puts the files in googlecheckout folder and loads a webpage with this:
.htaccess file: <<<Start--- AuthName "Google checkout Basic Authentication" AuthType Basic AuthUserFile /home/limelite/public_html/googlecheckout/.htpasswd require valid-user ---End>>> .htpasswd file: <<<Start--- 1**********6:3*********Y ---End>>> Files Created!
BUT!! Then, when I click on the shipping generator, it pops up a username and password box which entering the ******'ed out info above does not accept??
Anyone help me out here, can't seem to get through this :-(
Contact Camelot support...they should be able to advise if their servers are installed with PHP over CGI..
OK, update time. I'm getting there now!
I have got Google Checkout semi-working. Amazing what a fresh morning head can do :-)
I removed it completely from Admin, then I re-installed and reconfigured but this time I chose FALSE and I deleted the .htacces and .htpasswd files.
Now, the Google Checkout button is no longer shaded out and it lets me checkout and it shows all the correct shipping options on the drop down menu... EUREKA?? ALMOST!!
It shows 2 red text errors under the button:
1. Error: Shipping Methods not configured (which I simply removed from the language file)
2. freeoptions (ignored)....
I cannot find the text in any language file on my site that can be generating this 'freeoptions (ignored)' message....
Does anyone know how to remove this?? It looks like an error and will definitely cause a few raised eyebrows on a checkout page..... Anyone?