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

WP ecommerce shipping not dynamically adding to subtotal WordPress

  • SOLVED

Hi,

Our live test site is www.store.jibbaroo.com. Latest WP install and WP ecommerce version. Purchased the theme called "eggo" from Splashingpixels.com, have modified it by creating a custom CCS file and custom background images etc. Talked with Roy Ho at Splashing Pixels, he feels this is a wp-ecommerce issue.

Problem is, I put a product in my cart, continue to shipping. I am using USP shipping, and the quotes come in… But…the selection a user makes with a radio button does not dynamically add to the sub-total at the bottom of the page. I can change the radio button selection, but shipping method really does not get selected. So….even if I continue anyway, I get cycled back with an error note calling the user to select a shipping method. Stuck!!!

The other is maybe related. If I put a down loadable product in my cart, shipping quotes don't come in and I can continue and buy the product….BUT….the "select same as billing for shipping option" comes up for a product that does not have shipping?!!!

Info: tax is set to billing state, I have tried several other tax settings and that does not seem to affect either problem. I have tried optimizing the database with phpmyadmin, optimize commands, no change.

Stuck….Ken

Answers (3)

2012-07-20

Manoj Raj answers:

I will have a look into your code and try to correct the problem...


Manoj Raj comments:

Your website is too slow for me... I have registered with my mail id... Will send you the mail Id now...


Manoj Raj comments:

Hi Kenneth,

I have sent you a personal message with my mail id... Give me some privileges to have a look at your theme files..


Manoj Raj comments:

I have a direction now after looking into the original theme's demo... Can you let me inspect the theme files? or send me the theme files to my personal mail id... I will have a look into them and fix the problem accordingly...


Kenneth Karsten comments:

OK,

I will set make you an admin so you can see the dashboard


Kenneth Karsten comments:

OK,

I have you set as an admin, now. And...yes the site is extremely slow. Would appreciate help with this as well.


Ken


Kenneth Karsten comments:

Raj,

I sent you two zipped files. One for the theme, and then one for a child theme from it.


Ken


Manoj Raj comments:

Someother is working on your theme now i guess... I just checked... Shall i wait for him to finish? if he is not able to make it, i will try my hands in it... I will collect some knowledge online about the framework in detail...


Kenneth Karsten comments:

Yes, I am. There was an update to the theme. The theme author thought I should try that, so I worked on it with a localhost (MAMP), then uploaded it. Trying another version/tweek now.

I'll send you a copy of it. Same theme, version 2.1, from 2.03.

I don't think it's going to work. I'll let you know when I'm out.


Manoj Raj comments:

ya okay Kenneth


Kenneth Karsten comments:

OK,

Sent you the version 2.1 eggo theme. It's 11MByte so hope you get it. I'll sign out so you can work on this with out changes from me. Thanks,


Ken


Kenneth Karsten comments:

Manoj,

I posted your effort so far in discussions. Here it is below. Seems like no one else is able to work on it for now. Since you spent time to get at least this far, I am going to vote the $$ to you. No one else is answering.

Your notes below:

Hi Kenneth,



I am really sorry for wasting your time. I have tried exploring the core concepts and it is too hard for me to fix it...Please hand over the work to someone else.

I feel really sorry for wasting your valuable time. Where the "selected option" goes wrong is with the "WP eCommerce" wpsc_update_shipping_price() function

When you track the function it will guide the Top experts where exactly the problem is... It should be relatively easy for the Top Experts.

When you click the radio button, it will post the values of the shipping method and function to the wpsc_update_shipping_price() located in wpsc-includes\ajax.functions.php

But the response from the server doesn't change any of the values in the page...It gives the following response which is gonna do nothing with any of the elements in the page





if(jQuery('.pricedisplay.checkout-shipping .pricedisplay')){

jQuery('.pricedisplay.checkout-shipping > .pricedisplay:first').html("<span class='pricedisplay'>&#036;0.00</span>");

jQuery('.shoppingcart .pricedisplay.checkout-shipping > .pricedisplay:first').html("<span class='pricedisplay'>&#036;0.00</span>");

} else {

jQuery('.pricedisplay.checkout-shipping').html("<span class='pricedisplay'>&#036;0.00</span>");}jQuery('.pricedisplay.checkout-total').html("<span class='pricedisplay'>&#036;12.99</span>");





Cheers,

Manoj.


Kenneth Karsten comments:

I got your other note, to make the one change below....did that, no difference. I think I had tried / fixed that one before too. I guess it snuck back in somehow.


Change the following line found in wpsc-cart_widget.php(in your eggo theme)

From
<td class="pricedisplays checkout-shipping" colspan='5'>

to

<td class="pricedisplay checkout-shipping" colspan='5'>

2012-07-20

Agus Setiawan answers:

with your permission, please let me try to fix this problem. let me login to your dashboard.

thank you.

----------------------------------

already registered : user name : agus
email : [email protected]


Kenneth Karsten comments:

Register for the site and let me know when you have, I can then set your permissions to admin. Let me know when your registered. I'll be working this issue the next three days.


Kenneth Karsten comments:

Are you still available to work on this?

2012-07-20

Arnav Joy answers:

Hi Kenneth,

For this work , I have to check your files and admin panel .

if you are ready and no other one is working then you can send me pm.

PS:But please make sure wpquestions is not responsible for any of the changes done by a third party.

-Arnav


Kenneth Karsten comments:

Hi Arnav,

You can log in, register, then I can make you an admin. What do you mean by PM?


Ken


Kenneth Karsten comments:

Can you still help me with this?