Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Brännmark 228 posts 280 karma points
    Sep 21, 2016 @ 14:29
    Anders Brännmark
    0

    Update orderlines and total when login and logout

    Using a product and orderline calculator for adding discount to products when a member login. Discount is set on the member.

    However, when the user logout, I would like to update any products in the cart with the default prices. Anyway to trigger a "refresh" of the order calculator during login and logout?

  • Anders Burla 2560 posts 8256 karma points
    Sep 22, 2016 @ 11:05
    Anders Burla
    1

    Hi Anders

    Just do a order.Save(). That would trigger a recalculate

    Kind regards

    Anders

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies