I am trying to display the Model value for products but only show it when a customer is logged in and his/her account has been approved.
Shouldn't the following code do the job:
But the above is not working, it's not displaying anything.PHP Code:<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
// do nothing
} else {
?>
<?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
![]()


Reply With Quote
