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)
-   -   One Page Checkout display change trouble (https://forum.x-cart.com/showthread.php?t=61074)

MrHeeltoe 10-01-2011 05:41 AM

One Page Checkout display change trouble
 
1 Attachment(s)
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>


MrHeeltoe 10-01-2011 06:15 AM

Re: One Page Checkout display change trouble
 
Nevermind, webmaster mode got me again.


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

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