| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Save Multiple Ship-to Addresses Completed | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
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) |
|||||||
#42
|
|||||||
|
|||||||
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) |
|||||||
#43
|
|||||||
|
|||||||
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) |
|||||||
#44
|
|||||||
|
|||||||
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 |
|||||||
#45
|
|||||||||
|
|||||||||
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 |
|||||||||
#46
|
|||||||
|
|||||||
Re: Save Multiple Ship-to Addresses Completed
Anyone know if this will work in 4.1.8?
__________________
4.710 |
|||||||
#47
|
|||||||
|
|||||||
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 |
|||||||
#48
|
|||||||
|
|||||||
Re: Save Multiple Ship-to Addresses Completed
Hi Instinctual,
Will it work on 4.1.9 and 4.1.11?Thank you. |
|||||||
#49
|
|||||||
|
|||||||
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. |
|||||||
#50
|
|||||||||
|
|||||||||
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. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|