I'm working on a discount/coupon solition for basic cart over at https://drupal.org/sandbox/jenlampton/basic_cart_promocode

I need a way to alter the total price, and I was wondering if we could add a drupal_alter into basic_cart_get_total_price().

Patch attached.

CommentFileSizeAuthor
basic_cart-add_drupal_alter_total.patch331 bytesjenlampton

Comments

jenlampton’s picture

Status: Active » Needs review

status

norman.lol’s picture

Status: Needs review » 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.