apastalas Posted May 21, 2014 Share Posted May 21, 2014 (edited) Hello every one, I have to modify order-opc-new-account.tpl. Every thing looks right. I removed this code from order-opc-new-account.tpl <p class="required text"> <label for="firstname">{l s='First name'} <sup>*</sup></label> <input type="text" class="text" id="customer_firstname" name="customer_firstname" onblur="$('#firstname').val($(this).val());" value="{if isset($guestInformations) && $guestInformations.customer_firstname}{$guestInformations.customer_firstname}{/if}" /> </p> <p class="required text"> <label for="lastname">{l s='Last name'} <sup>*</sup></label> <input type="text" class="text" id="customer_lastname" name="customer_lastname" onblur="$('#lastname').val($(this).val());" value="{if isset($guestInformations) && $guestInformations.customer_lastname}{$guestInformations.customer_lastname}{/if}" /> </p> But then I'm in backoffice what I see in Orders It's posible to fix that? And how to hide country? If will be only one country so it's nessesary at all. Edited May 21, 2014 by apastalas (see edit history) Link to comment Share on other sites More sharing options...
arunadaybasu Posted November 6, 2014 Share Posted November 6, 2014 I am not expert at this, but as far as I think, the first name and last name would be primary keys in the database calls made by prestashop, so if you remove those, back office wouldn't be able to identify or fetch any information related to the guest even though the order would be placed. And to remove the country altogether, in the same file, search for "country", you will probably get a result contained inside a <div> element. Remove the entire block and you will see that option disappear. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts