This is a discussion on Discount per quantity vs pricing group within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I want a discount of 10% to be calculated on an entire order when someone buys 2 or more products. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I want a discount of 10% to be calculated on an entire order when someone buys 2 or more products. I added the Discount Per Quantity contribution from Oscommerce and it works fine. However, the client wants the discount not to be applied for her wholsesale and dropship customers. Can anyone suggest a solution? I would be very grateful for any help |
|
#2
| |||
| |||
| I had a hint to look at this code in the order total module that I installed that performs a check to see if the module is enabled and this is the code I think I have to modify and somehow (I'm not a coder!) disable based on the SPPC group. I would gladly swap any design services for some coding help here! function ot_discount_quant() { $this->code = 'ot_discount_quant'; $this->title = MODULE_ORDER_TOTAL_DISCOUNT_QUANT_TITLE; $this->description = MODULE_ORDER_TOTAL_DISCOUNT_QUANT_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_DISCOUNT_QUANT_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_DISCOUNT_QUANT_SORT_ORDER; $this->output = array(); } |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| discount for quantity with per product | xzyyy | osCMax v2 Customization/Mods | 4 | 02-22-2007 10:24 AM |
| Integrating a quantity discount contribution | purefusion | osCMax v2 Customization/Mods | 0 | 11-30-2006 04:12 AM |
| Discount Coupon and Authorize.net - NOT PULLING DISCOUNT... | irwin04 | osCMax v1.7 General Mods Discussion | 5 | 03-07-2005 06:59 PM |
| Pricing per group mod and attributes | mike_steinhoff | osCommerce 2.2 Modification Help | 3 | 01-13-2005 12:24 PM |
| Customer Based Discount Pricing? | zTech | osCMax v1.7 General Mods Discussion | 0 | 08-13-2004 08:35 AM |