openerp-connector-community team mailing list archive
-
openerp-connector-community team
-
Mailing list archive
-
Message #00279
Re: How to configure shipping methods
Inside of your Magento installation you can look at the Models of the the Shipping Methods provided.
I am not so sure about DHL, FedEx, UPS, and USPS because I don't use them, but the other shipping methods I am quite sure of.
app/code/core/Mage/Usa/Model/Shipping/Carrier/
Dhl.php line 45
const CODE = 'dhl';
Magento Carrier Code: dhl
Fedex.php line 44
const CODE = 'fedex';
Magento Carrier Code: fedex
Ups.php line 45
const CODE = 'ups';
Magento Carrier Code: ups
Usps.php line 67
const CODE = 'usps';
Magento Carrier Code: usps
app/code/core/Mage/Shipping/Model/Carrier/
Flatrate.php
Line 40: protected $_code = 'flatrate';
Line 93: $method->setMethod('flatrate');
Magento Carrier Code: flatrate_flatrate
Freeshipping.php
Line 45: protected $_code = 'freeshipping';
Line 79: $method->setMethod('freeshipping');
Magento Carrier Code: freeshipping_freeshipping
Pickup.php
Line 33: protected $_code = 'pickup';
Line 56: $method->setMethod('store');
Magento Carrier Code: pickup_store
Tablerate.php
Line 40: protected $_code = 'tablerate';
Line 157: $method->setMethod('bestway');
Magento Carrier Code: tablerate_bestway
Cheers,
Dylan
On Apr 8, 2014, at 10:29 AM, Lorenzo Battistini <lorenzo.battistini@xxxxxxxxxxx> wrote:
> Hello,
>
> I'm trying to configure the openerp delivery methods according to
> http://openerp-magento-connector.com/howto/configure_shipping_methods.html#configure-shipping-methods
>
> It says
> "The ‘Magento Carrier Code’ is the code of the shipping method in Magento, for instance: flatrate_flatrate"
>
> Where can I find the code 'flatrate_flatrate' in magento? Is it somewhere in the DB?
>
> Thanks
>
> --
> Lorenzo Battistini
> Tel (CH): +41 91 210 23 40
> Tel (IT): +39 011 198 25481
> http://www.agilebg.com
>
>
> --
> Mailing list: https://launchpad.net/~openerp-connector-community
> Post to : openerp-connector-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-connector-community
> More help : https://help.launchpad.net/ListHelp
Follow ups
References