News:

Looking for documentation? Take a look on our wiki

Main Menu

Quantity discount per parent product category

Started by tkejmullins, June 23, 2011, 19:17:56 PM

Previous topic - Next topic

tkejmullins

I have been able to successfully setup quantity discounts based on a quantity from the same category of products.  What I can not find is how to also include any child categories in this quantity discount calculation?  I have a category with 3 child categories that I want used to calculate the correct discount price.  This is in addition to other categories with quantity discounts setup like found here (http://forum.virtuemart.net/index.php?topic=57997.0)

I just need a small amount of code written to accomplish this task.  It will probably only take a little adjustment of code in ps_product.php

Thank you,