Even though price is declared as a variable for theme_basic_cart_cart_total_price() it wasn't being passed in, and instead was being set inside the theme function with a call to basic_cart_get_total_price. The attached patch passed price along from the source instead.

Hah, I just found a todo in here...

@todo find a way to pass $price through the variables array.

I guess this patch will cross that one off the list ;)

CommentFileSizeAuthor
basic_cart-theme_total_fixup.patch1.6 KBjenlampton

Comments

norman.lol’s picture

Status: Active » Closed (outdated)

Thank you everyone for taking the time to report and discuss this issue. 🙇🏻‍♂️

As the Drupal 7 versions of this module are no longer supported, I’ll be closing this issue. 🔚

Huge thanks and credit to everyone who contributed in any way. ✨

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.