0

I need to add the totals next to the cart icon, atm the last developers made a JS script in the header that loaded the total to there, it worked poorly but now we updated to 2.3 and works even more poorly the total is most of the time at 0.00. So I want to delete this thing they made and do a proper one, the problem is, what's the best way to accomplish that?

I want something like thisenter image description here

But with the right value, that is the broken one but gives an idea.

Thanks in advance :D

1 Answer 1

1

display cart items sub-total

Add code to minicart.phtml to display cart items total

<span data-bind="html: getCartParam('subtotal')"></span>

after run command

php bin/magento cache:clean

More Ref...Click

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.