Hey Everyone,
I'm sure this is a painfully obvious question, but I couldn't really find anything that directly answered my question with a search.
When you get to the "shipping method" I just want there to be 3 seperate shipping options. ie:
1) Jewellery ONLY UK Purchase P&P £3.95
2) All other standard UK P&P £4.95
3) All non-UK orders P&P £6.99
The customer just selects which one is approprite to their order. In the back-end can i just make 3 copies of the Flat Rate module each with a different price?
Thanks.
I'm sure this is a painfully obvious question, but I couldn't really find anything that directly answered my question with a search.
When you get to the "shipping method" I just want there to be 3 seperate shipping options. ie:
1) Jewellery ONLY UK Purchase P&P £3.95
2) All other standard UK P&P £4.95
3) All non-UK orders P&P £6.99
The customer just selects which one is approprite to their order. In the back-end can i just make 3 copies of the Flat Rate module each with a different price?
Thanks.
.... mmmm .... I can't see a way to have more than one flat rate shipping so I resorted to lateral thinking.
You could triplicate the Flat Rate shipping module but that's too hard for those of us who are non techos
The other way I'm thinking is to use Zone Based shipping and create your 3 zones as 1. Jewellery 2. Standard 3. Non-Standard
Zone Based shipping requires weights so just make them up to suit your requirements if you aren't using weight.
Of course, the customer can buy pink lemons and still choose jewellery but them be the hazards of our trade
Maybe someone else has a better answer. I'm just taking a coffee break so I could be very wrong
You could triplicate the Flat Rate shipping module but that's too hard for those of us who are non techos
The other way I'm thinking is to use Zone Based shipping and create your 3 zones as 1. Jewellery 2. Standard 3. Non-Standard
Zone Based shipping requires weights so just make them up to suit your requirements if you aren't using weight.
Of course, the customer can buy pink lemons and still choose jewellery but them be the hazards of our trade

Maybe someone else has a better answer. I'm just taking a coffee break so I could be very wrong

The problem with the zone shipping is there's no easy to include ALL "non-uk" zones without adding each of the remaining 250+ countries 1 by 1. Zone shipping really needs a reverse method to mean all zones except the defined one.
But for now, I'd say triplicating would be the only way. Flat rate really needs to be modified to allow multiple rates, kinda like zone shipping and usps shows multiple rates.
I'll add it to the list.
But for now, I'd say triplicating would be the only way. Flat rate really needs to be modified to allow multiple rates, kinda like zone shipping and usps shows multiple rates.
I'll add it to the list.
Qphoria wrote: without adding each of the remaining 250+ countries 1 by 1.

This option needs brain cells. More coffee.But for now, I'd say triplicating would be the only way.
But flat is flat. How can flat be non-flatFlat rate really needs to be modified to allow multiple rates, kinda like zone shipping and usps shows multiple rates.
Is this like how the world use to be flat and then the developers went and made it round by adding more countries

