Closed (won't fix)
Project:
Ubercart
Version:
6.x-2.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2009 at 03:33 UTC
Updated:
3 Feb 2011 at 22:08 UTC
When "Trigger: Getting shipping quote via Flat Rate" it's run?
Comments
Comment #1
dman commentedI've just been into the code. It appears never :-)
Getting the quote is hard-coded in, it does't run through the trigger system.
You can ADD the action to your own trigger though.
But I'm looking at a patch that will make the trigger work as it's expected to.
Comment #2
akongz commentedOh.. thanks...
I taught this trigger run when edit the order and put some shipping flatrate... but It's not run the trigger when I execute that...
The fact properly must be like that? Isn't it?
Comment #3
dman commentedYes, it should be, but it isn't.
The code took a short-cut.
I've found the right way to do it, but need to see if my patch will fit
Comment #4
guypaddock commentedAny word on this, dman?
Comment #5
dman commentedLooking at my records, I think it's this
Swaps out the hard-coded "uc_quote_action_get_quote()" for a call to the trigger that fires "uc_quote_action_get_quote()" instead
I didn't have it as a clean patch because I've also got 4 other small (UI) tweaks I had to make in the project.
Sorry, it was a while ago and not to clear in my head any more.
Comment #6
longwaveShipping quote (and tax) triggers only use the conditions; it seems useless to call actions here.