Request: Recalculate Discounts on User Login/Logout

Hello,

I’ve noticed that Shopify does not immediately recalculate discounts when a user logs in or logs out. Currently, discounts are only recalculated when:

  • The cart contents are modified
  • The customer visits the checkout page

Is there a way to trigger discount recalculations automatically when a user logs in or out? If not, would it be possible to add this functionality in the future?

Thanks in advance.

2 Likes

Hey @seun I know this isn’t the most ideal solution, but one workaround would be to make a small cart change after logging in or out, which forces the system to update the discount. You could also prompt the customer to refresh the cart page.

2 Likes

Seconded +1. This would be especially useful in scenarios where a discount is dependant on a customer tag.

1 Like

Thank you for the tip @daniel

2 Likes