X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   shipping options drop down menu = bad!! (https://forum.x-cart.com/showthread.php?t=29524)

ARW VISIONS 03-08-2007 02:52 PM

shipping options drop down menu = bad!!
 
I don't want the shipping options to be chosen from a drop down menu. How dop I get them all to display and then have the customer pick a radio button? Is this possible?

carpeperdiem 03-08-2007 03:15 PM

Re: shipping options drop down menu = bad!!
 
moved to Shipping Issues

ARW VISIONS 03-08-2007 03:27 PM

Re: shipping options drop down menu = bad!!
 
its not reeeeeeeealy a shipping issue but a layout issue. Soooooooooo... :D/

carpeperdiem 03-08-2007 03:37 PM

Re: shipping options drop down menu = bad!!
 
Ok, no problem... back to template editing...

ARW VISIONS 03-08-2007 03:39 PM

Re: shipping options drop down menu = bad!!
 
doesn't matter to me where it's posted... any idea how to change it??? :mrgreen::mrgreen:

balinor 03-08-2007 03:50 PM

Re: shipping options drop down menu = bad!!
 
If you look at cart_totals.tpl, you'll see some {if} statements in there for UPS. Basically it says, if UPS is turned on and the only method, use radio buttons. Play around with those {if} statements and you can get the radio buttons to show for all methods.

ARW VISIONS 03-08-2007 05:08 PM

Re: shipping options drop down menu = bad!!
 
grasiass senioreator!

joelrich 09-11-2007 05:46 PM

Re: shipping options drop down menu = bad!!
 
can you tell me exactly what you did to change this so i can do it as well? Thank you!

Dongan 10-18-2007 09:53 PM

Re: shipping options drop down menu = bad!!
 
Quote:

Originally Posted by joelrich
can you tell me exactly what you did to change this so i can do it as well? Thank you!

skin1/customer/main/cart.tpl

change this code

<SELECT name="shippingid" onchange="document.cartform.submit()">
{section name=ship_num loop=$shipping}
<OPTION value="{$shipping[ship_num].shippingid}" {if $shipping[ship_num].shippingid eq $cart.shippingid}selected{/if}>{$shipping[ship_num].shipping|trademark:$insert_trademark:"alt"}{if $config.Appearance.display_shipping_cost eq "Y" and ($login ne "" or $config.General.apply_default_country eq "Y" or $cart.shipping_cost gt 0)} ({include file="currency.tpl" value=$shipping[ship_num].rate}){/if}</OPTION>
{/section}
</SELECT>

to

{section name=ship_num loop=$shipping}
<INPUT type="radio" name="shippingid" value="{$shipping[ship_num].shippingid}" {if $shipping[ship_num].shippingid eq $cart.shippingid}checked{else}onclick="document.ca rtform.submit()"{/if}>{$shipping[ship_num].shipping|trademark:$insert_trademark:"alt"}{if $config.Appearance.display_shipping_cost eq "Y" and ($login ne "" or $config.General.apply_default_country eq "Y" or $cart.shipping_cost gt 0)} ({include file="currency.tpl" value=$shipping[ship_num].rate}){/if}<br />
{/section}

joelrich 10-19-2007 06:14 PM

Re: shipping options drop down menu = bad!!
 
Thank you for your help Dongan. I changed the code on the page but it did not change anything at all. Please go to my site if you don't mind and see what it looks like on the page if you have a minute after adding something to the cart.

www.topsupplementsonline.com


All times are GMT -8. The time now is 11:21 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.