![]() |
Register profile shipping name
I wanted to have the first name and last name for shipping address displayed when a customer registers with the site through create profile (as opposed to anonymous checkout) so that they could ship their purchase to another person should they be sending a gift.
I edited the skin1/main/register_shipping_address.tpl to comment out the {if} loop that suppesses these fields: Code:
{*{if $action eq "cart"}*} This displayed the first name and last name shipping address fields in the create new profile screen, however the fields do not retain the information entered into them. Instead upon submitting the form, x-cart populates those fields with the first and last names from the personal information section on the form (from skin1/main/register_personal_info.tpl). How do I get x-cart to recognize the user input in the first name and last name shipping address fields in the create profile screen and (presumably) submit/write them to the SQL database so that when they make a purchase while logged into this profile the billing and shipping addresses will have different names (I know this works from anonymous checkout, but I'd like it to work from here as well). Any help would be greatly appreciated. |
Might want to check the custom mods forum...I think I saw a mod in there that does this....
|
Quote:
Hi Balinor, Thank you for responding to my post. Unfortunately, the custom mod I believe you are referring to is one that reduces the duplicate entry of first and last name during checkout. That topic can be found here: http://forum.x-cart.com/viewtopic.php?t=20344 I want to be able to have the customer enter different first and last names for billing and shipping address when creating a profile or modifying that profile and of course have that information retained in the mySQL database. If this mod already exists for 4.0.14 (and I HAVE looked), I would be grateful to anyone who can point me in the right direction. Joe |
All times are GMT -8. The time now is 03:36 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.