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

vs2.1 Discount Categories

This is a discussion on vs2.1 Discount Categories within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; In vs2.1, I added a new category 'wholesale', that I want togive all the 'wholesale' customers a 20% discount, not ...

      
  1. #1
    Member
    Join Date
    Oct 2010
    Posts
    41
    Rep Power
    0


    Red face vs2.1 Discount Categories

    In vs2.1, I added a new category 'wholesale', that I want togive all the 'wholesale' customers a 20% discount, not only off the item price, but all the options as well, pretty easy and straight forward...

    however, addign the group 'wholesale' in admin, where do you set the % discount ?

    Is thsi workign in vs2.1 ?
    Shoudl there be the additional modules in modules/order_totoal ot_fx_percent_discount.php ??

    HELP ?

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: vs2.1 Discount Categories

    Attribute pricing is at a product level not at a customer_group level ... ie. your attributes are not priced differently per customer group.

    In fact special offers only discount the product price not the attribute prices.

    I may be wrong but the only why I can think to do this would be to have one set of products showing to retail and a duplicate set with the lower price set to show to wholesale.

    This may do the trick ... osCommerce Community Add-Ons but it is not installed in v2.1 since no one has asked for it. But even then it will only discount the main price not the attributes and I think you will have to run it each time.

    Regards,
    pgmarshall
    _______________________________

  3. #3
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: vs2.1 Discount Categories

    Another thought ...

    Perhaps you could use the customer loyalty discount in order total ...

    Set the customer loyalty to something high say £50,000, set the discount to calculate for alltime and then give them a 20% discount ... I assume your wholesale customers will need to prove they are wholesale and you will set them up ... then simply add a 'fake' order to your system for £50k on your wholesale customers.

    Might be a neat work around and you wouldn't need to put everything in twice and I think it would discount the attributes for you.

    Or write your own order_total module ...

    Regards,
    pgmarshall
    _______________________________

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: vs2.1 Discount Categories

    Quote Originally Posted by pgmarshall View Post
    Attribute pricing is at a product level not at a customer_group level ... ie. your attributes are not priced differently per customer group.
    There is a feature for SPPC that does allow attributes per customer group. It is an addon that became standard in SPPC at some point (4.2?). I think perhaps QTPro may be interfering with it. It deserves more investigation.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Oct 2010
    Posts
    41
    Rep Power
    0


    Red face Re: vs2.1 Discount Categories

    Wow, this sure is difficuelt for such an easy? task

    1) who took an action here to look at existing modules from elsewhere to see if they wil work ?

    2) I stil dont understand the 'discount categories' as they exist today and what use they are ? is it to control bulk discount levels differently from 'reatail' to 'wholesale' for example ? ie retail has to order 5 and gets price x, whilst wholesale orders y and gets price z ?

    3) and why someone would code the existing module to price the main item at wholesale price, but the option / attributes at retail is just mad.

    4) I could probably stumble through the modules and code this, but it would take a week. anyone out there can do this in a day ?????
    i.e it wil take me a day just to find out the databse fields for 'wholesale' and what modules display the product price, option/attribute prices, and then the total. Come on, you know you want too do this for me.... ?

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Wink Re: vs2.1 Discount Categories

    1) who took an action here to look at existing modules from elsewhere to see if they wil work ?
    Is this a question?

    I stil dont understand the 'discount categories' as they exist today and what use they are ? is it to control bulk discount levels differently from 'reatail' to 'wholesale' for example ? ie retail has to order 5 and gets price x, whilst wholesale orders y and gets price z ?
    Re-read the wiki article I posted. Discount Categories is for Quantity Price discounts. If you buy x number of products from a specific discount category then you get the price break for >5 products on the price.

    3) and why someone would code the existing module to price the main item at wholesale price, but the option / attributes at retail is just mad.
    It is not a "Retail" option/attribute - it is an option/attribute. The code does not differentiate between customer groups at option/attribute level. Although, as per Michael's previous post you can see that he thinks it might do (but not at the moment). I agree that option pricing per customer group would be sensible.

    4) I could probably stumble through the modules and code this, but it would take a week. anyone out there can do this in a day ?????
    What are you coding?

    Eversale - you need to recognise that this is an open source piece of software that is not built entirely for your needs/specifications. Most of the paid solutions do not have half the stuff osCmax has and you certainly would not get anywhere without some serious money asking for features by the end of the week etc.

    Different stores require different features and setups - if you want to change it then you need to either pay someone to do it for you or roll up your sleeves and get into the code to make it work for you. There are thousands of modules available from osCommerce most of which will go into osCmax without too much difficulty.

    Come on, you know you want too do this for me.... ?
    Nope!

    Regards,
    pgmarshall
    _______________________________

  7. #7
    Member
    Join Date
    Oct 2010
    Posts
    41
    Rep Power
    0


    Unhappy Re: vs2.1 Discount Categories

    PGM, Peace brother !! sorry if I offended you.
    I agree, that OSCMax is a great tool. And yes, I am coding changes (more than just template), and gave back last week a method to display datasheets and install notes within the 'TABs' in the product description in vs2.1.

    So for wholesale pricing here, i'm stuck. I was hoping for a little charity, and some guidance.
    I realize that not everyone needs the same features, but attribute pricing for the same group is an obvious ommison that my site (and others) would need, other wise the wholesale pricing isn't worth anything...

  8. #8
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: vs2.1 Discount Categories

    Don't worry I am not offended in any way ... I was merely pointing out some facts.

    I am sure that you will "give back" to the community ... it is a real help when people do! You have already reported some bugs in the tracker which I have fixed which always help the code base progress especially when we are doing such a large release.

    As for the wholesale (and other) attributes/options it does make sense to have seperate option prices per customer group and I am sure this will be discussed in the development team but in the meantime I am sure you need a solution to your issue - so I suggest you try my "loyalty discount" hack/workaround.

    Regards,
    pgmarshall
    _______________________________

  9. #9
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: vs2.1 Discount Categories

    Quote Originally Posted by Eversale View Post
    3) and why someone would code the existing module to price the main item at wholesale price, but the option / attributes at retail is just mad.
    Are y'all maybe missing something here? Step back...
    Attributes are priced relative to a base price. If the base price is wholesale, with an attribute adding on a fixed amount, then the total will still be less than it would be for retail. Not ideal but it very much depends on how much the attribute changes the price (plus or minus).

    Without knowing the code that Michael has mentioned, it appears that the following would work:
    Additional field in the attribute manager indicating a percentage differential, rather than a fixed amount. Additional code in the products totals, to check for % and use for the calculation.
    This does mean that attribute prices will need to be specified differently but does at least cover two different methods.

    Am I volunteering? Nope. (At least not until PayPal WPP (UK) is working)
    Last edited by ridexbuilder; 10-27-2010 at 02:35 PM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  10. #10
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Lightbulb Re: vs2.1 Discount Categories

    Assuming Michael is mistaken about the coding for seperate attribute pricing per attribute per customer group then this makes a rather neat way of "solving" this issue.

    Regards,
    pgmarshall
    _______________________________

Similar Threads

  1. editing categories, sub-categories layouts
    By Tania in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 06-06-2010, 02:00 AM
  2. Categories and sub-categories images not showing
    By gagne in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-25-2009, 11:02 PM
  3. Replies: 0
    Last Post: 05-31-2007, 06:47 PM
  4. 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
  5. Want to show categories AND sub categories in index.php!!
    By calle in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-27-2004, 11:51 AM

Tags for this Thread

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
  •