Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

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.