11 messages in com.googlegroups.google-checkout-api-ukRoyal mail - UK - Any solution?| From | Sent On | Attachments |
|---|---|---|
| Beast900 | 27 Jul 2007 03:00 | |
| Ropu | 27 Jul 2007 09:38 | |
| Antony Millar | 30 Jul 2007 03:56 | |
| Beast900 | 30 Jul 2007 10:17 | |
| Ropu | 30 Jul 2007 11:52 | |
| Beast900 | 31 Jul 2007 04:41 | |
| Ropu | 31 Jul 2007 08:37 | |
| Antony Millar | 31 Jul 2007 11:55 | |
| Ropu | 31 Jul 2007 13:34 | |
| Ropu | 31 Jul 2007 13:35 | |
| Antony Millar | 01 Aug 2007 02:15 |
| Subject: | Royal mail - UK - Any solution?![]() |
|---|---|
| From: | Beast900 (ant...@compushopdirect.com) |
| Date: | 07/27/2007 03:00:47 AM |
| List: | com.googlegroups.google-checkout-api-uk |
I have everything working on version 1.3 but shipping.
i am uk based and am willing to use a work around if possible.
This workaround in gccheckout.php works for cost based shipping.
$gcheck->pop('shipping-methods'); */ $subtotal = $cart->show_total(); if ($subtotal <= 250) { $shipval = "5.00"; $shipname = "Flat rate Google shipping"; } else if (($subtotal > 250) && ($subtotal <= 9999)) { $shipval = "7.00"; $shipname = "Royal Mail special delivery"; } $gcheck->push('shipping-methods'); $gcheck->push('flat-rate-shipping', array ('name' => 'Google Checkout Rate')); $gcheck->element('price', $shipval, array ('currency' => 'GBP')); $gcheck->push('shipping-restrictions'); $gcheck->push('allowed-areas'); $gcheck->push('postal-area'); $gcheck->element('country-code', 'GB'); $gcheck->pop('postal-area'); $gcheck->pop('allowed-areas'); $gcheck->pop('shipping-restrictions'); $gcheck->pop('flat-rate-shipping'); $gcheck->pop('shipping-methods');
does anyone know how to manipulate this code based on weight?
i dont mind using hard code to fix the problem.
i have been using oscommerce forum but it looks as though it has since been deleted.
if anyone has got royal mail first, second, and recorded delivery as well as cost weight shipping module to work with this please let me know.
i have tried everything but to no avail
any help would be greatly appreciated.
Regards
Antony




