About options in ecommerce header bar

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

About options in ecommerce header bar

Suresh Yellamaraju
Hi

New to OFBiz and finding my way around. So sorry if this is a repeat or
known.

Is it the intention (for product features demonstration reasons) that the
ecommerce web application shows the menu options of order history, profile,
quotes, ... when user is not logged in? Clicking on these links seems to be
doing the right thing of asking the user to login.

Noticed the following line in header.ftl of the ecommerce web application
that seems to allow that to happen.

<#if !userLogin?has_content || (userLogin.userLoginId)?if_exists !=
"anonymous">

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: About options in ecommerce header bar

Ruth Hoffman-2
Hello Suresh and Welcome!
Please see my comments inline:

Suresh Yellamaraju wrote:
> Hi
>
> New to OFBiz and finding my way around. So sorry if this is a repeat or
> known.
>
> Is it the intention (for product features demonstration reasons) that the
>  
Whoever built the original ecommerce demo would be best to answer this.
IMO, this has been maintained for the reason you state: To highlight
OFBiz features/functions. In implementations I have been involved with,
we have not displayed these links unless a user is logged in.

Regards,
Ruth
----------------------------------------------------
Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz"
[hidden email]

> ecommerce web application shows the menu options of order history, profile,
> quotes, ... when user is not logged in? Clicking on these links seems to be
> doing the right thing of asking the user to login.
>
> Noticed the following line in header.ftl of the ecommerce web application
> that seems to allow that to happen.
>
> <#if !userLogin?has_content || (userLogin.userLoginId)?if_exists !=
> "anonymous">
>
> Thanks!
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: About options in ecommerce header bar

Ashish Vijaywargiya
In reply to this post by Suresh Yellamaraju
Inline:

--
Ashish

On Mon, Jan 25, 2010 at 12:33 AM, Suresh Yellamaraju <[hidden email]> wrote:

> Hi
>
> New to OFBiz and finding my way around. So sorry if this is a repeat or
> known.
>
> Is it the intention (for product features demonstration reasons) that the
> ecommerce web application shows the menu options of order history, profile,
> quotes, ... when user is not logged in? Clicking on these links seems to be
> doing the right thing of asking the user to login.
>
> Noticed the following line in header.ftl of the ecommerce web application
> that seems to allow that to happen.
>
> <#if !userLogin?has_content || (userLogin.userLoginId)?if_exists !=
> "anonymous">

This check is provided to show the features in the ecommerce front end
component to the logged in users as well as to the one who are not
logged in. And Yes, this was done intentionally.

>
> Thanks!
>