Quote:
Originally Posted by ShopCart
Did anyone find a solution to the double listing problem?
|
I think I've found out why. The One Page Checkout module makes a call to the X-Cart function func_get_shiping_methods_list in the checkout_one_shipping.php file, and merges the results with the $shipping PHP variable. Unfortunately, $shipping already has values at this point (or gets them later - I haven't dug far enough to know yet). So, we get duplicate shipping methods.
You can temporarily test this by commenting out the offending line in the checkout_one_shipping.php file, however I'm sure that will break something else.
I'll probably add a hack to remove the duplicates from the $shipping array in the shipping_estimator.php file that BCSE supplied with their free mod, unless someone else has a better idea (and I'm sure there is, I just haven't dug far enough).