I recently read an article where online shoppers were questioned on this and many did not like the idea, as it gives the consumer the impression that they are being spied upon. However, Amazon in itself disproves this theory.
Very simple to do, however, but depends on your CS-Cart version.
Yes, Jeremy, that is what I am trying to do, if Welcome Guest would change to Welcome Mark or something after log in. If that is the way that works, how can I do that?
[size=4]Then go to Design → Layouts and click on the location and grid that you want to add it. I added it to the default location.[/size]
[size=4]Click “Add Block” and choose tab for “Create new block” then choose the “Template” block. Name it whatever you want and then select “_welcome_user” from the Template dropdown. Then click the “Create” button.[/size]
In your Admin area navigate to Design → Template Editor and then Templates → Blocks → Static Templates
Click “Create New” button and name it something memorable. I named mine “welcome_user.tpl” and then “Create”
Double Click on “welcome_user.tpl” and paste the following code:
<br />
{if $auth.user_id}<br />
{if $user_info.firstname || $user_info.lastname}<br />
Welcome, {$user_info.firstname} {$user_info.lastname}. (<a href="{"auth.logout?redirect_url=`$return_current_url`"|fn_url}" rel="nofollow" class="account">{__("sign_out")}</a>)<br />
{/if}<br />
{else}<br />
Welcome, Guest. (<a href="{"auth.login_form"|fn_url}">{__("sign_in")}</a>)<br />
{/if}
```<br />
<br />
Then Save changes.<br />
<br />
Then go to Design -> Layouts and click on the location and grid that you want to add it. I added it to the default location.<br />
<br />
Click "Add Block" and choose tab for "Create new block" then choose the "Template" block. Name it whatever you want and then select "_welcome_user" from the Template dropdown. Then click the "Create" button.<br />
<br />
You may have to clear your cache.<br />
[/quote]Nice one.<br />
Thanks. <img src="upload://iKNGSw3qcRIEmXySa8gItY6Gczg.gif" class="bbc_emoticon" alt=":grin:">
I created template, saved, cleared cache, went to layouts, went to Add New Block, selected template, gave it a name, but then my newly created template was not in the drop down to select from. (see image)
I created template, saved, cleared cache, went to layouts, went to Add New Block, selected template, gave it a name, but then my newly created template was not in the drop down to select from. (see image)
What did I do wrong and how can I fix?
Thanks Jeremy
Mark
[/quote]
[color=#282828][font=arial, verdana, tahoma, sans-serif][size=3]In your Admin area navigate to Design → Template Editor and then Templates → Blocks → Static Templates[/size][/font][/color]
Then go to Design → Layouts and click on the location and grid that you want to add it. I added it to the default location.
Click “Add Block” and choose tab for “Create new block” then choose the “Template” block. Name it whatever you want and then select “_welcome_user” from the Template dropdown. Then click the “Create” button.