Jump to content

[SOLVED] how to remove addresses from summary page


Recommended Posts

To remove it, you can change lines 239-271 of shopping-cart.tpl in your theme's directory from:

{if ($carrier->id AND !$virtualCart) OR $delivery->id OR $invoice->id}

   {if $delivery->id}

{l s='Delivery address'}
       {if $delivery->company}{$delivery->company|escape:'htmlall':'UTF-8'}{/if}
{$delivery->lastname|escape:'htmlall':'UTF-8'} {$delivery->firstname|escape:'htmlall':'UTF-8'}
{$delivery->address1|escape:'htmlall':'UTF-8'}
       {if $delivery->address2}{$delivery->address2|escape:'htmlall':'UTF-8'}{/if}
{$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}
{$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}

   {/if}
   {if $invoice->id}

{l s='Invoice address'}
       {if $invoice->company}{$invoice->company|escape:'htmlall':'UTF-8'}{/if}
{$invoice->lastname|escape:'htmlall':'UTF-8'} {$invoice->firstname|escape:'htmlall':'UTF-8'}
{$invoice->address1|escape:'htmlall':'UTF-8'}
       {if $invoice->address2}{$invoice->address2|escape:'htmlall':'UTF-8'}{/if}
{$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}
{$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}

   {/if}
   {if $carrier->id AND !$virtualCart}

{l s='Carrier:'}
       {if isset($carrierPicture)}<img src="{$img_ship_dir}{$carrier->id}.jpg" alt="{l s='Carrier'}" />{/if}
{$carrier->name|escape:'htmlall':'UTF-8'}

   {/if}

{/if}



to:

{*{if ($carrier->id AND !$virtualCart) OR $delivery->id OR $invoice->id}

   {if $delivery->id}

{l s='Delivery address'}
       {if $delivery->company}{$delivery->company|escape:'htmlall':'UTF-8'}{/if}
{$delivery->lastname|escape:'htmlall':'UTF-8'} {$delivery->firstname|escape:'htmlall':'UTF-8'}
{$delivery->address1|escape:'htmlall':'UTF-8'}
       {if $delivery->address2}{$delivery->address2|escape:'htmlall':'UTF-8'}{/if}
{$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}
{$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}

   {/if}
   {if $invoice->id}

{l s='Invoice address'}
       {if $invoice->company}{$invoice->company|escape:'htmlall':'UTF-8'}{/if}
{$invoice->lastname|escape:'htmlall':'UTF-8'} {$invoice->firstname|escape:'htmlall':'UTF-8'}
{$invoice->address1|escape:'htmlall':'UTF-8'}
       {if $invoice->address2}{$invoice->address2|escape:'htmlall':'UTF-8'}{/if}
{$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}
{$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}

   {/if}
   {if $carrier->id AND !$virtualCart}

{l s='Carrier:'}
       {if isset($carrierPicture)}<img src="{$img_ship_dir}{$carrier->id}.jpg" alt="{l s='Carrier'}" />{/if}
{$carrier->name|escape:'htmlall':'UTF-8'}

   {/if}

{/if}
*}

  • Like 2
Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Hi,

How could I remove addresses from the 1st step (summary) of the checkout process in PS 1.5.6.2? It seems is different as earlier PS versions.

These completely unnecessary (I believe), because the customer choose in the next step the needed addresses.

 

adresses_remove_1st_step.jpg

Edited by Denes (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...