Active
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
10 Nov 2017 at 06:37 UTC
Updated:
10 Nov 2017 at 06:39 UTC
Jump to comment: Most recent
As per #2920694-4: [Code Improvement] Unhardcode status message block id inside RefreshPageElementsHelper:
Considering that the approach for refreshing cart content will not be changed, so, in future I will have to split RefreshPageElementsHelper class into two. One will refresh the status message, and the other will refresh the cart.
There should be a helper class that would be responsible only for updating cart block.
More information: #2922378: [Code Improvement] Separate helper classes for updating cart block and status messages
Write the helper class.
Update kernel tests if necessary.
N/A
AjaxAddToCartForm::refreshAddToCartForm() may affect due to this change.
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777