While testing in XAMPP
Issue:
The following debug-log is generated:
Code:
[18-Jan-2022 09:44:24 ] Request URI: /index.php?main_page=pricelist&profile=1, IP address: ::1
#1 require(...\includes\templates\template_default\pricelist\tpl_main_page.php)
called at [...\index.php:94]
--> PHP Warning: Use of undefined constant zen_in_guest_checkout - assumed 'zen_in_guest_checkout'
(this will throw an Error in a future version of PHP) in
...\includes\templates\template_default\pricelist\tpl_main_page.php on line 68.
This only happens when Group Name is not blank and results in all groups being refused.
A quick search for !zen_in_guest_checkout) with Admin Developers Tool Kit gives only 1 hit: tpl_main_page.php on line 68
All others !zen_in_guest_checkout are followed by ())
Fix:
In:
.../includes/templates/template_default/pricelist/tpl_main_page.php
or:
.../includes/templates/your_template/pricelist/tpl_main_page.php
Find (normally on line 68):
PHP Code:
if (zen_is_logged_in() && !zen_in_guest_checkout) {
Replace by:
PHP Code:
if (zen_is_logged_in() && !zen_in_guest_checkout()) {