Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-641 Storefront theme improvements 3.2.0
  3. YC-644

Review yc.js to make sure we use best OOP practices in our JavaScript core code

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: backlog
    • Fix Version/s: 3.2.0
    • Component/s: sf web
    • Labels:

      Description

      TD: At the moment we have a number of custom functions in yc.js that apply to different parts of storefront. Need to modularise these functions to add meaning to their use and better understanding of api provided.

      For example modular pop up is a function on context object with many options used by various modules. This functionality can be moved to context.ui.modal = {} which would have distinct simple predefined modal windows ready to use.

        Attachments

          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: