Closed (won't fix)
Project:
Commerce Core
Version:
7.x-1.8
Component:
Cart
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2013 at 22:16 UTC
Updated:
17 Dec 2013 at 02:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arknoll commentedComment #3
rszrama commentedHmm, I'm not sure this is really needed. Can you describe a situation in which the current execution of this function on load is insufficient? I'm just struggling to think of when we might actually want this process to run twice in a single pageload. I could possibly see this being made part of #2151535: Reduce the occurrence of the shopping cart refresh, though, where prices were infinitely delayed but then refreshed via Rules.
Comment #4
arknoll commentedIn my particular case I am using this action in a rule having to do with discounts (using commerce_coupon module) and refreshing product prices on an order when a discount is removed from the cart.
it's a handy helper action for if/when somebody has some complex order logic which requires a refresh.
-Alex
Comment #5
rszrama commentedHey Alex, thanks for the further info. I guess it still isn't entirely clear to me - you need the refresh to be triggered from within a refresh? Or for some business logic reason waiting for the page to reload / trigger a refresh was insufficient here?