Returns 1 when the visitor that is seeing current product is logged in as a customer in your store, and returns 0 if not.

Syntax

$dummy = CFO_IsCustomerLogged();

Example

...
if(CFO_IsCustomerLogged()=="1") {
    // Do some special thing
}
...