Closed (works as designed)
Project:
UC Discount Framework
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2009 at 16:26 UTC
Updated:
16 Sep 2009 at 20:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedHere's a patch.
It appears to work -- I have a CA for product price which has an effect on the node, the cart, and at checkout.
Please bear in mind that I've fixed this by trial and error -- someone who made what I assume are big changes to the CA API should review this and make sure all possibilities are covered.
Comment #2
joachim commentedThis doesn't cover the price field in views. I'll open a new issue for that as it's going to get complex: #579162: Discounts don't work in views price field.
Comment #3
joachim commentedThis doesn't correctly work at checkout:
- the Cart contents pane is correct
- the Payment method pane is not.
A lot of different values of $context['location'] get passed in, and without documentation (#579188: missing info in documentation for hook_uc_price_handler) I can't tell I've got them all.
Comment #4
joachim commentedIt seems I'm chasing Ubercart RCs... http://drupal.org/node/475474
This has all changed in very recent releases so it looks like this patch might be irrelevant.
Comment #5
Island Usurper commentedYeah, sorry. I probably should have said something before you did too much work on this. I'm trying to get Ubercart 2.0 out the door, so I haven't really had time to work on this. If you want to keep up with the very latest Ubercart code, you can access our Bazaar repository by following the instructions at http://www.ubercart.org/bazaar.
Comment #6
joachim commentedHeh, I went into overdrive mode as my project launches on Friday... ;)
It looks like you've actually been keeping this in sync with the latest stuff to land in UC core :)
I'll close this as by design, as it works with the latest RC6.