Re: Shipping module - Offline and Online Hybrid
In this case findMarkupsByProcessor() is the method that filters rates by weight, amount, etc. It returns only the rates that match the order.
The actual filter logic happens there:
\XLite\Model\Repo\Shipping\Markup::addMarkupCondit ion()
It adds MySQL conditions that drop non-matching rates from the result.
|