79181377

Date: 2024-11-12 13:49:04
Score: 1.5
Natty:
Report link

I was able to achieve what I wanted by subscribing to a method in the checkout totals javascript class.

'Magento_Checkout/js/model/totals'

totals.getItems().subscribe(function (items) {
                
}.bind(this));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shaun