I've been having the same problem. I discovered this method
Code:
/**
* Return params list to use for search
*
* @return \XLite\Core\CommonCell
*/
protected function getSearchCondition()
{
$result = parent::getSearchCondition();
$result->{\XLite\Model\Repo\Shipping\Method::P_CARRIER} = '';
$result->{\XLite\Model\Repo\Shipping\Method::P_ADDED} = true;
$result->{\XLite\Model\Repo\Shipping\Method::P_ORDER_BY} = array('m.position', 'ASC');
return $result;
}
in \XLite\View\LitemsList\Model\Shipping\Carriers.php
Which shows the fields in the _shipping_methods table need to have certain values.
The yaml file for the UPS module has the following
Code:
XLite\Model\Shipping\Method:
- processor: ups
carrier: ''
code: ''
enabled: false
added: false
position: 0
moduleName: XC_UPS
translations:
- code: en
name: UPS
- processor: ups
carrier: ups
code: 'NDA'
enabled: 1
position: 10
translations:
- code: en
name: "UPS Next Day Air®"
Fiddling around with this has got my carrier to show in the admin area.. but that's as far as I've got so far.