Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3328

Order: Summary items show subtotal as unit price

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      When ordering a service, some items (e.g. config options) may have more than 1 quantity. The Order Summary table lists the line item description, quantity, and unit price, e.g.:

      Description Quantity Unit Price
      Prorated Addition of Test Item 3 @ $3.00

      However, in this example, the unit price is $1.00, but $3.00 is the subtotal shown under the Unit Price column. This is because the Services::getServiceItems() method returns the subtotal for each item as the price. This is also used in the admin UI when adding a service for a client, however, it lists it as the "Price" rather than the "Unit Price". Therefore, we should update the Order plugin to rename the "Unit Price" column to "Price".

      1. Update the "Order Summary"/cart sections for all order templates to rename the "Unit Price" column to "Price" since it represents the subtotal price rather than the unit price.

        Activity

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Dec/19

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 36 minutes
              36m

                Agile