Closed (fixed)
Project:
UC Discount Framework
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2009 at 00:47 UTC
Updated:
8 Jul 2009 at 06:18 UTC
Maybe I'm missing the obvious but how do I get the discounted price showing up on a product node?
If the reply to this is "hey this is a framework, yours to play with", is there a snippet or suggested method to implement this without having to re-invent the wheel? I assume that this would be a common use case.
Thank you.
Comments
Comment #1
Island Usurper commentedThe framework is based on the Conditional Actions module. What you need to do is create a new predicate that is run when the "calculate product discounts" trigger occurs. Add a discount action to that predicate and set up the amount, which should be negative for a discount and positive for an increase. If you don't want it to apply to all of your products, add some conditions that will select the correct nodes.
Comment #2
fp commentedThanks for the explanation. That's the procedure I was using without success. However after resubmitting the Price handler settings form the discount was applied to the product node. I assume that the price was cached and that submitting the form cleared the cache and showed the expected results.