X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Creating new register page for existing customer (https://forum.x-cart.com/showthread.php?t=69133)

CB Tan 05-06-2014 05:29 AM

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

totaltec 05-06-2014 10:23 AM

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

CB Tan 05-06-2014 03:25 PM

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.

totaltec 05-06-2014 06:25 PM

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?

CB Tan 05-15-2014 07:49 PM

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


All times are GMT -8. The time now is 07:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.