Jump to content

[RISOLTO] Togliere campi testo dal carrello


Recommended Posts

Allora per la prima parte l'ho trovato...
Vai su cartella_prestashop/themes/default-bootstrap/modules/blockcart e modifica il file blockcart.tpl

 

Cancella le righe in rosso. (Ricordati di fare sempre un backup del file) 

<div class="layer_cart_row">
					<strong class="dark">
						{l s='Total products' mod='blockcart'}
						{if $priceDisplay == 1}
							{l s='(tax excl.)' mod='blockcart'}
						{else}
							{l s='(tax incl.)' mod='blockcart'}
						{/if}
					</strong>
					<span class="ajax_block_products_total">
						{if $cart_qties > 0}
							{convertPrice price=$cart->getOrderTotal(false, Cart::ONLY_PRODUCTS)}
						{/if}
					</span>
				</div>
	
				{if $show_wrapping}
					<div class="layer_cart_row">
						<strong class="dark">
							{l s='Wrapping' mod='blockcart'}
							{if $priceDisplay == 1}
								{l s='(tax excl.)' mod='blockcart'}
							{else}
								{l s='(tax incl.)' mod='blockcart'}
							{/if}
						</strong>
						<span class="price cart_block_wrapping_cost">
							{if $priceDisplay == 1}
								{convertPrice price=$cart->getOrderTotal(false, Cart::ONLY_WRAPPING)}
							{else}
								{convertPrice price=$cart->getOrderTotal(true, Cart::ONLY_WRAPPING)}
							{/if}
						</span>
					</div>
				{/if}
				<div class="layer_cart_row">
					<strong class="dark">
						{l s='Total shipping' mod='blockcart'} {l s='(tax excl.)' mod='blockcart'}
					</strong>
					<span class="ajax_cart_shipping_cost">
						{if $shipping_cost_float == 0}
							{l s='Free shipping!' mod='blockcart'}
						{else}
							{$shipping_cost}
						{/if}
					</span>
				</div>
				{if $show_tax && isset($tax_cost)}
					<div class="layer_cart_row">
						<strong class="dark">{l s='Tax' mod='blockcart'}</strong>
						<span class="price cart_block_tax_cost ajax_cart_tax_cost">{$tax_cost}</span>
					</div>
				{/if}
				<div class="layer_cart_row">	
					<strong class="dark">
						{l s='Total' mod='blockcart'}
						{if $priceDisplay == 1}
							{l s='(tax excl.)' mod='blockcart'}
						{else}
							{l s='(tax incl.)' mod='blockcart'}
						{/if}
					</strong>
					<span class="ajax_block_cart_total">
						{if $cart_qties > 0}
							{if $priceDisplay == 1}
								{convertPrice price=$cart->getOrderTotal(false)}
							{else}
								{convertPrice price=$cart->getOrderTotal(true)}
							{/if}
						{/if}
					</span>
				</div>

Poi, appena trovo l'altro da modificare te lo dico.

 

--------

Edit:

Non prende il colore quando è un codice?? :D

 

Comunque cancella (la numerazione delle righe non corrisponde perché ho preso solo il pezzo che mi interessava e non ho visto da quale linea partiva, sorry):

 

Dalla riga 4 alla 8 incluse
Dalla riga 21 alla 25 incluse
E nella riga 38 togli ->   {l s='(tax excl.)' mod='blockcart'}
Edited by TribalDexterD (see edit history)
  • Like 1
Link to comment
Share on other sites

Scusa il ritardo :)

 

Vai su cartella_prestashop/themes/default-bootstrap

File shopping-cart.tpl

Riga 158 -> 

 

<td colspan="3" class="text-right">{if $display_tax_label}{l s='Total products (tax incl.)'}{else} {l s='Total products'} {/if}</td>

 

Cancella quello in rosso, lasciando quello in blu

Altrimenti se vuoi togliere completamente il rigo ti basta cancellare la riga 158 completamente.

 

Fai sempre una copia di Backup!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

:)

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...