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

Save Multiple Ship-to Addresses Completed

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 05-14-2008, 07:07 PM
 
feeble_fuel feeble_fuel is offline
 

Member
  
Join Date: Mar 2008
Posts: 27
 

Default Re: Save Multiple Ship-to Addresses Completed

I was able to get this to work on 4.1.9 following along in the thread and using the code supplied in post #38.

It's a little clunky but it will do the trick for now.
__________________
Kelly

X-Cart DB Version: 4.1.9 GOLD
- X-AOM (Advanced Order Management)

Reply With Quote
  #42  
Old 06-05-2008, 09:27 PM
 
feeble_fuel feeble_fuel is offline
 

Member
  
Join Date: Mar 2008
Posts: 27
 

Default Re: Save Multiple Ship-to Addresses Completed

I discovered a small clich with this modification. I have added an x-cart extra field of s_company to the ship to address. This modification uses the same value that is placed in the exta_fields table for all ship to addresses and not specific to a particular profile.

Has anyone out there modified this mod to also take extra shipto fields into consideration so that there is a unique shipto company name for each profile?

I think it also opens up a can of worms, because when viewing order details, it would also need to pull in the specific ship to company for the profile being used.

This would have been so much easier if the original x-cart design included a ship to company along with the shipto address details. Arg!

Any help or insight would be appreciated.

Thanks!
__________________
Kelly

X-Cart DB Version: 4.1.9 GOLD
- X-AOM (Advanced Order Management)

Reply With Quote
  #43  
Old 06-25-2008, 11:33 AM
 
feeble_fuel feeble_fuel is offline
 

Member
  
Join Date: Mar 2008
Posts: 27
 

Default Re: Save Multiple Ship-to Addresses Completed

Bump...

Well, it turns out really the best way to include a ship-to company was to hard code an s_company into x-cart all the way through to get it to be treated correctly throughout the process.

Again, my opinion is that ship-to company should be a standard field included in x-cart instead of relying on creating it in the extra fields.
__________________
Kelly

X-Cart DB Version: 4.1.9 GOLD
- X-AOM (Advanced Order Management)

Reply With Quote
  #44  
Old 10-14-2008, 07:12 PM
 
btomasie2 btomasie2 is offline
 

Member
  
Join Date: Aug 2008
Posts: 16
 

Default Re: Save Multiple Ship-to Addresses Completed

bringing this up to the top...

feeble_fuel... you mention that you got this working in v4.1.x by using thread #38. Did you do all the other stuff in the other posts AND what #38 says? Or only #38?


Thanks!
Brian
__________________
X-Cart v4.1.11
Reply With Quote
  #45  
Old 10-22-2008, 01:08 AM
  MattAustin's Avatar 
MattAustin MattAustin is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 41
 

Default Re: Save Multiple Ship-to Addresses Completed

Has anyone refined this Mod as I am finding that if you go through the checkout process and at any stage try to Modify your details, the dropdowns will never be populated.

They will only ever be populated if you log in and then click Modify Profile and then if you switch profile you are taken to Personal details of checkout process (regardless of whether anything is in the cart) and again the dropdowns are empty.
Any help with this is much appreciated
__________________
xcart version 4.1.6 Gold
Linux 2.6.9-67.0.20.ELsmp
www.qvsdirect.com
Reply With Quote
  #46  
Old 11-19-2008, 12:08 PM
 
telimon telimon is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 92
 

Default Re: Save Multiple Ship-to Addresses Completed

Anyone know if this will work in 4.1.8?
__________________
4.710
Reply With Quote
  #47  
Old 11-19-2008, 01:17 PM
 
btomasie2 btomasie2 is offline
 

Member
  
Join Date: Aug 2008
Posts: 16
 

Default Re: Save Multiple Ship-to Addresses Completed

After banging my head against the wall on this, I was informed that BCS Engineering developed a real module for multiple ship-to addresses (and address book management). WELL worth the money, and is very well done.

I would point you to my implementation, but the store is in development, and so I cannot share the link.

Here is the BCS module:
http://www.bcsengineering.com/store/customer/product.php?productid=271


Good luck,
Brian
__________________
X-Cart v4.1.11
Reply With Quote
  #48  
Old 09-14-2009, 01:42 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Save Multiple Ship-to Addresses Completed

Hi Instinctual,
Will it work on 4.1.9 and 4.1.11?Thank you.
__________________
4.6.1 Platinum


Reply With Quote
  #49  
Old 10-06-2009, 09:25 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Save Multiple Ship-to Addresses Completed

feeble_fuel,
you say that you got this working in v4.1.x by using thread #38 only?

or any other modification from the 1st post?

Any help or any response from forum!!!!

Will it work on 4.1.9?

Thanks to all.
__________________
4.6.1 Platinum


Reply With Quote
  #50  
Old 12-02-2009, 07:50 AM
  MattAustin's Avatar 
MattAustin MattAustin is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 41
 

Default Re: Save Multiple Ship-to Addresses Completed

I have this working but the line:
db_query("update xcart_sessions_data set data = '".serialize($new)."' where sessid='$sessid' ");

At line 111 causes the SQL error:

SQL query : update xcart_sessions_data set data = 'a:61:{s:11:"editor_mode";s:0:"";s:8:"is_robot";s: 1:"N";s:5:"robot";s:0:"";s:11:"is_location";s:1:"Y ";s:9:"adaptives";a:11:
etc etc

at line 1
Request URI: /createAlt.php

and also

the line:
//Header("Location: register.php?mode=update&action=cart");
//Header("Location: register.php?mode=update");
Header("Location: " . $_SERVER['HTTP_REFERER'] );

at around line 52 causes PHP error:
Cannot modify header information - headers already sent by (output started at /var/www/vhosts/qvsdirect.com/httpdocs/include/func/func.db.php:196) in /var/www/vhosts/qvsdirect.com/httpdocs/createAlt.php on line 54

Like I say it seems to work but I would love to get rid of these errors.
__________________
xcart version 4.1.6 Gold
Linux 2.6.9-67.0.20.ELsmp
www.qvsdirect.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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:08 PM.

   

 
X-Cart forums © 2001-2020