Comments

freixas’s picture

Assigned: Unassigned » freixas

Finally 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?

DLZJ’s picture

Title: If billing information on checkout is autofilled, user can purchase without shipping being added - yikes » Where shall I find the "Auto-Calculate Shipping Module"?
Version: 5.x-2.0 » 6.x-1.x-dev

Hi 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

freixas’s picture

Title: Where shall I find the "Auto-Calculate Shipping Module"? » If billing information on checkout is autofilled, user can purchase without shipping being added - yikes
Version: 6.x-1.x-dev » 5.x-2.x-dev

Hi, 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.

leetamus’s picture

thanks freixas, i'll check out the auto calculate module ;)

freixas’s picture

Status: Active » Closed (won't fix)

If 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.

summit’s picture

Bookmarking, auto-calcululate shipping not working in every circumstances.
greetings, Martijn