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

One Page Checkout display change trouble

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-01-2011, 05:41 AM
 
MrHeeltoe MrHeeltoe is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 206
 

Default One Page Checkout display change trouble

I installed alteredcart's module but the shipping information is not displaying under the shipping header. Code is here and screenshot attached, thanks!!!


Code:
<table width="100%"> <tr> <td class="checkout_one_titles" width="50%" valign="top"><div class="steps"></div> {$lng.lbl_billing} <p style="10px"> <b>Credit Card Orders:</b> Enter the address where your account statement mails to.<br><u><a href="http://www.heeltoeauto.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=3&nav=0,2" target="blank">View this link for more details.</a></u><p> {if $login} <span style="font-size:12px; margin-left:15px;"> <img src="{$ImagesDir}/checkout_one-address-book.png" style="vertical-align:middle;" alt="" /> <a href="popup_address.php?mode=select&amp;for=cart&amp;type=B" onclick="javascript: popupOpen('popup_address.php?mode=select&amp;for=cart&amp;type=B'); return false;" title="{$lng.lbl_address_book|escape}">{$lng.lbl_address_book}</a> </span> {/if} </td> <td class="checkout_one_titles" width="50%" valign="top">{if $display_shipping}<div class="steps step-2"></div> {$lng.lbl_shipping} <span style="font-size:smaller;">({$lng.lbl_co_optional})</span>{/if} {if $login} <span style="font-size:12px; margin-left:15px;"> <img src="{$ImagesDir}/checkout_one-address-book.png" style="vertical-align:middle;" alt="" /> <a href="popup_address.php?mode=select&amp;for=cart&amp;type=S" onclick="javascript: popupOpen('popup_address.php?mode=select&amp;for=cart&amp;type=S'); return false;" title="{$lng.lbl_address_book|escape}">{$lng.lbl_address_book}</a> </span> {/if} </td> </tr> <tr> <td style="border-right: 1px solid #999;" width="50%"> {if !$version44} {include file="modules/Checkout_One/checkout_one_bill_fields.tpl"} {else} {include file="modules/Checkout_One/checkout_one_address_fields.tpl" name_prefix='b_' id_prefix='b_' address=$userinfo.address.B show_email=true} {/if} <br /> </td> <td valign="top" width="50%"> {if $egoods_in_cart && !$display_shipping} {include file="modules/Checkout_One/checkout_one_egoods.tpl"} {/if} <!-- Begin Shipping --> <div id="checkoutShippingSelection" {if $display_shipping eq ''}style="display:none;"{/if}> <table> <tr> <td nowrap="nowrap">{$lng.lbl_co_ship_to}:</td> <td>&nbsp;</td> <td> {if $config.Checkout_One.co_ship2radio eq 'Y'} <input type="hidden" id="ship2diff" name="ship2diff" value="{$userinfo.ship2diff}" /> <input type="radio" name="ship2diff-radio" id="ship2diff_radioN" value="N" {if $userinfo.ship2diff eq 'N' || !$display_shipping_fields} checked="checked"{/if} onclick="javascript:checkoutHideShippingRegFields(0);" /> {$lng.lbl_co_ship_my_billing}<br /> <input type="radio" name="ship2diff-radio" id="ship2diff_radioY" value="Y" {if $userinfo.ship2diff eq 'Y' || $display_shipping_fields} checked="checked"{/if} onclick="javascript:checkoutHideShippingRegFields(1);" /> {$lng.lbl_co_ship_a_different}<br /> {else} <select name="ship2diff" id="ship2diff" onchange="javascript:checkoutHideShippingRegFields(this.selectedIndex);"> <option value="N">{$lng.lbl_co_ship_my_billing}</option> <option value="Y" {if $userinfo.ship2diff eq 'Y' || $display_shipping_fields} selected="selected"{/if}>{$lng.lbl_co_ship_a_different}</option> </select> {/if} </td> </tr> </table> {if !$version44} <b>If you choose an alternate shipping address:</b> Be prepared to fax or email verification that the address is indeed valid for you. This is a fraud prevention measure.<u><a href="http://www.heeltoeauto.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=8&nav=0,3" target="blank">View this link for more details.</a></u><p> {include file="modules/Checkout_One/checkout_one_ship_fields.tpl"} {else} <div id="shipping_address" {if $userinfo.ship2diff ne 'Y' && !$display_shipping_fields}style="display:none;"{/if}> <b>If you choose an alternate shipping address:</b> Be prepared to fax or email verification that the address is indeed valid for you. This is a fraud prevention measure.<u><a href="http://www.heeltoeauto.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=8&nav=0,3" target="blank">View this link for more details.</a></u><p> {include file="modules/Checkout_One/checkout_one_address_fields.tpl" name_prefix='s_' id_prefix='s_' address=$userinfo.address.S} </div> {/if} </div> <!-- End Shipping --> </td> </tr> </table>
Attached Thumbnails
Click image for larger version

Name:	opc_checkout display.png
Views:	158
Size:	46.9 KB
ID:	2726  
Reply With Quote
  #2  
Old 10-01-2011, 06:15 AM
 
MrHeeltoe MrHeeltoe is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 206
 

Default Re: One Page Checkout display change trouble

Nevermind, webmaster mode got me again.
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 03:52 PM.

   

 
X-Cart forums © 2001-2020