We understand that your ecommerce site is crucial to the success of your business, from time to time issues and questions can arise and you need to have the assurance there will be someone on hand to help resolve these in a timely fashion so you can spend your time driving your own business forward.

So if you are looking for faster responses to your questions or would like the assurance there is someone on hand for you to contact, fear not we have a number of paid support options that are available to you that can give your organisation the peace of mind knowing a member from the Cart Viper team will always be available to assist!

Purchase a Support Plan

Community Support

HomeHomeGeneral Informa...General Informa...Feature Request...Feature Request...Hide Cart Viper Account menu when user is not logged in.Hide Cart Viper Account menu when user is not logged in.
Previous
 
Next
New Post
12/12/2018 4:31 PM
 
Hi Team,

Could it be possible to hide "Cart Viper Account" menu (Cart...Store|My Profile|My cart|...) when user is not logged in?

Kind Regards,
Rakhi.

 
New Post
12/13/2018 10:27 AM
 
Hi,

In the Cart viper my account module we do have settings to turn on / off the links, however they are on / off regardless of the users login status. 

It is possible todo using jQuery, if you open the file:

DesktopModules\cartviper\Account.ascx

Then add in the below section it will hide the entire dark red menu that contains "my cart", "store" etc hyperlinks if the customer is not logged into your site:


<script type="text/javascript">
    /* <![CDATA[ */
      
    jQuery(document).ready(function () {

        if ("<%= Request.IsAuthenticated %>" == "False") {
            jQuery(".StoreAccount-Header").hide();
        }

    });
    /* ]]> */
</script>
 
New Post
12/13/2018 10:39 AM
 
Many Thanks,
Rakhi.
 
New Post
12/13/2018 11:17 AM
 
Hi Nigel,

Thanks for below code, it is working fine.
We have one small query, you mentioned that hiding link option is present regardless of user login status.
We are using Cart Viper Version 3.9.4 and found only one tab property to hide "Hide My Profile Link", which is the property to hide all tabs in the Cart Viper Account module?

Kind Regards,
Rakhi.
 
New Post
12/13/2018 4:28 PM
 
If you expand the different sections of the Cart viper my account module settings you should see the below settings to hide the various hyperlinks:

Hide My Profile Link
Hide Download Locker Link
Hide Order Management Section

To hide the wish list go to store admin -> store info -> general settings and disable the setting "Enable Wishlist".

That obviously won't hide the other links or the entire header as the jQuery I gave you earlier but currently the only settings we have in place. 

Regards
 
Previous
 
Next
HomeHomeGeneral Informa...General Informa...Feature Request...Feature Request...Hide Cart Viper Account menu when user is not logged in.Hide Cart Viper Account menu when user is not logged in.


 

We use cookies on our website to improve our service to you, by continuing you agree to our use of cookies. However you are able to update your settings at any time.

Cookie Policy

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is a piece of data stored by a website within a browser, and then subsequently sent back to the same website by the browser. Cookies were designed to be a reliable mechanism for websites to remember things that a browser had done there in the past, which can include having clicked particular buttons, logging in, or having read pages on that site months or years ago.

Strictly Necessary Cookies

These cookies cannot be disabled

These cookies are necessary for the website to function and cannot be switched off. They are normally set in response to your interactions on the website e.g. logging in etc.

Cookies:
  • .ASPXANONYMOUS
  • .DOTNETNUKE
  • __RequestVerificationToken
  • authentication
  • CV_Portal
  • CV_Store_Portal_Cart_0
  • CV_USER
  • dnn_IsMobile
  • language
  • LastPageId
  • NADevGDPRCookieConsent_portal_0
  • userBrowsingCookie

Performance Cookies

These cookies allow us to monitor traffic to our website so we can improve the performance and content of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited or how you navigated around our website.

Cookies:
  • _ga
  • _gat
  • _gid

Functional Cookies

These cookies enable the website to provide enhanced functionality and content. They may be set by the website or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Cookies:

Currently we are not utilizing these types of cookies on our site.

Feedback