ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - How do I remove "Our Products" link?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I remove "Our Products" link?

 Post Reply Post Reply
Author
Message
netmarketer View Drop Down
Newbie
Newbie
Avatar

Joined: 30-January-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote netmarketer Quote  Post ReplyReply Direct Link To This Post Topic: How do I remove "Our Products" link?
    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
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 17-May-2008 at 11:35am
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
 
 
Back to Top
netmarketer View Drop Down
Newbie
Newbie
Avatar

Joined: 30-January-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote netmarketer Quote  Post ReplyReply Direct Link To This Post Posted: 18-May-2008 at 2:35am
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
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 18-May-2008 at 1:58pm
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.


Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 18-May-2008 at 1:59pm
Justin,
  Of course - you should put back the previous version of the files you changed Smile
Back to Top
netmarketer View Drop Down
Newbie
Newbie
Avatar

Joined: 30-January-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote netmarketer Quote  Post ReplyReply Direct Link To This Post Posted: 20-May-2008 at 1:00am
Hi Hamish,
 
Your instructions worked to perfection!  Thanks :-) 
Back to Top
netmarketer View Drop Down
Newbie
Newbie
Avatar

Joined: 30-January-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote netmarketer Quote  Post ReplyReply Direct Link To This Post Posted: 17-July-2008 at 2:30am
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 
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 17-July-2008 at 4:03am
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 ! :-)
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 17-July-2008 at 4:04am
Justin, by the way, I would recommend starting a new thread for new questions.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.