Potentam Posted December 8, 2010 Share Posted December 8, 2010 Am cumparat de la presta modulul one page checkout si nu stiu cum sa fac sa anulez obligativitatea de a se posta intr-o anumita casuta (zip code de exemplu), am reusit sa anulez stelutele din respectiva casuta dar nu am reusit sa fac sa nu mai fie obligatoriu sa fie completata casuta.Va rog frumos cine poate sa ma ajute.Multumesc frumos. Link to comment Share on other sites More sharing options...
costi43 Posted December 8, 2010 Share Posted December 8, 2010 din BO de la shiping>country acolo deschizi tarile si ai ned for zip code debifeaza Link to comment Share on other sites More sharing options...
Potentam Posted December 8, 2010 Author Share Posted December 8, 2010 Nu am asa ceva in Back Office Link to comment Share on other sites More sharing options...
Mamica Posted December 10, 2010 Share Posted December 10, 2010 Asta e raspunsul pe care l-am primit eu cand am avut nevoie de asta de la Peter, creatorul modululuiPostcode is mandatory for Prestashop, so the only way is to hard-code it and hide postcode fields. Here is how: Edit file /modules/onepagecheckout/opc-order.tpl, there you would find following sections. Changes are highlighted in bold.For delivery address: {l s='Postal code / Zip code' template='address'} <input type="text">* {if $one_page_checkout_settings.ex_texts} ({l s='ex.' mod='onepagecheckout'} {l s='90104' mod='onepagecheckout'}){/if} And for invoice address:{l s='Postal code / Zip code' template='address'} <input type="text" class="text" name="inv_postcode" id="inv_postcode" value="00000" />* {if $one_page_checkout_settings.ex_texts} ({l s='ex.' mod='onepagecheckout'} {l s='90104' mod='onepagecheckout'}){/if} Also you may want to remove Postcode from email templates (if you have not yet done so) Link to comment Share on other sites More sharing options...
Potentam Posted December 11, 2010 Author Share Posted December 11, 2010 L-am primit pe e-mail de la tine , multam frumos Cali. Link to comment Share on other sites More sharing options...
vietnam Posted March 29, 2011 Share Posted March 29, 2011 aveti idee cum pot face la one page checkup de la prestashop 1.4 ? Link to comment Share on other sites More sharing options...
delite Posted March 30, 2011 Share Posted March 30, 2011 aveti idee cum pot face la one page checkup de la prestashop 1.4 ? Back Office > Shipping > Countries > Romania, edit si poti dezactiva cod postal obligatoriu. 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