Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Remove sidebars upon checkout
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chrisredco
VP-CART Super User

282 Posts

Posted - April 12 2012 :  16:14:02  Show Profile  Visit chrisredco's Homepage  Reply with Quote
Once a customer gets to my shopcustomer.asp page where they are entering billing/shipping info and choosing shipping method, I would like the left and right sides to no longer be visable. I currently have categories and a minicart on the left and popular items, etc on the right.

Is there a straightforward way to eliminate these side bar parts on certain pages and still have them function on the rest of the site?

Chris

Redco Audio
www.redco.com

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - April 13 2012 :  10:19:35  Show Profile  Reply with Quote
Hi Chris,
I don't think there is a simple way of doing this through the Admin panel but you can achieve the changes by inserting a couple of lines of code into shoppageheader.htm and shoppagetrailer.htm

open shoppageheader and find
<!-- END WELCOMEBOX STRETCH -->
add the following page URL check
<% if instr(lcase(request.ServerVariables("SCRIPT_NAME")), "shopcustomer.asp") > 0 then %>
<!-- main content -->
<div id="main">
<!-- END OF SHOPPAGE_HEADER.HTM -->
<%else%>

save and test.

Open shoppagetrailer.htm and add the same URL check before the right side bar divs

Regards,
Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00