Cart - Bulk Discount Calculator
This page is a custom page that deals with all kinds of discounts. The page is divided into three main parts. The top section has a number of preset discount campaign buttons. These buttons are set per world or corporation from the corp-wide settings page. From that page, the user is able to set the percentage value and the name of the buttons. This top section applies the discount to every item in the cart or on the cart as a whole level.

The second main section deals with applying custom cart as a whole discounts. Instead of using a simple button that has a preset value, there is a small form that allows you to make custom assignments. These values will also be applied to all items in the cart (cart as a whole) but allows you to specify the discount settings. This section includes a choice for discount types. The two types are in-line discounts (discount per line item) and standalone discounts (new line item to hold the standalone discount value). The form also allows for percentage values, dollars off, and any type of custom campaign tracking.

The third section of the page allows for updating or viewing discount settings per line item. This section shows and allows for interaction on a per line item basis. Once all of the values are entered, the form may be submitted and processed on a per line item basis. Only lines that have changes made to them will be updated. As a note, if you alter the discounted price field, the discount percentage field will show the value "auto" meaning we will figure it out when it hits the server. If you set the discount percentage to a real value. That value will be used to calculate the discounted price. Basically, the discount percentage has precedence over the discounted price. Either way, all math will be done once the values hit the server.

After submitting the page, you will be rerouted back to the view cart page. Feel free to use the bulk discount calculator as often as needed. Depending on permissions, it is also possible that this page may require a manager's approval. If that is the case, the manager only needs to approve the current cart once and then the page may be used at will. Each cart will act independently and will require a new approval if your world or corporation is setup to use those corp-wide settings. The manager's approval option is a specific setting that may be applied and given to one or more users per world or corporation.