Skip to Content Skip to Menu

Removing validity text and expiration text from "Your Current Subscription" on Subscription Tab

10 years 1 month ago #249827 by jamesmoeller
I'd like to remove the validity text and the expiration text from the plan displays...both when the plans are displayed for selection and when it shows under the "Subscriptions" tab of the user profile.

For the general display of plans as presented to customers for selection, I as able to remove the validity and expiration text under the Presentation tab of the particular plan, by setting the "Price display of plan (default: [AUTOMATIC]):" option to " ".

However, that setting doesn't seem to have any effect on how the plans are displayed on Subscriptions tab of the user profile. How do I eliminate the validity and expiration text on the plan display as it shows on the Subscriptions tab of the user profile?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 1 month ago #249856 by krileon
So you're wanting to remove the second part of "1 year Active, expiring on 10/06/2015" ? That's not possible on a plan by plan basis. Removing it would affect all plan displays. To remove it you need to adjust the following language string found within the below language file.

Code:
"Active, expiring on %s" => "Active, expiring on %s",

components/com_comprofiler/plugin/language/cbpaidsubscriptions-en-gb/language.php

The price display can be adjusted using the "Price display of plan (default: [AUTOMATIC]):" on the Presentation tab of your plans. To get rid of the price display you need to set it to _UE_BLANK.

To remove "Your Current Subscription" I believe you'll need to edit the below language string in the above language file.

Code:
"Your current %s" => "Your current %s",


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum