Forums / General Questions / Menu option for only one particular customer

Menu option for only one particular customer

Views: 553

Results 1 to 5 of 5
24 Oct 2011, 11:45 PM
#1
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Menu option for only one particular customer

I would like to have a menu option show up if one particular customer logs in. I could put it at the bottom of the categories list.

I'm just needing to know the coding for it. I can edit PHP just fine, but I can't write it from scratch.

Let's say customer_id = 101. I would like to have a menu option that does a searches for "EHF" across all products on the site.

Could someone please help the coding for this, it'd be much appreciated :)

24 Oct 2011, 11:51 PM
#2
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: Menu option for only one particular customer

In an attempt to help .. I would put the coding in /includes/templates/template_default/sideboxes/tpl_categories.php and include the code:

<a href="http://<domain>/store/index.php?main_page=advanced_search_result&search_in_description=1&keyword=EHF">Your Store Items</a><br>

as the search code. I'm just not sure how to make it so it will only show up in the menu when "customer_id = 101" logs in.

25 Oct 2011, 4:27 AM
#3
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: Menu option for only one particular customer

Any help, please.

25 Oct 2011, 11:12 PM
#4
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: Menu option for only one particular customer

Again, any help would be appreciated. I'm sure it's not difficult, and would require simply one line of coding.

26 Oct 2011, 1:42 AM
#5
jace avatar

jace

New Zenner

Join Date:
Nov 2010
Posts:
91
Plugin Contributions:
0

Re: Menu option for only one particular customer

jeez people ..

forget it then.. i'll figure it out myself.