Post by irieiam » Tue Dec 03, 2013 11:54 am

Hello. We are shipping a product that can spoil so we need to allow one geozone to only be able to choose overnight or 2day air and the other geozone can select ground if they want. What would be the best way to do this?

Thanks and cheers!

Newbie

Posts

Joined
Tue Dec 03, 2013 11:39 am

Post by Johnathan » Tue Dec 03, 2013 11:17 pm

If you want to duplicate the UPS method, you can use Restrict Shipping Methods to limit one instance to certain geo zones, and the other instance to other geo zones. Usually duplicating the extension just involves copying the files and renaming all instances of "ups" to something like "ups2".

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by irieiam » Tue Dec 03, 2013 11:35 pm

Thanks, Johnathan. I was hoping that exact idea would work. I'll post back my results.

Newbie

Posts

Joined
Tue Dec 03, 2013 11:39 am

Post by irieiam » Wed Dec 04, 2013 1:35 am

I created a upsAIR extension and it's language file so UPSAIR shows in the shipping extension list. When I go to edit upsair, it's just a blank page? Any ideas?

opencart/admin/controller/shipping/ups.php
opencart/admin/controller/shipping/upsAIR.php
opencart/catalog/model/shipping/ups.php
opencart/catalog/model/shipping/upsAIR.php
catalog/language/english/shipping/ups.php
catalog/language/english/shipping/upsAIR.php

Newbie

Posts

Joined
Tue Dec 03, 2013 11:39 am

Post by irieiam » Wed Dec 04, 2013 5:51 am

I didn't see the .tpl file at the bottom of the list but the link below explaines it and it works perfectly!

Thanks again for the suggestion, Johnathan.



catalog/model/shipping/ups.php
catalog/language/english/shipping/ups.php
admin/controller/shipping/ups.php
admin/language/english/shipping/ups.php
admin/view/template/shipping/ups.tpl

http://opencart-help.com/shipping/4-how ... ncart.html

Newbie

Posts

Joined
Tue Dec 03, 2013 11:39 am
Who is online

Users browsing this forum: No registered users and 2 guests