![]() |
Change shipping options to radio buttons instead of a dropdown box
I have had a lot of customers recently who want to cancel their order because the shipping cost is too high. It turns out they are not realizing they can change the shipping method since the options are hiding in the drop down box. I think I found the relevant code to chance in skin1/customer/main/cart_totals.tpl but I am not sure how to translate it into radio box format...
starts at line 83 Code:
<SELECT name="shippingid" onchange="document.cartform.submit()"> What if I changed it to this: Code:
Maybe? Or not? |
Re: Change shipping options to radio buttons instead of a dropdown box
The shipping options use radio buttons by default for UPS (if it is the only method), so what you can do is simply change the {if} statement in the template for shipping display and get rid of the part that says 'IF UPS is turned on'.
|
Re: Change shipping options to radio buttons instead of a dropdown box
So in cart_totals.tpl, if I delete this will it work?
Code:
{if $active_modules.UPS_OnLine_Tools ne "" and $config.Shipping.realtime_shipping eq "Y" and $config.Shipping.use_intershipper ne "Y" and $current_carrier eq "UPS" and $force_delivery_dropdown_box ne "Y"} |
Re: Change shipping options to radio buttons instead of a dropdown box
Is that the code you were referring to, Padraic?
|
Re: Change shipping options to radio buttons instead of a dropdown box
Yea, that's the part....just change or remove the {if} statement having to do with UPS.
|
Re: Change shipping options to radio buttons instead of a dropdown box
can you post the code exactly. I tried removing the if statement, but am having no luck.
|
Re: Change shipping options to radio buttons instead of a dropdown box
4.1.9 is different, where in the checkout process are you looking?
|
Re: Change shipping options to radio buttons instead of a dropdown box
Here is the first part of code on the page.
Quote:
|
Re: Change shipping options to radio buttons instead of a dropdown box
IT is this bit:
{if $active_modules.UPS_OnLine_Tools ne "" and $config.Shipping.realtime_shipping eq "Y" and $config.Shipping.use_intershipper ne "Y" and $current_carrier eq "UPS" and $force_delivery_dropdown_box ne "Y"} Replace it with this instead and see if it works. MAKE A BACKUP FIRST! {if $config.Shipping.use_intershipper ne "Y"} |
Re: Change shipping options to radio buttons instead of a dropdown box
pretty cool. thank you !!!
|
All times are GMT -8. The time now is 07:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.