+ Reply to Thread
Results 1 to 6 of 6

Thread: Hide seller tab if not a dealer

  1. #1

    Hide seller tab if not a dealer

    What code can i use to hide the seller tab on the mobile theme ?


    Code:
    Only registered members can view the code.
    I have tried things like

    Code:
    Only registered members can view the code.
    But i cant get it to work.

  2. #2
    Chris
    MotorAdsUk

  3. #3
    I have it working on the main theme but it wont work on the mobiltheme

  4. #4
    Flynax developer
    Join Date
    Sep 2009
    Posts
    638
    i think better

    {if $seller_info.Type != 'dealer'

  5. #5
    Thanks.

    Needed to change dealer to buyer then it worked.

    Thanks alot Mike!

  6. #6
    Quote Originally Posted by Mike F. View Post
    i think better

    {if $seller_info.Type != 'dealer'
    If I had 2 types of dealer accounts how would you write this code to work for dealer and dealer2 as an example
    Chris
    MotorAdsUk

+ Reply to Thread