Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Creating new register page for existing customer

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-06-2014, 05:29 AM
 
CB Tan CB Tan is offline
 

Advanced Member
  
Join Date: Aug 2012
Posts: 37
 

Default Creating new register page for existing customer

I am trying to migrate my site to 4.6.3 from 4.0.14.
The customer database is totally different.

so, I am forcing my existing customer to register again.
So I create a copy of the register.php and directing them to the page.

I need to change the text in that form.
Anybody have done it before?
Some pointer will be grateful
__________________
X-Cart DB Version:Migrated to 4.7.9
Reply With Quote
  #2  
Old 05-06-2014, 10:23 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Creating new register page for existing customer

I can help you understand how to change the text. But I don't understand exactly your situation. You want a completely seperate registration form? I would rather keep the form the same. Is your reasoning that you need a special explanation perhaps?

What I advise is to devise some way to use one form, otherwise you are creating a lot of work for yourself. I would simply direct existing customers to the register form with a variable in the URL like register.php?user=existing then you can take action and display a message based on that variable in the URL.

-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 05-06-2014, 03:25 PM
 
CB Tan CB Tan is offline
 

Advanced Member
  
Join Date: Aug 2012
Posts: 37
 

Default Re: Creating new register page for existing customer

Yes I wanted another form with txt_create_profilecurrent_msg instead of
txt_create_profile_msg. ex registercurrent.php

It probably have the same fields as register.php

I have cloned registercurrent.php from register.php
did similar to include/register.php, register.tpl.
__________________
X-Cart DB Version:Migrated to 4.7.9
Reply With Quote
  #4  
Old 05-06-2014, 06:25 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Creating new register page for existing customer

If the fields will be the same, why create another form? Just for the message change? This is overkill I think.

Why will my simple solution above not work?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #5  
Old 05-15-2014, 07:49 PM
 
CB Tan CB Tan is offline
 

Advanced Member
  
Join Date: Aug 2012
Posts: 37
 

Default Re: Creating new register page for existing customer

lol...i think so too. I understand where you are leading me to. But beginners like me need more time to figure out the coding required. will edit the register.tpl to include the if loop later. Thx
__________________
X-Cart DB Version:Migrated to 4.7.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:44 AM.

   

 
X-Cart forums © 2001-2020