Closed (won't fix)
Project:
Ubercart Addresses
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Mar 2009 at 16:35 UTC
Updated:
31 Jan 2011 at 16:29 UTC
see description here:
http://www.ubercart.org/forum/bug_reports/9877/if_billing_information_ch...
Comments
Comment #1
freixas commentedFinally had time to look into this.
There is a better work-around than what you came up with.
Go to Home » Administer » Store administration » Configuration » Shipping Quote Settings » Edit. Enable "Prevent the customer from completing an order if a shipping quote is not selected."
Go ahead and turn on all the uc_addresses auto-fill options and try to get past the shipping calculation. You won't be able to.
If you don't want to require customers to click on the Calculate Shipping button, then add the Auto-calculate Shipping module.
It seems like the way for me to solve this problem is to incorporate the Auto-calculate Shipping module code and automatically activate it if the delivery address is auto-filled and the "Prevent the customer..." option is not selected. Or maybe I should put a dependency on the Auto-calculate Shipping module? Or...should I just document this solution?
Comment #2
DLZJ commentedHi Freixas,
I am using Drupal 6 and Ubercart 2. I am having a problem here because the shipping charges are not calculated automatically. It only calculates automatically for the first time, but I need it to calculate whenever customer makes a change in the address field. I am using different flatrate for different states. I have learnt that you are using "Auto-Calculate Shipping Module". May I know where can I find it?
Thanks in advance.
Best Regards,
Dennis
Comment #3
freixas commentedHi, Dennis,
Rule 1: Don't change the title of a bug report.
Rule 2: Don't change the version for a bug report.
I don't appreciate having to reset the bug report's fields or answering a question that a Google search could easily take care of.
Comment #4
leetamus commentedthanks freixas, i'll check out the auto calculate module ;)
Comment #5
freixas commentedIf anyone writes a patch, I'll be happy to look at it. Otherwise, I'll assume the work-arounds are sufficient—I'm just short on time.
Comment #6
summit commentedBookmarking, auto-calcululate shipping not working in every circumstances.
greetings, Martijn