retched:
PHP 8.2.1
ZC 2.0.1
I have cloned the html_include page for conditions and renamed it. When I closed the site for maintenance, I noticed that the page itself is blocked by the maintenance page when its enabled.
Is there a way to enable a page to be viewable when the cart site is disabled by maintenance?
there is not a way to do it without modifying core code.
if your page for conditions worked while in maintenance mode, that would suggest you are in what ZC called a relaxed type. if you want to add a new page that would NOT redirect to the down by maintenance page, look at this section of code:
https://github.com/zencart/zencart/blob/b44bb30e2009afe194391f55425e2f783a3fdc3e/includes/init_includes/init_customer_auth.php#L92-L97
and specifically the array on line 92. add your new page into that array and it looks like the new page will display.
hope that helps.
best.
author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.