Disable Specials Sidebox On Contact Us Page
Hi Guys,
Have added the following to my specials sidebox file:
if ($this_is_home_page) {
$show_specials = false;
}
Which disables the box on the homepage. Im now also wanting to disable the box on:
Contact Page
And Category Listing Page IE Subcategory icon page....
I tried adding:
if ($this_is_contact_us_page) {
$show_specials = false;
}
But that dosn't seam to work...
Thanks guys...
Re: Disable Specials Sidebox On Contact Us Page
Quote:
Originally Posted by
wdd49
Hi Guys,
Have added the following to my specials sidebox file:
if ($this_is_home_page) {
$show_specials = false;
}
Which disables the box on the homepage. Im now also wanting to disable the box on:
Contact Page
And Category Listing Page IE Subcategory icon page....
I tried adding:
if ($this_is_contact_us_page) {
$show_specials = false;
}
But that dosn't seam to work...
Thanks guys...
try using the following:
if ($current_page_base == 'contact_us') {
$show_specials = false;
}
Re: Disable Specials Sidebox On Contact Us Page
Quote:
Originally Posted by
clydejones
try using the following:
if ($current_page_base == 'contact_us') {
$show_specials = false;
}
Works a treat thanks!
Any know know what statement i need to use for the category pages?
Pages like this one:
http://yorkshiregardencentre.co.uk/c...index&cPath=24
Greg
Re: Disable Specials Sidebox On Contact Us Page
Ok i worked out if i add:
if (isset($_GET['cPath'])) {
$show_specials= false;
}
It disables the sidebox on the category and sub category menu but it also disables it on product listing page.
Any advice? How to get this working to just disable on the category and sub category menu and not product listing page?