View Single Post
  #2  
Old 04-25-2016, 08:35 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote