Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-468

Modify central view resolver to honour template settings

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: sf server, sf web
    • Labels:

      Description

      Currently central view resolver tries to determine the right template for a category using the following logic:
      1. Attempt to see if category has at least one product and if it does the template is 'products'
      2. See if category has a template - and use it if it does
      3. If this category has sub categories - 'subcats'
      4. Otherwise 'category'

      A better solution would be to check for template first thus avoiding unnecessary FT query and also ensuring that the template setting is honoured.

      Only if we do not have template set should we attempt to use above logic.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                denis Denis Pavlov
                Reporter:
                denis Denis Pavlov
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: