Marshy Posted February 25, 2012 Share Posted February 25, 2012 Could anyone tell me which lines to remove from : themes / order-opc-new-account.tpl in order to simplify checkout. I want to remove the 'birthday' field which I think is lines 136-171 and the 'company' and 'VAT number' field, lines 182-189 Just want to confirm that I'm removing the correct lines. Thanks in advance. Link to comment Share on other sites More sharing options...
mori9999 Posted February 26, 2012 Share Posted February 26, 2012 there should be multiple location for the same field "dirthday". the line number could be different based on the version of your PrestaShop. And instead of removing the lines, I suggest to hide them by adding following code to that block. style="display:none;" Otherwise, you may encounter some errors. Link to comment Share on other sites More sharing options...
Marshy Posted February 26, 2012 Author Share Posted February 26, 2012 Thanks for your reply. I have managed to remove the Birthday block, but am struggling to remove VAT number block. (See code below) When I remove it, it messes up the checkout page. <div id="vat_number_block" style="display:none;"> <p class="text"> <label for="vat_number">{l s='VAT number'}</label> <input type="text" class="text" name="vat_number" id="vat_number" value="{if isset($guestInformations) && $guestInformations.vat_number}{$guestInformations.vat_number}{/if}" /> </p> Thanks again Regards Tony. Link to comment Share on other sites More sharing options...
Guest Posted April 5, 2012 Share Posted April 5, 2012 I am not wrong there's a way to disable the VAT in BO! Link to comment Share on other sites More sharing options...
Recommended Posts