Adding option to subscriptioin!

Discussion in 'Customization & add-ons' started by wesbulla, Nov 22, 2007.

  1. wesbulla

    wesbulla New Member

    Joined:
    Aug 22, 2006
    Messages:
    3
    Wondering if this is even posible to do. What i want to do is on my products page i have

    product 1 ($6.00)
    product 2 ($7.00)
    product 3 ($8.00)

    etc etc.
    What i would like to do is add a drop down at the end and have like
    option 1 ($0.00)
    option 2 ($1.00)
    option 3 ($2.00)
    etc etc.

    when user selects say product 1 which is $6.00

    and then selects optioin 3 it adds $2.00 to the total price.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This is possible but will require customization
  3. wesbulla

    wesbulla New Member

    Joined:
    Aug 22, 2006
    Messages:
    3
    Thanks, is it possible to give me a bit of a break down on what would have to be done to accomplish this?
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    There are two ways:
    1. If you have not many products and options, you can create one product for each combination, and in signup.html template create a JavaScript that will set product_id depending on product/option selects.
    2. You can modify product.inc.php function calculate_price and calculate price depeding on product and options select.

Share This Page