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

Removal of Shipping address from user profile

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-23-2009, 10:18 AM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Arrow Removal of Shipping address from user profile

I am setting up a 4.2.1 version of a gift site. Since products are being sold are gifts, the shipping address each time may be different. My intention is to some how have the customer enter shipping address on the checkout page. Thus, the user will not be redirected to his/her profile to change the shipping address.

Also, I think it will probably be a good idea to disable saving of the shipping address into the user's profile.

In a nut-shell, remove the shipping address section from the profile and place it as empty editable fields in the checkout page. Once entered, have this address populated in the order and the invoice, but not in the user's profile.

This sounds like a lot and so I am looking for some guidance from you guys to see how should I go about doing so.

I am surely willing to try out several options, but I need some guidance from you experts.
__________________
X-Cart: 4.2.1
Reply With Quote
  #2  
Old 09-23-2009, 02:26 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Removal of Shipping address from user profile

You have to get this custom coded as it involves several files including php. When shipping address is not entered xcart uses billing info to populate shipping info fields in the db so you have to change the way xcart records user info in customers table. Then at checkout you have to change the way xcart records order info in orders table as the same shipping/billing procedure applies. And also tpl files, cart.php and probably some other php files involved in the process
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 09-24-2009, 05:58 AM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Default Re: Removal of Shipping address from user profile

Thanks so much cflsystems for your prompt response.

I will play around and see how easy or difficult will this be. If it turns out to be a nightmare, I think for the moment I will go with the address book mod by BCS.

Again, thanks for your expert advice.
__________________
X-Cart: 4.2.1
Reply With Quote
  #4  
Old 09-24-2009, 06:13 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Removal of Shipping address from user profile

No problem. For customer's shipping address - you can just comment out the calls in tpl files and not show it at all even though the info will be in the profile. If customer don't see it they don't know is there. For new shipping at checkout you can probably use Comments section
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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:40 PM.

   

 
X-Cart forums © 2001-2020