My SellerDeck Account | Newsletter | Free Trial

Community and Knowledge Base

Go Back   Sellerdeck Community > Knowledge Base > Shipping

Search powered by Google
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
  #1  
Old 22-Nov-2009, 02:28 PM
KB KB is offline
Administrator
Join Date: Nov 2009
Posts: 1,012
Thanks: 0
Thanked 34 Times in 29 Posts
How can I display shipping options as radio buttons?

This change will replace the shipping class drop-down list in the checkout, with a set of radio buttons.

You will need to edit 'ShippingTemplate.pl', which you will find within your 'ShipControl' folder. Open the file in Notepad or an equivalent text editor.

Look for this line

$sSelectHTML = "<SELECT ID='lstClass' NAME='ShippingClass'>\n";

Change it to

# $sSelectHTML = "<SELECT ID='lstClass' NAME='ShippingClass'>\n";

Next, look for this line

$sSelectHTML .= "</SELECT>\n";

and replace it with

# $sSelectHTML .= "</SELECT>\n";

Next, look for

'SELECTED ':

and replace it with

'checked="checked" ':

Finally, look for

$sSelectHTML .= sprintf("<OPTION %s Value='%s'>%s\n",

and replace it with

$sSelectHTML .= sprintf("<input type=\"radio\" name=\"ShippingClass\" %s value=\"%s\">%s<br />\n",
SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 12:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.