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...)

CommentFileSizeAuthor
discount.png5.14 KBbellagio

Comments

bellagio’s picture

I 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.

bellagio’s picture

Anybody has made this module work with Ubercart Discounts (Alternative)?
Discounted price is not being updated as different attributes are selected.