Osclass Support Forums
Osclass theme support => Zara Osclass Responsive Theme => Topic started by: miyedos on April 01, 2016, 02:26:30 PM
-
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.
-
@miyedos
Well I am not sure what are you asking on exactly. Showing "contact seller" button is correct also for non-logged users.
-
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?
-
@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
-
im newbie sorry.
where and full code please.
by the way, you have a great theme!
-
@miyedos
Do not expect no full code, it is development.
You got instructions how to.
-
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.
-
@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)