Right. So still need a little help with this one. Thanks for all your replies so far.
http://www.vootrunner.com/oc-shipping.jpg
I've duplicated the falt rate shipping extension 3 times and named them (although this doesn't seem to effect the displayed text in the order!?). However, the problem now is they are all exactly the same. A change to one will be mirrored by the others. I can't change the code because that makes things break. Can i make flat2.php, flat3.php so they are writting to different files? But then i don't know if the cart is going to be looking specifically for flat.php and it will all mess up again.
How hard can it be to just have 3 payment options listed? :]
http://www.vootrunner.com/oc-shipping.jpg
I've duplicated the falt rate shipping extension 3 times and named them (although this doesn't seem to effect the displayed text in the order!?). However, the problem now is they are all exactly the same. A change to one will be mirrored by the others. I can't change the code because that makes things break. Can i make flat2.php, flat3.php so they are writting to different files? But then i don't know if the cart is going to be looking specifically for flat.php and it will all mess up again.
How hard can it be to just have 3 payment options listed? :]
You need to have diff codes, filenames, and controllers too.
Code:
flat
flat2
flat3
filenames:
flat.php
flat2.php
flat3.php
controllers:
shipping_flat
shipping_flat2
shipping_flat3
which means you need to also clone the corresponding files
Code:
flat
flat2
flat3
filenames:
flat.php
flat2.php
flat3.php
controllers:
shipping_flat
shipping_flat2
shipping_flat3
which means you need to also clone the corresponding files
Last edited by Qphoria on Wed Oct 29, 2008 1:47 am, edited 1 time in total.
all of them
/catalog/extension/module/shipping/flat.php
/catalog/language/english/extension/shipping/flat.php
/admin/controller/shipping_flat.php
/admin/language/english/controller/shipping_flat.php
/admin/template/default/content/shipping_flat.tpl
All need to be cloned twice and named accordingly
/catalog/extension/module/shipping/flat.php
/catalog/language/english/extension/shipping/flat.php
/admin/controller/shipping_flat.php
/admin/language/english/controller/shipping_flat.php
/admin/template/default/content/shipping_flat.tpl
All need to be cloned twice and named accordingly
Last edited by Qphoria on Thu Oct 30, 2008 7:44 pm, edited 1 time in total.
Now the fun begins.
All instances of flat.php and shipping_flat.php have been duplicated from their specific folders and named with 2 and 3.
However, I now get:
Fatal error: Cannot redeclare class ShippingFlat in /home/mikki/public_html/foxy/oc/catalog/extension/shipping/flat2.php on line 52
On the actual site.
And also if i try and install the extensions in admin I get:
Permission Denied!
You do not have permission to access this page, please refer to your system administrator.
Once again re-afirming why I enjoy being a graphic designer and not a web developer :]
All instances of flat.php and shipping_flat.php have been duplicated from their specific folders and named with 2 and 3.
However, I now get:
Fatal error: Cannot redeclare class ShippingFlat in /home/mikki/public_html/foxy/oc/catalog/extension/shipping/flat2.php on line 52
On the actual site.
And also if i try and install the extensions in admin I get:
Permission Denied!
You do not have permission to access this page, please refer to your system administrator.
Once again re-afirming why I enjoy being a graphic designer and not a web developer :]
In catalog/extension/shipping/flat2.php Be sure you change the class name at the top of each file from:mikki wrote: However, I now get:
Fatal error: Cannot redeclare class ShippingFlat in /home/mikki/public_html/foxy/oc/catalog/extension/shipping/flat2.php on line 52
On the actual site.
class ShippingFlat extends Shipping {
to
class ShippingFlat2 extends Shipping {
same in flat3.php
Same deal in:
admin/controller/shipping_flat2.php & 3
If you got the latest 0.7.9 you wouldn't have this problemmikki wrote: And also if i try and install the extensions in admin I get:
Permission Denied!
You do not have permission to access this page, please refer to your system administrator.

But since you do have this problem, you just need to goto
Admin->Configure->User Groups
and give the top admin access to the new files for modify and access
When i started this I did have the latest version of OC 
flat2.php (and 3) changed. I also changed the language->load url.
address =& $locator->get('address');
$this->config =& $locator->get('config');
$this->currency =& $locator->get('currency');
$this->database =& $locator->get('database');
$this->language =& $locator->get('language');
$this->session =& $locator->get('session');
$this->tax =& $locator->get('tax');
$this->language->load('extension/shipping/flat2.php');
}
shipping_flat2.php (and 3) changed. Again, also amended the language->load url.
locator->get('database');
$language =& $this->locator->get('language');
$module =& $this->locator->get('module');
$request =& $this->locator->get('request');
$response =& $this->locator->get('response');
$template =& $this->locator->get('template');
$session =& $this->locator->get('session');
$url =& $this->locator->get('url');
$language->load('controller/shipping_flat2.php');
However in the shipping_flat files there are lots of other references to the file and location and i'm wondering if all instances need to be changed?
At the moment if i try and use intall in admin it says it's done it, but the extension is still showing uninstalled and it disables the original extension.
I'd like to take this time to say thank you for all your help so far. Especially as the launch party is in a weeks time!

flat2.php (and 3) changed. I also changed the language->load url.
address =& $locator->get('address');
$this->config =& $locator->get('config');
$this->currency =& $locator->get('currency');
$this->database =& $locator->get('database');
$this->language =& $locator->get('language');
$this->session =& $locator->get('session');
$this->tax =& $locator->get('tax');
$this->language->load('extension/shipping/flat2.php');
}
shipping_flat2.php (and 3) changed. Again, also amended the language->load url.
locator->get('database');
$language =& $this->locator->get('language');
$module =& $this->locator->get('module');
$request =& $this->locator->get('request');
$response =& $this->locator->get('response');
$template =& $this->locator->get('template');
$session =& $this->locator->get('session');
$url =& $this->locator->get('url');
$language->load('controller/shipping_flat2.php');
However in the shipping_flat files there are lots of other references to the file and location and i'm wondering if all instances need to be changed?
At the moment if i try and use intall in admin it says it's done it, but the extension is still showing uninstalled and it disables the original extension.
I'd like to take this time to say thank you for all your help so far. Especially as the launch party is in a weeks time!
Latest 0.7.8 ? 0.7.9 is more betterermikki wrote: When i started this I did have the latest version of OC![]()

The only files that should matter are the ones that have flat or shipping_flat in themmikki wrote: However in the shipping_flat files there are lots of other references to the file and location and i'm wondering if all instances need to be changed?
At the moment if i try and use intall in admin it says it's done it, but the extension is still showing uninstalled and it disables the original extension.
Can you zip up all the new files that you made and attach them so I can have a look
Last edited by Qphoria on Thu Oct 30, 2008 7:46 pm, edited 1 time in total.
Hello Qphoria,
This is the perfect thread for me, I am having the exact same issue mikki is/was having, and am also stuck on the last comment that was made.
I am trying to duplicate the weight base shipping module. When i try to add the new shipping module i keep getting the message:
"Permission Denied!
You do not have permission to access this page, please refer to your system administrator."
Could you please share on how I can solved this problem.
This is the perfect thread for me, I am having the exact same issue mikki is/was having, and am also stuck on the last comment that was made.
I am trying to duplicate the weight base shipping module. When i try to add the new shipping module i keep getting the message:
"Permission Denied!
You do not have permission to access this page, please refer to your system administrator."
Could you please share on how I can solved this problem.
Who is online
Users browsing this forum: No registered users and 4 guests