sachin427 Posted October 10, 2010 Share Posted October 10, 2010 I am trying to remove the addresses displayed at the bottom of the summary page when you click on cart. It kind of seems redundant given that the next page it asks to specify addresses! Link to comment Share on other sites More sharing options...
rocky Posted October 11, 2010 Share Posted October 11, 2010 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} *} 2 Link to comment Share on other sites More sharing options...
sachin427 Posted October 11, 2010 Author Share Posted October 11, 2010 Thanks so much rocky! Your posts on other threads have been really useful as well. Is {* the same as /* ? Link to comment Share on other sites More sharing options...
rocky Posted October 11, 2010 Share Posted October 11, 2010 Yes, in Smarty templates {* is the equivalent of /* in PHP. Link to comment Share on other sites More sharing options...
monstrel Posted May 29, 2012 Share Posted May 29, 2012 Hi Rocky, Similar with this topic, how can I remove billing address in page "myshop.com/en/order?step=1" I want to display only delivery address. Thanks in advance. Link to comment Share on other sites More sharing options...
Denes Posted February 23, 2014 Share Posted February 23, 2014 (edited) 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. Edited February 23, 2014 by Denes (see edit history) Link to comment Share on other sites More sharing options...
Denes Posted February 25, 2014 Share Posted February 25, 2014 OK, I could remove from the 1st step of checkout the addresses (I remove from the shopping-cart.tpl) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now