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

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.8.0 Sprint 5 [ 96 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Assignee Tyson Phillips [ tyson ]
        Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        tyson Tyson Phillips (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 36 minutes [ 2160 ]
        Worklog Id 12787 [ 12787 ]
        Automated transition triggered when Tyson Phillips (Inactive) created pull request #109 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.8.0 Sprint 5 [ 96 ] 4.8.0 Sprint 5, 4.8.0 Sprint 6 [ 96, 97 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #109 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          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