Hello al I cant find this on the forum so I make a new one,
I want to remove the “Bill To” in the checkout is this possible CS cart gives the option to use shipping as billing adres but I just want that billing is completely gone and that you only see the Shipp to function. see image below [attachment=4518:Naamloos.png]
Included the full code in step two.
Maybe could someone remove the Bill to and all fields and send the new one below?
Thanks in advance!
[quote] {* $Id: step_two.tpl 10287 2010-07-30 12:38:08Z angel $ *}
2.
{if $complete && !$edit}
![]()
{/if}
{$lang.address}
{if $smarty.request.profile == "new"}
{assign var="hide_profile_name" value=false}
{else}
{assign var="hide_profile_name" value=true}
{/if}
{if !$edit}
{include file="views/profiles/components/multiple_profiles.tpl" hide_profile_name=$hide_profile_name hide_profile_delete=true profile_id=$cart.profile_id create_href="checkout.checkout?edit_step=step_two&from_step=$edit_step&profile=new"}
{else}
{include file="views/profiles/components/multiple_profiles.tpl" show_text=true hide_profile_name=$hide_profile_name hide_profile_delete=true profile_id=$cart.profile_id create_href="checkout.checkout?edit_step=step_two&from_step=$edit_step&profile=new"}
{/if}
{if $settings.General.address_position == "billing_first"}
{assign var="first_section" value="B"}
{assign var="first_section_text" value=$lang.billing_address}
{assign var="sec_section" value="S"}
{assign var="sec_section_text" value=$lang.shipping_address}
{assign var="ship_to_another_text" value=$lang.text_ship_to_billing}
{assign var="body_id" value="sa"}
{else}
{assign var="first_section" value="S"}
{assign var="first_section_text" value=$lang.shipping_address}
{assign var="sec_section" value="B"}
{assign var="sec_section_text" value=$lang.billing_address}
{assign var="ship_to_another_text" value=$lang.text_billing_same_with_shipping}
{assign var="body_id" value="ba"}
{/if}
{if !$edit}
{if $profile_fields[$first_section]}
{/if}
{if $profile_fields[$sec_section]}
{/if}
{include file="views/profiles/components/step_profile_fields.tpl" section=$first_section text=$first_section_text} |
{if $cart.ship_to_another} {include file="views/profiles/components/step_profile_fields.tpl" section=$sec_section text=$sec_section_text} {else} {$sec_section_text}: {$ship_to_another_text} {/if} |
{else}
{if $profile_fields[$first_section]}
{include file="views/profiles/components/profile_fields.tpl" section=$first_section body_id="" ship_to_another="Y" title=$first_section_text}
{/if}
{if $profile_fields[$sec_section]}
{include file="views/profiles/components/profile_fields.tpl" section=$sec_section body_id=$body_id address_flag=$profile_fields|fn_compare_shipping_billing ship_to_another=$cart.ship_to_another title=$sec_section_text}
{/if}
{include file="buttons/button.tpl" but_name="dispatch[checkout.update_steps]" but_text=$lang.continue}
{/if}
{if $complete && !$edit}
{include file="buttons/button.tpl" but_meta="cm-ajax" but_href="checkout.checkout?edit_step=step_two&from_step=$edit_step" but_rev="checkout_steps" but_text=$lang.change but_role="tool"}
{/if}