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

Order: Domain and Other order types can redirect to non-existant cart page for AJAX order templates

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      The AJAX templates don't have a cart, but they can still be redirected to one, which causes the error:
      Files does not exist: /plugins/order/views/templates/ajax/cart.pdt on line 120 in /lib/view.php

      This occurs when using the Domain and Other template, but not setting any other Package Groups to order after the domain. When a customer then adds the domain, they are redirected to the cart.

      Additionally, there is a button on the domain page (first step) for all order templates, which has a button that says something like "Skip, Order Other Items". I would think that that button should not be displayed when there are no other packages to order.

        Issue Links

          Activity

          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          I'm thinking a cart template should exist for the AJAX form template, if only to show cart information in this particular case.

          Show
          tyson Tyson Phillips (Inactive) added a comment - I'm thinking a cart template should exist for the AJAX form template, if only to show cart information in this particular case.
          Hide
          cody Cody Phillips (Inactive) added a comment -

          Updated to enforce adding at least one package group if type is domain and other and template is ajax.

          Show
          cody Cody Phillips (Inactive) added a comment - Updated to enforce adding at least one package group if type is domain and other and template is ajax.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Sep/14