The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Billing address overwriting shipping address

cbootcboot Member
in Help edited March 2013
We just recently updated to the 1.1 beta, and it looks as thought there might be an error at checkout. When you confirm payment, the billing address writes over the shipping address fields.

We’ve had two customers call saying we shipped to the wrong address (their billing address).

Any ideas? We're pretty worried about this problem
  • fc_adamfc_adam FoxyCart Team

    That is indeed a bug, sorry for any inconvenience there - I've already got a fix sorted, and will ask it to be pushed through QA as soon as possible - but if you'd like to add in a fix for it now, add this to your checkout template before you call the requireShippingAddress() function.
    <script type="text/javascript">
    FC.checkout.requireShippingAddress = function() {
    	if (FC.checkout.config.hasShippableProducts && !FC.checkout.config.hasMultiship) {
    		jQuery("#fc_use_different_address").hide().find("input").prop("checked", true);
  • cbootcboot Member
    Thank you for the quick response on this. I put the code snippet in the checkout template, and should hopefully see some results shortly.
  • fc_adamfc_adam FoxyCart Team

    With how you've included it there, you'll want to remove the <script> tags from what I pasted above. It's breaking your template as it stands
  • cbootcboot Member
    Aghh.. my mistake. Thank you for catching that.
Sign In or Register to comment.