ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - SmallSearchBox.asp on non-P.C. asp pages
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SmallSearchBox.asp on non-P.C. asp pages

 Post Reply Post Reply
Author
Message
MGatESS View Drop Down
Groupie
Groupie
Avatar

Joined: 12-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote MGatESS Quote  Post ReplyReply Direct Link To This Post Topic: SmallSearchBox.asp on non-P.C. asp pages
    Posted: 04-October-2011 at 1:37pm
Running Product Cart v3.51

I am trying to get the small search box located at the top of the product cart pages (in the header.asp file) to come up in my website root default page.

I tried using the "Response.WriteFile" in the default.aspx file where I wanted the box to show up.  The box displayed, but it included showing some tags and a lengthy anti-piracy message from EarlyImpact, LLC.

Can anyone tell me how I can get the SmallSearchBox08.asp file to show properly in my default.aspx page without a) changing the stylesheets of the page or b) having to build a "custom code" to get it to work?  I'm not a programmer and I know little about ASP let alone ASP.NET (about all I figured out was the "Response.WriteFile" which I use for the root pages header and footer).
~ Mark G.

ESS, Inc. - www.endoscopy.com
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 04-October-2011 at 2:26pm
I don't believe that the cart totals session variable from the ASP session can be shared easily with the .NET session.  Unless there is some huge reason for the rest of the site to be .ASPX pages, I'd change them over to .ASP so that you can get your common design elements such as cart totals to function.
Back to Top
MGatESS View Drop Down
Groupie
Groupie
Avatar

Joined: 12-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote MGatESS Quote  Post ReplyReply Direct Link To This Post Posted: 05-October-2011 at 10:22am
Well, if I can't "transplant" the search box from the Product Cart system, is there an "add-on" script/set of pages that will access the product cart search feature from ANY page - even if the page is on another hosted site so that they appear seamlessly integrated?

OR, can anyone WRITE a script that I can just put in my page so that people can search our ProductCart system from our root home page?  All I'd want is a text box and a "search" button that would take the information in that search box an populate the appropriate field in the search system of product cart - so then when someone clicks the search button, it will open up the product cart page with search results in the product cart system.

Please let me know if anyone has those expertise.
~ Mark G.

ESS, Inc. - www.endoscopy.com
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 05-October-2011 at 10:31am
ya know, I read that yesterday and somehow interpreted it as wanting the cart totals.  to place the search feature in the ASPX page just paste the appropriate code.  It's just an HTML form.  Make sure you have your path to the  showsearchresults.asp and search.asp pages set correctly.
 
also, these statements:
 <input type="hidden" name="pageStyle" value="<%=bType%>">
 <input type="hidden" name="resultCnt" value="<%=pcIntPreferredCountSearch%>">
 
those contain ASP variables.  You can hard code them to your preference.  Options for the 1st (page layout) are H/L/M/P.  2nd should be an integer reflecting # of products per page.
 
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.156 seconds.