Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

can anyone fix a WP Ecommerce bug for me? WordPress

  • SOLVED

Running an ecommerce shop on Wordpress using wp-ecommerce plugin from www.instinct.co.nz. the support is a bit rubbish and a lot of people are having the same problem as me in the forum.

since upgrading to 2.9.1, the plugin has begun to give problems on checkout. the site is here:

http://www.webpetstore.co.uk/

the issue is to do with shipping. I'm using weight rate shipping, with free shipping set for orders over £95.

until the upgrade everything was working fine. now I'm getting the message: "You must select a shipping method, otherwise we cannot process your order." when I put in an order over £95.

But because the order is over £95, no shipping option is showing.

Anyone out there fancy taking a rummage in the code and seeing if they can fix this? Let me know if you need any more information.

As you can see here, I'm not the only one struggling so it's not a configuration issue: http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla:en-GB:official&hs=ZEK&tbo=1&output=search&q=%22You%20must%20select%20a%20shipping%20method%2C%20otherwise%20we%20cannot%20process%20your%20order.%22%20with%20free%20shipping&tbs=rltm:1&ei=yNBUS9GoMZTu0gTa0IWtCg&sa=X&oi=tool&resnum=1&ct=tlink&ved=0CBQQpwU

thanks in advance!

EDIT:

@brandon what do you need?

Answers (2)

2010-01-18

Utkarsh Kukreti answers:

Goto line 468 on wpsc-includes/ajax.functions.php
Replace

if (get_option('do_not_use_shipping') == 0 && ($wpsc_cart->selected_shipping_method == null || $wpsc_cart->selected_shipping_option == null)) {

by

if (wpsc_uses_shipping() && get_option('do_not_use_shipping') == 0 && ($wpsc_cart->selected_shipping_method == null || $wpsc_cart->selected_shipping_option == null)) {



This should probably work. Message me from my profile if you face any problems.

2010-01-18

Brandon Dove answers:

Send me a message with the credentials and I'll take a look.