7 replies [Last post]
aneuryzma's picture
Offline
Joined: 07/06/2010
Juice: 196
Was this information Helpful?

I'm using shipping my Ubercart shop together with Paypal Payment Standard.

I've enabled the shipping module, in order to calculate the shipping costs.

It takes a bit to calculate these costs and if I click on "Proceed" before they are calculated (the loading wheel is still rotating), the checkout page is loaded again and the user needs to reinsert the data.

I was wondering if I can disable the Enable button until when the shipping costs are shown, or if I can speed up their calculation (I actually have only 2 flat shipping rates.. very simple)

thanks

Francois's picture
Offline
Joined: 08/19/2008
Juice: 387
Hmm

You might have another problem. If you only have 2 flat shipping rates it shouldn't take that long to show them... maybe you need new host?

Considering you're basically filling out the entire checkout form and the shipping options are still not showing?

--------
'Twas the end of the world, and you didn't even know it.

aneuryzma's picture
Offline
Joined: 07/06/2010
Juice: 196
Re: Hmm

well, after I've selected the checkbox to state that the billing address is the same of the shipping address, the shipping costs are retrieved in not less than 15 seconds...

Something is wrong probably with my webserver ? It should immediate ?

Francois's picture
Offline
Joined: 08/19/2008
Juice: 387
Not Immediate

Not immediate, but definitely faster than 15 seconds.

To give you an example, one of the sites we run "http://www.craigtaylorshirts.com/" it takes about 2 seconds max. Feel free to go check it out for yourself. The site also uses 2 fixed shipping rates.

Two things you can consider:

- Server issue? You might want to ask your host.
- Is your database hosted on the same server as your site? This can slow things down.

--------
'Twas the end of the world, and you didn't even know it.

aneuryzma's picture
Offline
Joined: 07/06/2010
Juice: 196
Re: Not Immediate

I've installed Drupal on my own VPS. I'm using mysql on the same VPS. I haven't done a lot.. just installed mysql+ php5.2+ lighttpd (web server) on Ubuntu 10.

Should I configure something... I actually have no clue what to do.

Also, maybe this could improve the process: I actually want to hide the shipping selection. I'm using conditional actions to automatically display the correct shipping cost (there is no free shipping option.. I don't get why you kept it on your website by the way.. what's the point ?)

thanks

Francois's picture
Offline
Joined: 08/19/2008
Juice: 387
Shipping

This site offers both free and expedited shipping. All products ship free, but users can get expedited if they're willing to pay. For usability's sake... I've found end users can be extremely stupid... it's better to leave both, so they realise they have the choice. In our case if I left only "expedited" and removed "free" users tend to complain "There's no option for free shipping!!!" So...

You can hide the shipping option either using CSS (won't remove you problem) or checkout panes -> admin/store/settings/checkout/edit/panes.

Your conditional actions might be slowing it down, but I've not used that too much, so it's just a guess.

Other things that might influence speed (just a guess) is the amount of memory available through php.ini or htaccess, but I think ram issues tend to cause bigger problems you'd notice first.

Hope some of this helps.

And remember - end users will only understand the blatantly obvious.

--------
'Twas the end of the world, and you didn't even know it.

aneuryzma's picture
Offline
Joined: 07/06/2010
Juice: 196
Re: Shipping

uhm, so is it is maybeslower because Drupal is computing 3 conditional rules ?

1. Total amount > 250 ---> Free Shipping
2. User in Netherlands ---> Rate 1 Shipping
3. User is abroad ---> Rate 2 Shipping

The point is that I couldn't combine them in 1 rule. Is that correct ? (I know you dont have experience with these rules, maybe somebody else can help).

About the server: I don't think it is an issue.. the website runs ok.. just the 15 seconds to select the shipping is a bit slow... (is maybe Drupal making 3 requests to the server to determine how to apply the rules ?)

thanks

ps. Since the shipping works as a flat tax, I also wanted to display the shipping pane (in this way I solve all my issues, and apply the "shipping Tax" (changing its label). But the issue is that Tax in Ubercart can only be computed with percentages.. no flat tax

thanks

Summit_drupal's picture
Offline
Joined: 12/11/2010
Juice: 137
Re: Re: Shipping

Subscribing, having the same problem of slow calculating. (Also in the Netherlands) Using uc_autocalc_shipping, but still slow, and somehow it seems if language is different, the uc_autocalc_shipping is not working.
Can you also with the Conditional Rules, and Actions take care of automatic filling. I do not quite understand the action part in this?
greetings, Martijn