Skip to main content

Change shipping order on checkout

13 years 1 day ago #134211 by cboyd213
-- url of the page with the problem -- : coffeeflavorings.com/order/checkout/step/step-1.html
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.16
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : IE 10
-- Error-message(debug-mod must be tuned on) -- : Error_message

How can I show the cheapest shipping method during checkout?

Please Log in or Create an account to join the conversation.

13 years 1 day ago #134233 by Mohamed Thelji
Hi,
There is no option to do that, the only way will be to :
1. only publish the service which have the cheapest price
2. directly edit the content of your shipping plugin

Please Log in or Create an account to join the conversation.

13 years 1 day ago #134259 by cboyd213
Thanks for the reply
You guys should consider changing the order on the next release.
Cheapest shipping cost should always be first.
I went ahead and updated the MySQL/PHP and fixed it but I know your next update will just reverse my changes if you don't update yours.

Please Log in or Create an account to join the conversation.

13 years 1 day ago #134286 by Mohamed Thelji
Ok,
Can you tell me what do you want exactly to do ? because I think that this will easily be done by sorting the $usable_rates variable of the "usps.php" file of your plugin through these lines :
Code:
foreach($rates as $finalRate) { $usable_rates[$finalRate->shipping_id] = $finalRate; }

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum