osCmax v2.5 User Manual
Results 1 to 2 of 2

Discount per quantity vs pricing group

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

      
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    31
    Rep Power
    0


    Default Discount per quantity vs pricing group

    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 Thanks

  2. #2
    Member
    Join Date
    Apr 2005
    Posts
    31
    Rep Power
    0


    Default

    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! Thanks!

    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();
    }

Similar Threads

  1. discount for quantity with per product
    By xzyyy in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 02-22-2007, 09:24 AM
  2. Integrating a quantity discount contribution
    By purefusion in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-30-2006, 03:12 AM
  3. Discount Coupon and Authorize.net - NOT PULLING DISCOUNT...
    By irwin04 in forum osCMax v1.7 General Mods Discussion
    Replies: 5
    Last Post: 03-07-2005, 05:59 PM
  4. Pricing per group mod and attributes
    By mike_steinhoff in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 01-13-2005, 11:24 AM
  5. Customer Based Discount Pricing?
    By zTech in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 08-13-2004, 08:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •