Jump to content

admin customer change type to unregistered


Claudia

Recommended Posts

Automatically? Or on the admin's per-customer needs?

If per-customer, bringing up the Edit screen for a customer, there is a drop-down selector to make the change.

To review, a customer is 'registered' if they create a store account through CubeCart's Registration page. A customer is 'unregistered' if the customer goes through checkout without having created a store account.

If 'automatic', I'm curious to know your reason to have all customers' type set automatically as 'unregistered'.

 

 

Link to comment
Share on other sites

In the admin template customers.index.php:

Find near lines 148-149:

<option value="1" {if $CUSTOMER.type==1}selected="selected"{/if}>{$LANG.customer.title_key_registered}</option>
<option value="2" {if $CUSTOMER.type==2}selected="selected"{/if}>{$LANG.customer.title_key_unregistered}</option>

Reverse the order of these two lines:

<option value="2" {if $CUSTOMER.type==2}selected="selected"{/if}>{$LANG.customer.title_key_unregistered}</option>
<option value="1" {if $CUSTOMER.type==1}selected="selected"{/if}>{$LANG.customer.title_key_registered}</option>

Be sure to have CubeCart clear its internal cache -- rendered skin templates are cached.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...