| ||||||||||
![]() |
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 |
#1
|
|||||||||
|
|||||||||
![]() i've been editing my checkout/registration format and now the customer's first and last name are not being recorded anymore.
when i try to modify profile via the link under the minicart, the first and last name fields do not even show up to be able to edit. ![]() but, if i use the modify link from the payment details section above the cc info area, the fields do show up and the names then are stored. can anyone help me explain this? ![]() i've removed some fields (title, website) and used others (fax, company) as address 2 fields. i've also modified register.php and register.tpl a bit, and the register_billing_address and register_shipping_address thanks http://digiez.com/store/customer/home.php
__________________
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 |
|||||||||
#2
|
|||||||
|
|||||||
![]() I can't seem to access your sites pages right now, they all give a smarty error.
But i think the first and last name of a person are {$userinfo.firstname} {$userinfo.lastname} I checked out the table structure for the version of x-cart that i am running and b_firstname doesn't exist ![]() Does your form ask for a billing first and last name? if so i am wrong
__________________
Mod King |
|||||||
#3
|
|||||||||
|
|||||||||
![]() thanks - the smarty error is fixed, but still having my problem.
i am only asking for billing address and shipping address at checkout - i am using the billing address name as the main contact. the names are {$userinfo.b_firstname} {$userinfo.b_lastname} {$userinfo.s_firstname} {$userinfo.s_lastname} b for billing, s for shipping i think it's a new feature in 3.5 to have three different name options
__________________
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 |
|||||||||
#4
|
|||||||
|
|||||||
![]() Oh I see where those are stored now
the b_fistname, b_lastname, and the s_ ones are all stored in the orders table But not in the customer info table, so the only way to get that information would be to use the order information.
__________________
Mod King |
|||||||
#5
|
|||||||||
|
|||||||||
![]() how would i accomplish that?
it seems to be storing the rest of the order info ok.
__________________
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 |
|||||||||
#6
|
|||||||
|
|||||||
![]() It depends, where are you trying to display that information?
Which template file?
__________________
Mod King |
|||||||
#7
|
|||||||||
|
|||||||||
![]() customer_details.tpl - 2 pages ahead shows all the billing info but the name
and all the e-mail confirmations it just doesn't seem to be storing it.
__________________
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 |
|||||||||
#8
|
|||||||
|
|||||||
![]() hmm, that is so strange, its getting the address but not those names (i tried checking out on your site)
You can try adding this line to your ./customer/cart.php at around line 559 after: $smarty->assign("userinfo",@$userinfo); Code:
It will print out all the information stored in that variable so you can see if its there and a smarty problem, if its not there its a php problem.
__________________
Mod King |
|||||||
#9
|
|||||||||
|
|||||||||
![]() hey, that's a neat trick
it wasn't there, so i'm thinking register.php? again, i was able to have it store only when i use the modify link on the page where the cc info is entered. but, not the "modify profile" link under minicart.
__________________
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 |
|||||||||
#10
|
|||||||
|
|||||||
![]() Yah it must be how its storing the values, because in the confirmation e-mail i received for registering it had the names blank as well.
__________________
Mod King |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|