Admin - Configuration - Customer Details - Customers Approval Authorization - Admin

From Zen Cart(tm) Wiki
Jump to: navigation, search


Menu: Admin - Configuration - Customer Details - Customers Approval Authorization - Admin


/path/to/your/shop/admin/customers.php

Line #35 : if ($_GET['current'] == CUSTOMERS_APPROVAL_AUTHORIZATION) {

Line #38 : $sql = "update " . TABLE_CUSTOMERS . " set customers_authorization='" . CUSTOMERS_APPROVAL_AUTHORIZATION . "' where customers_id='" . $_GET['cID'] . "'";

Line #60 : if (CUSTOMERS_APPROVAL_AUTHORIZATION == 2 and $customers_authorization == 1) {

Line #65 : if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 and $customers_authorization == 2) {


/path/to/your/shop/admin/includes/attributes_preview.php

Line #102 : if (((CUSTOMERS_APPROVAL == '2' and $_SESSION['customer_id'] == '') or (STORE_STATUS == '1')) or (CUSTOMERS_APPROVAL_AUTHORIZATION == 2 and $_SESSION['customers_authorization'] != 0)) {