Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Could somebody take a look at my "shipping in cart estimator" issue, please?


FixItPete

Recommended Posts

Posted

I have a shipping estimator in cart running on our site. Most of the modification works like it should (it shows rates, etc).

 

HOWEVER, you should be able to click on the ship method you desire and it should retally the totals, etc.

 

In my case, if you click on a different ship method, it still reverts back to the cheapest method.

 

The site is:

 

www.TheBestCandles.com

 

Thanks!

Pete

I find the fun in everything.

  • 2 weeks later...
Posted

Hi Pete,

The checkout_shipping.php page is set to default to the cheapest shipping method here:

 

===========================================================================

// if no shipping method has been selected, automatically select the cheapest method.

// if the modules status was changed when none were available, to save on implementing

// a javascript force-selection method, also automatically select the cheapest shipping

// method if more than one module is now enabled

if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest();

 

============================================================================

 

I don't want to creat an account on your site so I can't look at what is going on specifically, but you would need to modify the code above to get a different sort method, if I am understanding your problem correctly

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...