Customize first order to use an initial amount

Discussion in 'Customization & add-ons' started by rickbraddyllc, Jun 17, 2012.

  1. rickbraddyllc

    rickbraddyllc New Member

    Joined:
    Jan 27, 2009
    Messages:
    20
    Hi,

    I would like to alter how AMember Pro calculates the "First Order" amount so that it is:

    1) First Order is a "setup fee", an initial amount that is only charged once
    2) First Order total amount is calculated as:
    First Order + (Second Order * Quantity)

    This is to allow me to charge a setup fee plus an initial amount per quantity ordered.

    I am familiar with PHP code and AMember Pro plug-in development, and capable making the change(s) - just need to be pointed to the source module(s). Perhaps I could also develop a plug-in that makes this capability an add-on feature, if that's a more appropriate way to modify the order amount calculation for just certain SKUs and makes it re-usable for others.

    Thanks
    Rick
  2. robw

    robw CGI-Central Partner

    Joined:
    Dec 18, 2007
    Messages:
    287
    The non-coding way to achieve would be to create two products:

    • a 'setup fee' product
    • the regular product
    Then you make the regular product conditional on order of setup fee product. If your form uses checkboxes, both can be ordered in same transaction.
    Cheers
    Rob

Share This Page