New Zenner
- Join Date:
- Dec 2009
- Location:
- Louisiana
- Posts:
- 7
- Plugin Contributions:
- 0
Sidebox on Checkout Pages Only
I created an new override sidebox using the method found here:
https://www.zen-cart.com/tutorials/index.php?article=270
I was able to easily create my sidebox and have it display on the index page only. However, my goal is to post my security validation banner on my log in & checkout pages only.
I cannot figure out how to verify if the checkout page is the current page. I basically want to say " if ($this_is_login_page) then display box" - but with something that works. My code:
if ($this_is_home_page)
{ $show_security= true; }
else { $show_security = false;
}
if ($show_security == true) {
echo' Security Banner Code Inserted Here ';
}
?>