SERGIO_RGH Posted March 1, 2016 Share Posted March 1, 2016 (edited) Hola, Como se puede modificar la ventana emergente que sale al añadir al carrito, queria quitar la parte derecha donde sale el total, impuestos, etc y dejar la parte izquierda del ultimo producto añadido y el numero de articulos que hay en la cesta. Prestashop 1.6.1.4 Gracias! Edited March 2, 2016 by SERGIO_RGH (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted March 2, 2016 Share Posted March 2, 2016 Hola, Como se puede modificar la ventana emergente que sale al añadir al carrito, queria quitar la parte derecha donde sale el total, impuestos, etc y dejar la parte izquierda del ultimo producto añadido y el numero de articulos que hay en la cesta. Prestashop 1.6.1.4 Gracias! Módulo blockcart. Link to comment Share on other sites More sharing options...
SERGIO_RGH Posted March 2, 2016 Author Share Posted March 2, 2016 Módulo blockcart. Y que archivo... porque hay unos cuantos! Link to comment Share on other sites More sharing options...
joseantgv Posted March 2, 2016 Share Posted March 2, 2016 Y que archivo... porque hay unos cuantos! blockcart.tpl. Posiblemente lo tengas sobreescrito en tu tema. Link to comment Share on other sites More sharing options...
Enrique Gómez Posted March 2, 2016 Share Posted March 2, 2016 Seguramente puedes esconder partes mediante css y te evitas tocar el tpl. Con firebug o similar puedes ver las etiquetas css asociadas a los elementos Link to comment Share on other sites More sharing options...
SERGIO_RGH Posted March 2, 2016 Author Share Posted March 2, 2016 Solucionado: modificar el archivo blockcart.tpl del tema que esteis usando en la carpeta themes/(tema que usais)/modules/blockcart esto: <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'} {if $priceDisplay == 1}{l s='(tax excl.)' mod='blockcart'}{else}{l s='(tax incl.)' mod='blockcart'}{/if} </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> dejarlo así <!-- <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'} {if $priceDisplay == 1}{l s='(tax excl.)' mod='blockcart'}{else}{l s='(tax incl.)' mod='blockcart'}{/if} </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> --> Link to comment Share on other sites More sharing options...
Recommended Posts