![]() |
SmallSearchBox.asp on non-P.C. asp pages |
Post Reply ![]() |
Author | |
MGatESS ![]() Groupie ![]() ![]() Joined: 12-July-2006 Location: United States Status: Offline Points: 73 |
![]() ![]() ![]() ![]() ![]() 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). |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
MGatESS ![]() Groupie ![]() ![]() Joined: 12-July-2006 Location: United States Status: Offline Points: 73 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
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 |