one of my site is just showroom, so I disabled some pages such as shipping&return, but I can still access the page if I enter the url directly: index.php?main_page=shippinginfo.
how can I disable it so user can't access it?
one of my site is just showroom, so I disabled some pages such as shipping&return, but I can still access the page if I enter the url directly: index.php?main_page=shippinginfo.
how can I disable it so user can't access it?
I suppose you could remove the define page files or just remove the content from them so they're blank.
EZ pages can be turned off in admin.
I actually "delete" those ezpage that I don't use in the admin: tools->ez pages. but they still can be accessed using direct url.
I hesitate to actually delete the files, since the site will be using the in the future.
I am hoping that we can "turn off" the pages so when accessed using direct url, zen cart can direct user to the page not found page? is that possible?
Thanks.
Say you want to "turn off" completely, even by manual hack of URL, and not be able to get to the Privacy page and not lose the code for future use ...
Go to the:
/includes/modules/pages
rename the directory:
/includes/modules/pages/privacy
to something like:
/includes/modules/pages/privacy_HIDDEN
now it is "gone" but can be used later ...
Or, delete the directory:
/includes/modules/pages/privacy
and later, when you need it, just upload it again ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
thank you. that should work.