We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How to hide free access terms from the Library tab in My Account

In certain scenarios, you may want to streamline the view in your My Account Library tab by hiding specific free access type items. Follow these step-by-step instructions to achieve this customization. This approach will hide access related to custom, grant access and registration terms.

Hiding Access-Type Items

  1. Open the My Account Library Components template.

  2. Find the following line of code:

    HTML
    <script type="text/ng-template" id="/widget/myaccount/partials/library/_library_list_item.shtml">
    
  3. Under this section, find:

    XML
    <tbody ng-repeat="libraryItem in collection | orderBy: 'resourceName' track by libraryItem.id ">
    
  4. Change the first <tr> to <tr ng-if="libraryItem.type != 'access'"> like this:

Hiding the Subscription/Access Count

If you decide to hide access-type items, you may also want to conceal the count of active items in the Library, since it will still display the active subscription/access count for the items you've hidden via the steps above.

Access1.png

Follow these additional steps.

  1. Open the My Account Library Components template

  2. Find the following line of code:

    HTML
    <script type="text/ng-template" id="/widget/myaccount/partials/library/library_list.shtml">
    
  3. Under this section, change:

    XML
    <t context="checkout.platform">My subscriptions</t> ({{ active ? activeLibrary.length : inactiveLibrary.length }})
    

    To:

    XML
    <t context="checkout.platform">My subscriptions</t>
    

    So it looks like this:

    Showing in My Account now like this:

Last updated: