This formula will work for any number of items.
Just open the eCart object and go to the calculations tab. Then select the TotalPrice calculation and copy and paste this as the value:
([Price] * [Quantity]) - (5 * ([Quantity]-1))
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.