Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

shipping options drop down menu = bad!!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-08-2007, 02:52 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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?
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 03-08-2007, 03:15 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

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

moved to Shipping Issues
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 03-08-2007, 03:27 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

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

its not reeeeeeeealy a shipping issue but a layout issue. Soooooooooo...
__________________
xcart 5.1.2
Reply With Quote
  #4  
Old 03-08-2007, 03:37 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

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

Ok, no problem... back to template editing...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 03-08-2007, 03:39 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

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

doesn't matter to me where it's posted... any idea how to change it???
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 03-08-2007, 03:50 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 03-08-2007, 05:08 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

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

grasiass senioreator!
__________________
xcart 5.1.2
Reply With Quote
  #8  
Old 09-11-2007, 05:46 PM
  joelrich's Avatar 
joelrich joelrich is offline
 

Advanced Member
  
Join Date: Jun 2007
Location: Cape Cod, Massachusetts, USA
Posts: 54
 

Default 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!
__________________
Katie Carron
Cape Cod Nutrition Corner
www.capecodnutrition.com
Top Supplements Online
www.topsupplementsonline.com
X-Cart Gold 4.1.7
Reply With Quote
  #9  
Old 10-18-2007, 09:53 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default 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}
Reply With Quote
  #10  
Old 10-19-2007, 06:14 PM
  joelrich's Avatar 
joelrich joelrich is offline
 

Advanced Member
  
Join Date: Jun 2007
Location: Cape Cod, Massachusetts, USA
Posts: 54
 

Default 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
__________________
Katie Carron
Cape Cod Nutrition Corner
www.capecodnutrition.com
Top Supplements Online
www.topsupplementsonline.com
X-Cart Gold 4.1.7
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:06 AM.

   

 
X-Cart forums © 2001-2020