Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Methods are displaying wrong info


Guest

Recommended Posts

does anyone have the shipping calculator installed and working correctly? i need to be able to display the shipping prices that the calculator displays in my checkout process (checkout_shipping.php). As of now, the shipping calc displays what the total price of shipping would be based on the weight of all the items in the cart. But, in my checkout process, the shipping prices fall back to some default value (and stays that way no matter how many items are added into the cart). Yet when a customer reaches the final checkout confirmation page, the shipping cost is displayed with the correct value. I don't want to mislead my customers so can someone point me in the right direction! The site went live this morning!

Link to comment
Share on other sites

problem solved. since im displaying the shipping options in create_account.php i had to add these lines before I got all my shipping quotes.

 

// weight and count needed for shipping !
$total_weight = $cart->show_weight();
$total_count = $cart->count_contents();

 

and that did the trick

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...