| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
need help - {$userinfo.b_firstname} not bring written | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() hmmmm, the modify profile link that works points to:
Code:
the one that doesn't work points to: Code:
would that make a difference? here is my register_biling_info.tpl which has the input form not working Code:
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#12
|
|||||||
|
|||||||
![]() It doesn't look like there is anything to do with the the template file, the form elements have the correct names.
The &mode=cart may be the issue. In include/register.php, if the action is cart it merges extended user information with the rest of the user information, so that may be the problem. You could make both use the extended user information. But I am not sure if it will cause any other wierd problems but backup ./include/register.php And then edit around line 285. change Code:
to Code:
__________________
Mod King |
|||||||
#13
|
|||||||||
|
|||||||||
![]() unfortunately that didn't help
![]()
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#14
|
|||||||
|
|||||||
![]() doh, it must be how it gets the data, i know that the b_ and s_ names are stored in xcart_orders and alot of the other useinfo is in xcart_customers.
It may not be getting any info from the xcart_orders table.
__________________
Mod King |
|||||||
#15
|
|||||||||
|
|||||||||
![]() anyone else have a clue on this one? i hate to go back and lose all my changes.
thank you. this is my register.php Code:
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#16
|
|||||||
|
|||||||
![]() The problem is that your register.php doesn't store the b_names
as you can see by this query Code:
You would need to alter the table to have news rows for those 2 or 4 fields if your using the s_ ones as well. X-cart assumes that the firstname and lastname will be the same for all of them so it only stores them as firstname,lastname You could either have it store them as those, by changing your forms, or alter the table and change the insert query.
__________________
Mod King |
|||||||
#17
|
|||||||||
|
|||||||||
![]() so, this part
Code:
should be Code:
and then this: Code:
to this? Code:
do i need to make changes to the table as well? thanks for your help - it seems we've at least found the problem
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#18
|
|||||||||
|
|||||||||
![]() Billing and Shipping names are only used when placing orders, not when a user registers. Take a look at include/func.php, functions: func_place_order, and func_userinfo. You can also validate this within the orders table, the 4 fields exists. Hence the reason your only seeing these fields appear upon checkout and not on the basic register page.
|
|||||||||
#19
|
|||||||||
|
|||||||||
![]() hmmm, so it may be best to use the userinfo.firstname and userinfo_lastname as my billing info and scrap the b_firstname and b_lastname?
is there an easier way to do this? i just want the customer to fill out the billing address, and use that name as the main contact name and billing name. they can also have a different shipping name and address if they fill that part out. otherwise, the billing info just carries over. makes for an easier quicker checkout i think. i do want the customer to be able to register if they want to. thank you, i'm happy to donate for an effective solution here.
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#20
|
|||||||
|
|||||||
![]() Hi
I had this same or a similar problem. With the anonymous checkout registration, the fields for first name and last name appear for billing and shipping info. However the values placed in the fields are not carried through till the end of checkout. If on step 3 of checkout, the user modifies the info, the info is saved. I ended up changing this {if $action eq "cart"} to this {if $smarty.get.mode eq "update"} in the skin1/main/register_billing_address.tpl and skin1/main/register_shipping_address.tpl Now when the user registers during step 1 of the checkout, the last name and first name fields are not shown (since they are not updated anyway). I deleted the ability to modify profile from the minicart since this was also a problem. The user can modify the billing and shipping info from step 3 of checkout. This info is saved just fine. I've made some other changes that help with this process but these were the main ones. I did notify XCart about this, but never heard back from them. Thanks Mike
__________________
Mike X-Cart Gold Version 4.6.0 PHP 5.2.17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|