List of questions
Related questions
Question 48 - Certified B2B Commerce Developer discussion
A user wants to have a customized experience for adding items to the cart. The user also wants the mini cart module to reflect changes to the state of the cart afterwords. How should this requirement be fulfilled?
A.
Leverage the Addto Cart Global API which add items to the cart and also refreshes the page with the new data.
B.
Trigger the global cartChange' event and then trigger changeMiniCart' event after the Add to Cart Action on the custom button.
C.
Write a custom Remote Action to refresh the Mini Cart and refresh the Cart Line item count on the Cart Link in the header.
D.
Trigger the global cartChange' event after the Add to Cart Action on the custom button.
Your answer:
0 comments
Sorted by
Leave a comment first