Closed (fixed)
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
27 Oct 2017 at 07:19 UTC
Updated:
21 Nov 2017 at 21:44 UTC
Jump to comment: Most recent
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.
Remove the static usages of methods in RefreshPageElementsHelper class.
N/A
N/A
N/A
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777Comment #4
subhojit777Committed 3de7907