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 226 posts 277 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

Please Sign in or register to post replies

Write your reply to:

Draft