I am using the latest version of zen cart. I need to be able to know that I am on main_page == 'page' and id == "17". How can I do that?
I tried using a $current_id = __GET['id'] but it doesn't seem to get anything in that variable, obviously it's not getting passed. I am trying to see if there is some function or something where I can get the values of these variables, or if I need to echo it from some file. I see that the main_template_vars.php is able to do a __GET of the main_page variable. I am trying to do the same from a custom php file under includes\modules\sideboxes.
![]()


Reply With Quote

