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 ;)
| Comment | File | Size | Author |
|---|---|---|---|
| basic_cart-theme_total_fixup.patch | 1.6 KB | jenlampton |
Comments
Comment #1
norman.lolThank 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. ✨