joane Posted February 22, 2019 Share Posted February 22, 2019 (edited) Hola , necesito de su ayuda , no he dado con la solución La tienda no suma el iva al subtotal , por lo que solo pasa el subtotal como total . adjunto una imagen de antemano muchas gracias , saludos. Edited February 26, 2019 by joane (see edit history) Link to comment Share on other sites More sharing options...
joane Posted February 25, 2019 Author Share Posted February 25, 2019 thank you so much to @kellyriverstone !! Under themes\classic\templates\checkout\_partials\cart-summary-totals.tpl near the bottom of the file, find the {block name='cart_summary_total'} and remark out the 2 lines shown and add the 2 lines as shown below the remarked lines: {block name='cart_summary_total'} <div class="cart-summary-line cart-total"> {** <span class="label">{$cart.totals.total.label} {$cart.labels.tax_short}</span> *} {** <span class="value">{$cart.totals.total.value}</span> *} <span class="label">Total (tax + shipping incl.)</span> <span class="value">{$currency.iso_code}{$currency.sign}{$cart.totals.total.amount+$cart.subtotals.tax.amount}</span> </div> {/block} You can also move this whole block down to be under the taxes display block so that the grand total to be paid is the last thing the customer sees rather than the tax line below the total. Then in file order-confirmation-table.tpl, at the bottom of the file find the 2 lines and remarked them out as shown then add the 2 lines below: {** <td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td> *} {** <td>{$totals.total.value}</td> *} <td><span>TOTAL (tax + shipping incl.)</span></td> <td>{$currency.iso_code}{$currency.sign}{$cart.totals.total.amount+$cart.subtotals.tax.amount}</td> Hope this can help others. If anyone can pretty the code on this patch job - it would be appreciated as it doesn't look like a major rush for the Prestashop Team to address. The Forge still doesn't have it assigned for fixing and it has been 9 months since it was noted and reported. Understandably, there are still a lot of major other issues to deal with overall. Link to comment Share on other sites More sharing options...
fernandovegag Posted April 21, 2020 Share Posted April 21, 2020 Hola tengo un problema con esto. Al principio lo hace bien pero al final del todo me sale el total 0 €, y después en la línea de abajo sale bien Link to comment Share on other sites More sharing options...
joane Posted April 21, 2020 Author Share Posted April 21, 2020 10 hours ago, fernandovegag said: Hola tengo un problema con esto. Al principio lo hace bien pero al final del todo me sale el total 0 €, y después en la línea de abajo sale bien Hola , fijate en que en la vista en dónde te aparece 0 , tenga : {$currency.iso_code}{$currency.sign}{$cart.totals.total.amount+$cart.subtotals.tax.amount} que es la suma que te aparece el importe . Saludos Link to comment Share on other sites More sharing options...
fernandovegag Posted May 9, 2020 Share Posted May 9, 2020 En 21/4/2020 a las 10:26 PM, joane dijo: Hola , fijate en que en la vista en dónde te aparece 0 , tenga : {$currency.iso_code}{$currency.sign}{$cart.totals.total.amount+$cart.subtotals.tax.amount} que es la suma que te aparece el importe . Saludos Gracias por la ayuda sabes porque en el precio me sale (.) en vez de coma (,) Necesito solucionar eso. Un saludo. Link to comment Share on other sites More sharing options...
Zteem Posted July 31, 2020 Share Posted July 31, 2020 Hola chicos! Ufff, necesito ayuda con este tema. Encontré este post en el foro y pensaba que había visto la luz, pero a la hora de realizar los cambios que comentáis más arriba, la cosa sigue igual...no me suma el IVA en el total del mini cart. Mi versión de Prestashop es la 1.7.4.2, no sé si tendrá algo que ver. Gracias de antemano! 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