| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change shipping options to radio buttons instead of a dropdown box | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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:
What if I changed it to this: Code:
Maybe? Or not?
__________________
http://www.fractalspin.com nerdy jewelry, geekcessories, bags, tshirts and other neat stuff Xcart Version: 4.0.17, PHP: 4.3.11, MySQL server: 4.1.13-standard-log |
|||||||
#2
|
|||||||
|
|||||||
![]() 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'.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() So in cart_totals.tpl, if I delete this will it work?
Code:
__________________
http://www.fractalspin.com nerdy jewelry, geekcessories, bags, tshirts and other neat stuff Xcart Version: 4.0.17, PHP: 4.3.11, MySQL server: 4.1.13-standard-log |
|||||||
#4
|
|||||||
|
|||||||
![]() Is that the code you were referring to, Padraic?
__________________
http://www.fractalspin.com nerdy jewelry, geekcessories, bags, tshirts and other neat stuff Xcart Version: 4.0.17, PHP: 4.3.11, MySQL server: 4.1.13-standard-log |
|||||||
#5
|
|||||||
|
|||||||
![]() Yea, that's the part....just change or remove the {if} statement having to do with UPS.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() can you post the code exactly. I tried removing the if statement, but am having no luck.
__________________
Version 4.1.9 |
|||||||
#7
|
|||||||
|
|||||||
![]() 4.1.9 is different, where in the checkout process are you looking?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() Here is the first part of code on the page.
Quote:
__________________
Version 4.1.9 |
|||||||
#9
|
|||||||
|
|||||||
![]() 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"}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||
|
|||||||
![]() pretty cool. thank you !!!
__________________
Version 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|