jmpa
11-05-2009, 10:00 PM
Say you want to do a temporary/introductory/launching promotion like for instance:
First users who subscribe will have a lifetime discount!
Its not possible with current vb subscription settings, since you would have to put the subscription as "not active" and thus the recurring payments will not be processed.
Here's how to it on a very easy way:
Open payments.php
Find:
if ($subscription['active']) {
Replace:
if ($subscription['active']) {
if ($subscription['subscriptionid'] > 2) {
Find:
eval('$subscriptionbits .= "' . fetch_template('subscription_availablebit') . '";');
}
Replace:
eval('$subscriptionbits .= "' . fetch_template('subscription_availablebit') . '";');
}
}
Now make sure the promotional subscriptions id are < 2.
That's it, from now on those will not show up.
First users who subscribe will have a lifetime discount!
Its not possible with current vb subscription settings, since you would have to put the subscription as "not active" and thus the recurring payments will not be processed.
Here's how to it on a very easy way:
Open payments.php
Find:
if ($subscription['active']) {
Replace:
if ($subscription['active']) {
if ($subscription['subscriptionid'] > 2) {
Find:
eval('$subscriptionbits .= "' . fetch_template('subscription_availablebit') . '";');
}
Replace:
eval('$subscriptionbits .= "' . fetch_template('subscription_availablebit') . '";');
}
}
Now make sure the promotional subscriptions id are < 2.
That's it, from now on those will not show up.