Is it possible to have "additional subscriptions" the same expiration as parent?

Discussion in 'Installation' started by andres, Apr 11, 2011.

  1. andres

    andres New Member

    Joined:
    Feb 23, 2011
    Messages:
    7
    Hello,

    I need help with the following:

    If I have two products, one that lasts six months, one that lasts (as standalone) one month, and the first one grants access to the second one, is it possible to make it so the subscription for the second one lasts for six months instead of one? (the default for said product)

    Thank you
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Sure possible with little customization.
    Edit plugins.inc.php cna change function add_additional_subscriptions :
    $newp['expire_date'] = $payment[expire_date];

Share This Page