![]() |
How do I remove "Our Products" link? |
Post Reply ![]() |
Author | |
netmarketer ![]() Newbie ![]() ![]() Joined: 30-January-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 16-May-2008 at 7:50pm |
Hi,
I want to hide my other products from visitors so I need to hide the "Our Products" link on two pages.
viewCategories.asp
viewPrd.asp
Can you help me hide that link on those two pages? Is there a piece of code I put into those pages? Thanks in advance!
Justin
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Please explain what you mean by your "other products"? You can hide products from non-wholesale customers, which may be better for you - If you only have 1 type of customer you could treat them ALL as wholesale and make all the products "wholesale only" - So no products are visable to people who are not logged in.. Anyway, to remove it from viewCategories.asp - search for Breadcrumbs & then look for the two lines :- response.write dictLanguage.Item(Session("language")&"_viewCat_P_2") response.write strBreadCrumb (In my V3.11 version that's lines 294 & 295) Delete those two and the breadcrumb trail will not be displayed. For viewPrd.asp it's a bit more complex (but not much). It depends which layout option you have selected - It will use one of viewPrdC, viewPrdL or viewPrdO - Whichever one it is - look for the line :- pcs_CategoryTree - Delete that. The line calls a sub in viewPrdCode.asp. You probably should check that search doesn't show the products in question as well. HTH Hamish |
|
![]() |
|
netmarketer ![]() Newbie ![]() ![]() Joined: 30-January-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Hi Hamish,
Thanks for your help! It definitely deleted the "Our Products" link but the only problem is that it also deleted the category link next to it. How do we fix that? Thanks again for your help!
Justin
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi Justin,
I thought you wanted to get rid of the whole Breadcrumb trail! - OK - The solution is really easy then & doesn't involve changing any files other than : includes/languages.asp Look for the line containing :- "english_viewCat_P_2", "<a href='viewCategories.asp'>Our Products</a>: " and change :- "<a href='viewCategories.asp'>Our Products</a>: " to "Our Products:" or " " depending on whether you want the string Our Products to be there, but without a link, or not there at all. |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Justin,
Of course - you should put back the previous version of the files you changed ![]() |
|
![]() |
|
netmarketer ![]() Newbie ![]() ![]() Joined: 30-January-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Hi Hamish,
Your instructions worked to perfection! Thanks :-)
|
|
![]() |
|
netmarketer ![]() Newbie ![]() ![]() Joined: 30-January-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I'm selling professionally designed door hangers where customers can personalize with 5 different fields.
-Company name:
-Company Phone:
-Address:
-Special Promotion:
-List of Services offered:
Can someone point me in the direction for the best option? Possible solution:
1) Use 3 input fields for co. name, phone and address. Then use the special customer fields for the final two. Do you think this complicates the process from the customer perspective?
Thanks for your help in advance!
Justin
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi Netmarketer,
My initial thought was that you need to increase the number of product input fields which means a bit of customization. However, assuming that for each customer the FIRST THREE fields will always, or usually, stay the same, then I would make these the special customer fields and make "Special Promotion" and "List of Services Offered" the two fields associated with the product(s). The special customer fields remain the same when the customer next logs in. With suitable supporting text that would work, but isn't really ideal. The big caveat is that the customer fields are associated the the CUSTOMER. If you have lots of other products that do NOT require these fields it would possibly lead to confusion. Similarly, if the name and address details would change with each order, then the use of Customer Fields is a bad idea. In summary - It depends on your circumstances ! :-) |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Justin, by the way, I would recommend starting a new thread for new questions.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |