Print Page | Close Window

Home page without message when store is closed

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2133
Printed Date: 24-April-2025 at 1:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Home page without message when store is closed
Posted By: worldofrugs
Subject: Home page without message when store is closed
Date Posted: 12-November-2008 at 2:07pm
I have a homepage, that  does include the small searchbox, the cart total and the register/logout button (read: function) implemented.
The header and footer are not included, neither is any of the products being displayed on this page.

In the store settings, you can enter a message when you turn the store off...

The question:
How can I have this show up on all pages (as it currently does) but not on this homepage?
Reason I ask is that I've entered the homepage in the store settings page in the control panel.

This is the start-code from this hopepage. Anything I can remove from this. keeping the search function, cart total and the login (register) / logout function as well?

<% response.Buffer=true %>
<%
Set conlayout=Server.CreateObject("ADODB.Connection")
conlayout.Open scDSN
Set RSlayout = conlayout.Execute("Select * From layout Where layout.ID=2")
Set rsIconObj = conlayout.Execute("Select * From icons WHERE id=1")
%>
<!--#include file="../includes/settings.asp"-->
<!--#include file="../includes/storeconstants.asp"-->
<!--#include file="../includes/emailsettings.asp"-->
<!--#include file="../includes/languages.asp" -->
<!--#include file="../includes/opendb.asp"-->
<!--#INCLUDE file="../includes/stringfunctions.asp"-->
<!--#include file="../includes/currencyformatinc.asp"-->
<!--#include file="../includes/validation.asp" -->
<!--#include file="../includes/SearchConstants.asp"-->
<%
on error resume next
'*******************************
' Page Name
'*******************************
Dim pcStrPageName
pcStrPageName = "index.asp"
%>
<!--#include file="pcStartSession.asp"-->
<%
Dim query, conntemp, rs, rstemp
call openDb()
%>


To see this page: http://www.worldofrugs.com/shop/pc/index.asp - http://www.worldofrugs.com/shop/pc/index.asp



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net