Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2009 at 15:25 UTC
Updated:
18 Sep 2009 at 16:36 UTC
http://api.ubercart.org/api/function/hook_uc_price_handler/2
This doesn't explain the function parameters for the callbacks.
It doesn't explain what the things in the 'options' key are -- the example is quite mysterious.
And it doesn't explain what comes into callbacks.
In particular, the possible values of $context['location'] that get passed to the callback as a product moves through the shopping workflow: node display, cart, checkout, etc etc.
Without this information I can't fix uc_discounts! #578196: uc_discount_price_handler_alter never has any effect.
Comments
Comment #1
joachim commentedGoing to mark as duplicate of http://drupal.org/node/449546