Kriter.io Posted March 5, 2015 Share Posted March 5, 2015 (edited) Hi Guys, I have Version 1.6.0.9. Everything works fine but when i make an order via front end, at the last step, i cannot see the price vat included, even if in the previous step i see it vat included. Then when i click to pay it via paypal the amount is correct and it is vat included. I think i have to set some specific view but i do not know where, can u help me to find it out. Thanks. Fabrizio P.S. the site is www.ateamstore.it Edited March 5, 2015 by falabby (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted March 9, 2015 Share Posted March 9, 2015 I know someone mentioned this bug on the forum, but sorry I don't know how to solve it. It is definitely a bug. Link to comment Share on other sites More sharing options...
erouvier29 Posted March 9, 2015 Share Posted March 9, 2015 (edited) This is an issue with the default-theme order-payment.tpl which has been corrected in a subsequent version. If you don't want to upgrade your full installation (a lot of topics to read before...), you can simply adapt the tpl from a more recent one. Here is a proposal that seems ok: replace original lines 156 to 209 with the following: {if $use_taxes} {if $total_tax != 0 && $show_taxes} {if $priceDisplay != 0} <tr class="cart_total_price"> <td colspan="4" class="text-right">{if $display_tax_label}{l s='Total (tax excl.)'}{else}{l s='Total'}{/if}</td> <td colspan="2" class="price" id="total_price_without_tax">{displayPrice price=$total_price_without_tax}</td> </tr> {/if} <tr class="cart_total_tax"> <td colspan="4" class="text-right">{l s='Tax'}</td> <td colspan="2" class="price" id="total_tax" >{displayPrice price=$total_tax}</td> </tr> {/if} <tr class="cart_total_price"> <td colspan="4" class="total_price_container text-right"><span>{l s='Total'}</span></td> <td colspan="2" class="price" id="total_price_container"> <span id="total_price" data-selenium-total-price="{$total_price}">{displayPrice price=$total_price}</span> </td> </tr> {else} <tr class="cart_total_price"> {if $voucherAllowed} <td colspan="2" id="cart_voucher" class="cart_voucher"> <div id="cart_voucher" class="table_block"> {if isset($errors_discount) && $errors_discount} <ul class="alert alert-danger"> {foreach from=$errors_discount key=k item=error} <li>{$error|escape:'html':'UTF-8'}</li> {/foreach} </ul> {/if} {if $voucherAllowed} <form action="{if $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}" method="post" id="voucher"> <fieldset> <h4>{l s='Vouchers'}</h4> <input type="text" id="discount_name" class="form-control" name="discount_name" value="{if isset($discount_name) && $discount_name}{$discount_name}{/if}" /> <input type="hidden" name="submitDiscount" /> <button type="submit" name="submitAddDiscount" class="button btn btn-default button-small"><span>{l s='ok'}</span></button> {if $displayVouchers} <p id="title" class="title_offers">{l s='Take advantage of our offers:'}</p> <div id="display_cart_vouchers"> {foreach from=$displayVouchers item=voucher} <span onclick="$('#discount_name').val('{$voucher.name}');return false;" class="voucher_name">{$voucher.name}</span> - {$voucher.description} <br /> {/foreach} </div> {/if} </fieldset> </form> {/if} </div> </td> {/if} <td colspan="{if !$voucherAllowed}4{else}2{/if}" class="text-right total_price_container"> <span>{l s='Total'}</span> </td> <td colspan="2" class="price total_price_container" id="total_price_container"> <span id="total_price">{displayPrice price=$total_price_without_tax}</span> </td> </tr> {/if} NOTA: I didn't try it with vouchers, which may cause alignment issues Edited March 20, 2015 by erouvier29 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts