This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

miyedos

i searched almost all forum topics and only found below. using zara theme, can i apply this solution to zara?

the same for email address. Even user chosen 'show email address to public profile', want to hide again from not-logged in users.

http://forums.osclass.org/themes/hide-phone-number-name-if-user-is-not-logged-in-27849/msg115157/#msg115157

P.S: Im newbie not pro but i think there is a bug on seller page.

im on my own dashboard and still i can see `contact seller' button' ! is this correct way or a bug?

regards.

*

MB Themes

Re: Hide Phone Number and/or seller name IF user is not logged in
« Reply #1 on: April 01, 2016, 03:34:26 PM »
@miyedos
Well I am not sure what are you asking on exactly. Showing "contact seller" button is correct also for non-logged users.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

miyedos

Re: Hide Phone Number and/or seller name IF user is not logged in
« Reply #2 on: April 01, 2016, 03:36:26 PM »
 separate issues:

1. how can i hide phone and/or mail address not logged-in users?

2. just a question: im on my dashboard and i can still see 'contact seller; button. is this correct way?

*

MB Themes

Re: Hide Phone Number and/or seller name IF user is not logged in
« Reply #3 on: April 01, 2016, 03:38:22 PM »
@miyedos
1) You will place phone into <?php if(osc_is_web_user_logged_in()) {?> .... code / phone ... <?php } ?>
2) Yes it is, you can test if everything is ok
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

miyedos

Re: Hide Phone Number and/or seller name IF user is not logged in
« Reply #4 on: April 01, 2016, 03:40:58 PM »
im newbie sorry.

where and full code please.

by the way, you have a great theme!

Marked as best answer by on Today at 09:46:47 PM
*

MB Themes

  • Undo Best Answer
  • Re: Hide Phone Number and/or seller name IF user is not logged in
    « Reply #5 on: April 02, 2016, 08:37:00 AM »
    @miyedos
    Do not expect no full code, it is development.
    You got instructions how to.
      To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

    Re: Hide Phone Number and/or seller name IF user is not logged in
    « Reply #6 on: September 11, 2021, 09:39:27 AM »
    hello there,

    on product page. phone number hide for non register user. but other contact is displaying. where i have to change so that other contact also hide for non register user. i am using sigma themes.

    *

    MB Themes

    Re: Hide Phone Number and/or seller name IF user is not logged in
    « Reply #7 on: September 11, 2021, 01:13:47 PM »
    @Rishabh
    Correct, as publisher was asked just to hide phone/email.
    You can extend feature of hidding of mobile phone to hide also this field in item.php of theme (or item-sidebar.php)
      To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots