Active
Project:
Ubercart Ajax Attribute Calculations
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2010 at 23:22 UTC
Updated:
7 Jan 2011 at 00:08 UTC
I apploligize if this post should go to Ubercart Discounts (Alternative). I wasn't sure where to ask after reading forums for many days.
I am using uc_acc with Ubercart Discounts (Alternative).
When i change the attribute (large+$10, or small-$10, etc) then it shows adjusted sell price on the fly, thanks to uc_acc.
now i have discount setup and working, i want to show discounted price on the fly as well.
Can someone tell me how i should approach this? (maybe reading php book first??? LOL...)
| Comment | File | Size | Author |
|---|---|---|---|
| discount.png | 5.14 KB | bellagio |
Comments
Comment #1
bellagio commentedI found out ubercart discount framework works with ajax attribte calculation. so happy to find that out.
now i want to calculate it manually like $original price = $sell_price + $20.
i used
print $node->content['sell_price']['#value'];
It returns 'Price:$100.00'
Which variable should i use to get the sell price only without the 'price:$' so that i can calculate?
please help.
thank you.
Comment #2
bellagio commentedAnybody has made this module work with Ubercart Discounts (Alternative)?
Discounted price is not being updated as different attributes are selected.