Adding a bulk discount to ubercart without adding a new module I have multiple sites using the same ubercart module. One of the sites has a new discount that I need to add. If you buy 25 or more you get a 25% discount, if you buy 100 or more you get a 35% discount for example. I don't want to add a new module to ubercart as I don't want to mess with everything that's already working. Plus it's just this one discount on one specific item.

In going through the ubercart documentation, it looks like there are several hooks that may be useful. hook_add_to_cart, hook_line_item_alter and hook_order which are defined here. Am I travelling down the right path or is there another better way or already laid out example that would make piling through this a bit simpler?
After digging through various hooks and trying different things, this is what ended up working for me, which was actually pretty simple in the end.:

function hook_cart_item($op, &amp;$item) {
    if ($op == 'load') {
        if ($item-&gt;nid == xxx &amp;&amp; $item-&gt;model == 'xxxxxxxxxx') {
            if ($item-&gt;qty &gt;= 100) {
                $item-&gt;price = round($item-&gt;price * .65,2);
            } else if ($item-&gt;qty &gt;= 25) {
                $item-&gt;price = round($item-&gt;price * .75,2);
            }
        }    
    }
}