![]() |
Hide a certain subscription from appearing on payments.php
Hi there
I would like to know if it's possible to hide a subscription from appearing to anyone when viewing payments.php. The reason for this is I want to keep existing subscribers paying the same amount as it's recurring but I want all new future subscribers to be paying a different price. If I change the price of the existing subscription it will break the recurring payments hence my question and I don't want that subscription available any more apart from being hidden for the sake of not breaking existing recurring payments. Thank you |
It takes some doing but yes, I just tested this and it works...
First go to your phpmyadmin and look at your subscriptions table... Find the "subscriptionid" of the subscription you want to hide, it's a number. Now edit your templates, edit your subscription_availablebit template. On the very top add the line: Code:
<if condition="$subscription[subscriptionid] != 4"> at the very end of the template add the line Code:
</if> Now when you look at your subscriptions page that subscription should be hidden, but still "active" so it will work. |
Forgot to update this thread that I found Subscription Permissions under Paid Subscriptions in AdminCP which allowed me to hide a subscription from everyone.
Thanks for reply BirdOPrey5 :) |
Even better. :up:
|
Quote:
|
All times are GMT. The time now is 05:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|