Cart issue

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #217711
    wailokcc
    Blocked
    How can I ONLY display the cart to logged users?   On my website, only logged users can pay for and enroll to courses. When I closed the browser and opened it again, my account has been logged out. However, the cart has not been clear, and I can buy the course as a guest:
    1. Can you solve this issue?
    2. How can I ONLY display the cart to logged users?
     
    #217712
    wailokcc
    Blocked
    This reply has been marked as private.
    #217899
    logan
    Member
    Hello, this is surely cache issue. deactivate your cache plugin and flush the cache of the browser. it would not happen again.

    Please paste this snippets in your wp-admin >>>> plugins >>>> editor >>>> wplms-customizer plugin >>>> wplms-customizer.php 

    Or in

    Please add this code in your wplms-customizer.php file in wplms customizer plugin by using your FTP/SFTP/cpanel:

    add_action('wp_head', function(){ if(!is_user_logged_in()): ?> <style> .sleek ul.topmenu a.vbpcart { display: none !important;} </style> <?php endif; });
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Cart issue’ is closed to new replies.