TomatoCart

126540 Downloads
339 users online
TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?

[Solved - Bug]Primary / Default address not being passed to billing and shipping at checkout
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: [Solved - Bug]Primary / Default address not being passed to billing and shipping at checkout
#19238
[Solved - Bug]Primary / Default address not being passed to billing and shipping at checkout 11 Months, 2 Weeks ago Karma: 0
Hello all

I'm not one to ask for help but I've hit a brick wall with this one.

I've noticed that the primary / default address is not being passed to the billing and shipping at checkout, I've tried a couple of things but to be perfectly honest my php skills suck

Has anyone else come across this?

I believe the problem may be with billing_address_details.php (Includes/modules) around line 69+ where the array of addresses is being displayed but the default address ID is not being identified. I'm completely at a loss on how to do this.

Any help, however little will be greatly appreciated.

Cheers

Matt
Sonyphile
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/06/20 01:00 By jack.yin.
The administrator has disabled public write access.
 
#19270
Re:[Pending]Primary / Default address not being passed to billing and shipping at checkout 11 Months, 1 Week ago Karma: 50
Hi Sonyphile,

I have tested the feature according to your report. It does work normally. Please show me two screenshots:

#1 Login into the front end and click the My Account menu. Then click the 'View or change entries in my address book'.

#2 The checkout one page screenshot.

Thanks.
jack.yin
Jack Yin
Team Member
Posts: 2336
graph
User Offline Click here to see the profile of this user
Gender: Male support@tomatocart.com
Last Edit: 2012/06/20 22:26 By jack.yin.
---------------------

Jack Yin

Please help us to spread TomatoCart and tell people that you love TomatoCart!

If you are satisfied with TomatoCart, please follow us at @  
Google+
If you find this thread is useful you can share it @  



To keep updating TomatoCart status in future, Like our Facebook, Google+, LinkedIn page or Follow us on Twitter.

.Facebook: www.facebook.com/pages/TomatoCart/241732152589007
.Google+: plus.google.com/109588253708268031594?prsrc=3
.Linkedin: www.linkedin.com/groups?home=&gid=31...8&trk=anet_ug_hm
.Twitter: twitter.com/tomatocart
The administrator has disabled public write access.
 
#19272
Re:[Pending]Primary / Default address not being passed to billing and shipping at checkout 11 Months, 1 Week ago Karma: 0
Hi Jack

Here are the screen shots you requested.

i217.photobucket.com/albums/cc193/sonyphile/checkout.jpg

i217.photobucket.com/albums/cc193/sonyphile/addressbook.jpg

Can you point me the the right direction, where does this operation take place? I've been looking in billing_address_details.php line 69-82.

Code:

$Qaddresses = osC_AddressBook::getListing();
      $address = array();
      
      while ($Qaddresses->next()) {
        $address[] = array('id' => $Qaddresses->valueInt('address_book_id'), 'text' => osC_Address::format($Qaddresses->toArray(), ', ') );
      }
  
      if($create_billing_address == null) {
        $create_billing_address = false;
      }
      
      echo osc_draw_pull_down_menu('sel_billing_address', $address);



Cheers

Matt
Sonyphile
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#19305
Re:[Pending]Primary / Default address not being passed to billing and shipping at checkout 11 Months, 1 Week ago Karma: 50
Hi Sonyphile,

The osC_AddressBook class is located in includes/classes/address_book.php. I have seen the screenshots. When the user click the drop down menu, the primary address should be displayed. Do you mean that the primary address should be displayed at first as the default address?
jack.yin
Jack Yin
Team Member
Posts: 2336
graph
User Offline Click here to see the profile of this user
Gender: Male support@tomatocart.com
Last Edit: 2012/06/20 22:44 By jack.yin.
---------------------

Jack Yin

Please help us to spread TomatoCart and tell people that you love TomatoCart!




To keep updating TomatoCart status in future, Like our Facebook, Google+, LinkedIn page or Follow us on Twitter.

.Facebook: www.facebook.com/pages/TomatoCart/241732152589007
.Google+: plus.google.com/109588253708268031594?prsrc=3
.Linkedin: www.linkedin.com/groups?home=&gid=31...8&trk=anet_ug_hm
.Twitter: twitter.com/tomatocart
The administrator has disabled public write access.
 
#19322
Re:[Pending]Primary / Default address not being passed to billing and shipping at checkout 11 Months, 1 Week ago Karma: 0
Hi Jack

Yeah that's correct, the primary address should be the first one in the drop down list. However this doesn't happen for me. Sorry I didn't explain it very well.

Cheers

Matt
Sonyphile
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#19329
Re:[Pending]Primary / Default address not being passed to billing and shipping at checkout 11 Months, 1 Week ago Karma: 0
Yeah absolutely right Matt!!
Thanks for this info........
electronic billing 
mppglobal
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to top Page: 12

Latest Blog Post

TomatoCart v1.1.7 to v1.1.8 Upgrade Guide!

The upgrade guide is a step-by-step tutorial to help users to upgrade TomatoCart v1.1.7 to v1.1.8. If you have not yet updated to v1.1.7, please review its upgrade guide before applying these changes. [...]

By TomatoCart | august 21, 2012

contact_us

info@tomatocart.com
partner@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription