Jump to content

Customer welcome screen in shop


Recommended Posts

I am looking for some help, please, with a problem with my store.

A new customer can register perfectly OK and receives a confirmation e mail correctly. However the sign- in the screen goes to the shop front with a welcome message to the wrong name. The name is always the same and is that of a previous customer.

Is this name generated by welcome.php and if so where is this file located?

 

I am using v.1.5.4.1.

 

many thanks

 

John Evans

Link to comment
Share on other sites

Nemo1,

Let me re-phrase my question. When a customer first registers the shop page is displayed with a Welcome message to that person.

In my shop the welcome is always addressed to the same person (an old customer) the message does not show the new persons name.

 

Thereafter the shop works fine an all people can log in and trade correctly.

 

My thought (but I am not qualified) is that the Welcome message is corrupted in some way so that instead of showing the new persons name in the message it shows a fixed name.

 

I am using a 3rd party theme but this fault has not always been there.

 

Any help appreciated.

 

regards

 

John Evans

Link to comment
Share on other sites

Hi Nemo1,

No it is not part of the theme except the theme re positions the welcome, Login etc to a bar at the top of the front page. The default theme has this at the top right of the page.

 

This only goes wrong on the customers first registration, thereafter everything works fine.

 

After registration the shop front shows "Welcome ?????, Log out etc. where ???? is always the same name and not that of the new customer.

It seems to my very unqualified mind as though instead of displaying "first name" and "second name" it display a fixed name, but only for this first registration. Could that mean that this part has been corrupted?

 

Thank you for your continued help.

 

regards

 

John Evans

 

PS would it help for you to log into my store to see the problem?

Link to comment
Share on other sites

Nemo1,

I think I have confused things by mentioning welcome.php. please ignore this.

 

 Only on first registration the name shown after "Welcome" on the top of the front page of the store is corrupt. On registration by all new customers this is the same name shown and not their own one. Thereafter on all log ins by customers the shop works properly, displaying the customers correct name after "Welcome". 

 

Are you able to register in my store to witness the problem? This would demonstrate it very quickly.

 

I am grateful for the time you are spending on this.

 

regards

 

John Evans

Link to comment
Share on other sites

Hi Nemo,

 

Here is a copy of Block user tpl from the theme.

 

<!-- Block user information module HEADER -->
<div id="header_user">
    <ul id="header_nav">
        {if !$PS_CATALOG_MODE}
        <li id="shopping_cart">
            <a href="{$link->getPageLink($order_process, true)}" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">{l s='Cart:' mod='blockuserinfo'}
            <span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span>
            <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockuserinfo'}</span>
            <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockuserinfo'}</span>
            <span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}">
                {if $cart_qties > 0}
                    {if $priceDisplay == 1}
                        {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
                        {convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}
                    {else}
                        {assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}
                        {convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}
                    {/if}
                {/if}
            </span>
            <span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(empty)' mod='blockuserinfo'}</span>
            </a>
        </li>
        {/if}
        <!--<li id="your_account"><a href="{$link->getPageLink('my-account', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li>
    </ul>
    <p id="header_user_info">
        {l s='Welcome' mod='blockuserinfo'}
        {if $logged}
            <a href="{$link->getPageLink('my-account', true)}" class="account"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>
            <a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout">{l s='Log out' mod='blockuserinfo'}</a>
        {else}
            <a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>
        {/if}
    </p>-->
</div>
<!-- /Block user information module HEADER -->

 

many thanks

 

John Evans
 

Link to comment
Share on other sites

Nemo,

I have tried some more investigation of this fault. Herre are the resulsts.

 

In Default theme all appears correct. The fault has gone.

After going to Default and then back to my shop theme the first registration shows the correct name after Welcome.

Therafter the name first registered after the return to my shop theme is always shown on any new registrations. Therefore the fault is still there but the Welcome name has changed for new registrations.

 

Otherwise the shop is working correctly.

 

Does this give you a clue as to the problem? (presumably somewhere within the theme)

 

John Evans

 

PS Is it possible that upgrading to 1.5.6.2 will help or am I talking rubbish.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...