Problem/Motivation

Right now the method usages of RefreshPageElementsHelper are all static. Static methods are like procedural programming, and they do not maintain the state between method calls.

Maintaining the state is important here particularly because there will be many page elements refereshing at a time when a product is added to cart. Maintaining the state of ajax response is very important here.

Proposed resolution

Remove the static usages of methods in RefreshPageElementsHelper class.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Comments

subhojit777 created an issue. See original summary.

subhojit777’s picture

subhojit777’s picture

Title: [Code Improvement] Remove the statis usages of methods in RefreshPageElementsHelper » [Code Improvement] Remove the static usages of methods in RefreshPageElementsHelper
subhojit777’s picture

Status: Active » Fixed

Committed 3de7907

  • subhojit777 committed 3de7907 on 8.x-1.x
    Issue #2919191 by subhojit777: [Code Improvement] Remove the static...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.