VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: maxxer on November 14, 2012, 19:46:03 PM

Title: Price calculation on child categories
Post by: maxxer on November 14, 2012, 19:46:03 PM
Hi.
I entered a discount for a specific Product Category and Shopper Groups and works fine. I need to apply this discount also to all child categories.

I made a raw patch which scans for child categories. The recursive scan is now conditioned by a temporary if. In case I get more time in the future I can try to implement this into the DB as well ;)

I hope some DEV can pick this up and share suggestion or improve and integrate it into the main code.



[attachment cleanup by admin]